Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: PostFX does not work  (Read 2033 times)

0 Members and 1 Guest are viewing this topic.

Wurstinator

  • Newbie
  • *
  • Posts: 33
    • View Profile
PostFX does not work
« on: July 07, 2010, 05:30:28 pm »
Hi,
I've got a problem when using the GLSL feature.
I have created a test project which shows a random number of red semi-transparent circles and on top of that a Sprite.
http://img580.imageshack.us/img580/8747/screenbw.png

But now I tried to create and use a shader (grayscale) but it doesn't work.
My code: http://wurstinator.pastebin.com/zKk6xaNa (I know it's messy but it is just a test project :)
My shader: http://wurstinator.pastebin.com/b3pWADCd

When I apply the shader the circles are still a bit red:
http://img696.imageshack.us/img696/7233/screenkopie.png

Hope someone can help =(

/edit: I'm using version 1.6

/edit 2: Solved it, seems like the alpha value has to be 1.

Hugo

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
PostFX does not work
« Reply #1 on: July 10, 2010, 06:42:37 am »
Nice. ,mind posting the effect code on here? I have to learn this whole"post fx" thing cause I am a dreamer with dreams, one of them is upload a bunch of cool post fx effect files on to sfml.org