SFML community forums

Help => Graphics => Topic started by: Sirt on April 28, 2009, 02:38:31 pm

Title: Effects error msg to std::cerr that I don't understand!
Post by: Sirt on April 28, 2009, 02:38:31 pm
I'm totally new to the world of GLSL,
and confused...anyway after running the post effects tutorial sample 'colourise',which kinda works I guess?,I get this error msg to the background console (while the program is running)...

Impossable to use texture "framebuffer" for post effect :
all available texture units are used

Can anyone enlighten me please?

This is the colourise tutorial in the post-fx tutorial section on this site.
Title: Effects error msg to std::cerr that I don't understand!
Post by: Laurent on April 28, 2009, 04:32:18 pm
It means your graphics card has only one texture unit for shaders (i.e. you can only use one image at a time in a post-fx), which really sucks ;)
Title: Effects error msg to std::cerr that I don't understand!
Post by: Sirt on April 28, 2009, 04:43:40 pm
Thanks,I mean damit,I wish I wasn't so damn poor.

Sirt.
Title: Effects error msg to std::cerr that I don't understand!
Post by: Sirt on April 29, 2009, 06:47:05 am
One other question then,

Is there any point using post effects if I can only utilise one image.
What could I do with one image,anything remotely eye catching???
Title: Effects error msg to std::cerr that I don't understand!
Post by: Laurent on April 29, 2009, 07:48:33 am
Almost all post-fx of the Post-Fx sample of the SDK. I think only the "wave" effect uses a second image.