1
DotNet / Re: SFML 2.0 Using shaders together with rendering text
« on: June 19, 2012, 09:45:19 pm »
Yeah, It was partly my gut feel too that there must be some sort of conflict in the texture index seeing that there is no way to set which index you want to bind the texture to. If you run the code, you will notice that the texture shows but only for a split second. So it seems that the draw call to render the text does something to the underlying render states.
At least there is a way to work around it, but the problem is if we extend the shader code to use gl_TexCoord[1..n].
At least there is a way to work around it, but the problem is if we extend the shader code to use gl_TexCoord[1..n].