1
Graphics / SFML and SF::Text and GLSL - not showing color on font only primitive??
« on: April 02, 2016, 02:19:29 pm »
Hello I'm working on a titlescreen renderer
and I wanted to know why when trying to use GLSL "yes I am actually using GLSL"
on my sf::text object that is drawn too the window :
window.draw(text , &shader);
that it wouldn't put any GLSL on the fonts only the vertex primitive.
What would be the reasons for this circumstance?..
Do I need to get the texture of the font if so can you show me how in the most simplest way possible ?..
Do I need too do some kind of mix and blending weirdness in GLSL?
What do I need to do so that I can perform visual effects with shaders
on the text and preferably any other object in the future thank you .
Id really appreciate it if there was more documentation on sfml with shaders who ever works on that : D.
and I wanted to know why when trying to use GLSL "yes I am actually using GLSL"
on my sf::text object that is drawn too the window :
window.draw(text , &shader);
that it wouldn't put any GLSL on the fonts only the vertex primitive.
What would be the reasons for this circumstance?..
Do I need to get the texture of the font if so can you show me how in the most simplest way possible ?..
Do I need too do some kind of mix and blending weirdness in GLSL?
What do I need to do so that I can perform visual effects with shaders
on the text and preferably any other object in the future thank you .
Id really appreciate it if there was more documentation on sfml with shaders who ever works on that : D.