Hello boss: Here are some details of my problem:
In my Geometry Shader, i have some codes to generate objects in real time (i.e. triangles, these trangles constitute a surface). With VS and FS, i can set the gl_FragColor as i like.. But when applying a texture to the objects which are generated in realtime... it doesn't work as i wish... I guess that is the realtime generated object does not have right UV coordinates...like osg::box...or osg::sphere... is there a way of setting box mapping UV to the realtime generated UV? Thank you! Cheers, Nan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39029#39029 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

