Becky wrote:
> Would someone tell me how to access all the vertexes of a 3d model in the 
> vertex shader? 


Hi Becky!

You would need to define a mapping from vertex numbers to st coordinates,  
then store the position data in a texture according to that mapping and provide 
that texture via a sampler uniform.
.

Best regards,
S.

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





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

Reply via email to