Hi,

I tried to load some models and display it with my home-made shader.

It works well with a lot of model, but no with model which use environment 
mapping texture.

I don't want to write a special shader for these objects, so is there any way 
to convert environment mapping to texture-coords mapping ?

I think about a visitor which is applied on all geometry/stateset (I know how 
to do that, I use it for other texture operation) but I don't know how to 
generate regular texture coords equivalent to the environment mapping

Thank you!

Cheers,
Aurelien

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





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

Reply via email to