Welcome, Guest. Please login or register.

Author Topic: JSFML Text with texture as a background  (Read 1025 times)

0 Members and 1 Guest are viewing this topic.

cx3

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
JSFML Text with texture as a background
« on: April 08, 2015, 10:20:51 am »
Hello World :)

I am trying to fill text with rendered gradient or with loaded texture. It does not want to work any manner I combine since several hours. With/without BlendMode, with/without rendering to RenderTexture, manipulating with pixels gives me all black texture (and other chochlics)... I tried at last a code with shaders with little changes... It does not like me ;] What is the best (fastest) method of binding texture to a text object?  :-X

liesard

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: JSFML Text with texture as a background
« Reply #1 on: April 17, 2015, 08:16:01 pm »
Wait, do you want an image behind the text or to have the text itself be filled with an image?
Also, join the IRC channel
They might be able to help better than here

 

anything