SFML community forums

Help => Graphics => Topic started by: heishe on July 07, 2008, 05:10:26 pm

Title: [Solved] More Advanced PostFX(Shading) Tutorial
Post by: heishe 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
Title: [Solved] More Advanced PostFX(Shading) Tutorial
Post by: Laurent 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 :(
Title: [Solved] More Advanced PostFX(Shading) Tutorial
Post by: Laurent on July 07, 2008, 06:28:48 pm
Post-fx tutorials are back, thanks to Google cache.

Should be clearer now ;)
Title: [Solved] More Advanced PostFX(Shading) Tutorial
Post by: heishe 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