Hi,

I am beginner in the OpenSceneGraph in OpenGL. I have made a program for 
Projecting textures using fragment and vertex shaders. The problem is that 
texture is projected throughout the object. 
I have an idea to deal with this by using shadows (depth) map. The position of 
light source is the same like the position of the projector, which I used for 
Projecting texture.
The idea is to disguise (mask) all the textures of the object that are in 
shadow. Actually, I want to projects a texture only to do visible part of 
object (at the time of shooting).
How to create a shadow (depth) map in OSG and send it to OpenGL sheader? How to 
mask unwanted texture on 3D model?

Thank you!

Cheers,
Mateo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51619#51619





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to