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

Author Topic: Effects error msg to std::cerr that I don't understand!  (Read 3269 times)

0 Members and 1 Guest are viewing this topic.

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Effects error msg to std::cerr that I don't understand!
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Effects error msg to std::cerr that I don't understand!
« Reply #1 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 ;)
Laurent Gomila - SFML developer

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Effects error msg to std::cerr that I don't understand!
« Reply #2 on: April 28, 2009, 04:43:40 pm »
Thanks,I mean damit,I wish I wasn't so damn poor.

Sirt.

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Effects error msg to std::cerr that I don't understand!
« Reply #3 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???

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Effects error msg to std::cerr that I don't understand!
« Reply #4 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.
Laurent Gomila - SFML developer

 

anything