diff --git a/code/nel/src/3d/driver/OpenGL3/driver_glsl_shader_generator.cpp b/code/nel/src/3d/driver/OpenGL3/driver_glsl_shader_generator.cpp index 2783928cd..0f485d84f 100644 --- a/code/nel/src/3d/driver/OpenGL3/driver_glsl_shader_generator.cpp +++ b/code/nel/src/3d/driver/OpenGL3/driver_glsl_shader_generator.cpp @@ -29,21 +29,21 @@ namespace } enum AttribOffset - { - Position, - Weight, - Normal, - PrimaryColor, - SecondaryColor, - Fog, - PaletteSkin, - Empty, - TexCoord0, - TexCoord1, - TexCoord2, - TexCoord3, - TexCoord4, - TexCoord5, + { + Position, + Weight, + Normal, + PrimaryColor, + SecondaryColor, + Fog, + PaletteSkin, + Empty, + TexCoord0, + TexCoord1, + TexCoord2, + TexCoord3, + TexCoord4, + TexCoord5, TexCoord6, TexCoord7, NumOffsets @@ -201,6 +201,7 @@ namespace NL3D switch( material->getShader() ) { case CMaterial::Normal: + case CMaterial::UserColor: generateNormalPS(); break; }