Try to copy the animated kart mesh.
Merge branch 'master' into copy_kart_mesh
Changed line endings.
Allow animated meshes in LOD, fixes #1747
Weight sample in importance sampling
No need to signal the shader the AMD_vertex_shader_layer is enabled
Factorize DiffuseIBL and SpecularIBL
Cleanup tonemap shader
Source DiffuseIBL algorithm
Fix #1761 (Players tab in Options autofocus issue).
Moved cloning of animated mesh into CSkinnedMesh (to get access to
private members). Fixed animation bug, caused by copying already
animated vertex position from LocalBuffer to Weight (so they were
then later animated again). Might need a better solution to avoid
copying mesh twice (LocalBuffer = Weight, followed by Weight = LocalBuffer).
Use texture buffer instead of uniform for samples

Should fix nvidia glsl error
Fix Importance sampling
Tweak IBL
Unbind everything before deleting
Minor performance optimisations.
Fixed line endings.
Fixed ref-counting.
Merge remote-tracking branch 'origin' into copy_kart_mesh
Clamp SpecularIBL value on positive range