121
Graphics / [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
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