GLSL differences
Posted: Thu Dec 10, 2009 4:03 pm
If you are using shaders then beware of differences between nVidia and ATI in GLSL-syntax.
From: http://www.opengl.org/wiki/GLSL_:_common_mistakes
From: http://www.opengl.org/wiki/GLSL_:_common_mistakes
nVidia drivers are more relaxed. For example:
float myvalue = 0;
This is not legal according to the OpenGL Shading Language specification, due to the inability to automatically convert from integers (numbers without decimals) to floats (numbers with decimals). Use 0.0 instead.