[fixed] bug relating to incorrect GLSL sampler2D handling
Posted: Sun Apr 08, 2012 3:30 pm
Where should SVN bugs be posted, as the "latest SVN bugs" looks to have been abandoned.
Anyway, GLSL code that works under 1.7.2 breaks under SVN 4111.
Under SVN 4111 the GLSL function texture2D only ever returns the first of 3 textures of an ISceneNode object regardless of the index parameter passed.
3 very different textures are set to the materials, but the following returns only the first texture:-
gl_FragColor = texture2D(t1, originalCoord);
gl_FragColor = texture2D(t2, originalCoord);
The c++ project code is the same, just compiled for 1.7.2 standard release, and for SVN 4111.
Is this a known issue on SVN 4111?
Anyway, GLSL code that works under 1.7.2 breaks under SVN 4111.
Under SVN 4111 the GLSL function texture2D only ever returns the first of 3 textures of an ISceneNode object regardless of the index parameter passed.
3 very different textures are set to the materials, but the following returns only the first texture:-
gl_FragColor = texture2D(t1, originalCoord);
gl_FragColor = texture2D(t2, originalCoord);
The c++ project code is the same, just compiled for 1.7.2 standard release, and for SVN 4111.
Is this a known issue on SVN 4111?