Currently, I have this code.
I try to do a simple operation : invert Red and Green color components, but I
get only a black screen.
Could anyone help me ?
Thanks.
Code:
// Configure Camera
p_osgCamera-setRenderTargetImplementation(osg::Camera::FRAME_BUFFER_OBJECT);
Ok, I found the solution...
An error in my shader code
:-*
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43164#43164
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
After 2 days playing with osgPPU exmaples, I stil did not succeed to do a very
basic PPU unit...
Is there any very basic example for osgPPU ?
Something like :
* create PPU
* add PPU unit which use a shader for a very basic operation (like switch red
and green color components)
* attach
3 matches
Mail list logo