1
Graphics / Re: GLSL 430 gl_TexCoord
« on: April 20, 2016, 06:17:19 pm »
It's not true?
Then where are defined default shaders?
EDIT:
src\SFML\Graphics\Shader.cpp, line 857, function Shader::bind()
If you don't bind your custom shader SFML sets fixed pipeline rendering.
Then where are defined default shaders?
EDIT:
src\SFML\Graphics\Shader.cpp, line 857, function Shader::bind()
if (shader && shader->m_shaderProgram)
{
(...)
}
else
{
// Bind no shader
glCheck(GLEXT_glUseProgramObject(0));
}
{
(...)
}
else
{
// Bind no shader
glCheck(GLEXT_glUseProgramObject(0));
}
If you don't bind your custom shader SFML sets fixed pipeline rendering.