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

Author Topic: [Solved] More Advanced PostFX(Shading) Tutorial  (Read 2451 times)

0 Members and 1 Guest are viewing this topic.

heishe

  • Full Member
  • ***
  • Posts: 121
    • View Profile
[Solved] More Advanced PostFX(Shading) Tutorial
« on: July 07, 2008, 05:10:26 pm »
I searched on the internets but basically all the tutorials about GLSL i found did help me little to nothing about understanding how to write shaders.
Like, in no tutorial i found something about the "texture" datatype and all the tuts say you need a void main() function inside your sfx file.

i guess those things are the little syntax changes you've made with sfml and it would be great if you would go into that a little more.

It would be very helpful if you would exactly explain some of your sample shaders (for the PostFX sample) work in some new tutorials, like.

lines like this:
postfxobject.SetTexture("framebuffer",NULL);

confuse me and i don't know why there is a non-existing texture assigned to the "framebuffer" texture.

greetings,
travis

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
[Solved] More Advanced PostFX(Shading) Tutorial
« Reply #1 on: July 07, 2008, 06:09:55 pm »
Well, actually the post-fx tutorial is totally screwed up, probably since a long time.

Damn, nobody ever noticed it :(
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
[Solved] More Advanced PostFX(Shading) Tutorial
« Reply #2 on: July 07, 2008, 06:28:48 pm »
Post-fx tutorials are back, thanks to Google cache.

Should be clearer now ;)
Laurent Gomila - SFML developer

heishe

  • Full Member
  • ***
  • Posts: 121
    • View Profile
[Solved] More Advanced PostFX(Shading) Tutorial
« Reply #3 on: July 07, 2008, 08:16:13 pm »
Quote from: "Laurent"
Post-fx tutorials are back, thanks to Google cache.

Should be clearer now ;)


oh, so they were REALLY screwed up. i reread them like 5 times and wondere where my english knowledge went.

by the way, sorry for posting in the wrong forum.

the new (old) tutorial is great! thanks

 

anything