SFML community forums
Help => Graphics => Topic started by: andariel97 on July 06, 2017, 03:49:48 pm
-
I need to get a texture from a sf::Text object then mix it with another texture in a GLSL Shader. How can i do that?
-
Use the getTexture() function of the sf::Font associated with the text.
https://www.sfml-dev.org/documentation/2.4.2/classsf_1_1Font.php#a887368a4e6a3dfa32dea89d2af315951