Hi all,

I am currently having trouble with a simple reflection shader and I hope
someone could help me. You can find attached :

- C++ code setting the scene, the shaders and a RTT camera.
- Shaders (vertex and fragment) used to correctly project the reflected
texture produced by the RTT.
- A screenshot showing my problem...

Currently everything works fine if I use 256x256 or 512x512 textures for the
RTT, but with bigger textures, the reflection starts to be erroneous (as we
can see in the screenshot).

Anyone have any idea on what I am doing wrong ? I spend a full day trying to
figure out and I really start to be out of idea. :/
Thanks in advance for any help !

-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to