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 f7447a381..6e97a346c 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 @@ -798,7 +798,8 @@ namespace NL3D ss << "void main( void )" << std::endl; ss << "{" << std::endl; - ss << "position = vposition;" << std::endl; + ss << "vec4 eye = vposition;" << std::endl; // FIXME + ss << "vec4 position = vposition;" << std::endl; // FIXME ss << "gl_Position = modelViewProjection * position;" << std::endl; ss << "bump0ScaleBias = bumpMap0Scale;" << std::endl; ss << "bump1ScaleBias = bumpMap1Scale;" << std::endl;