[osg-users] override the texture with the gl_fragColor of fragment shader and save it

Yu Qi yuqicxy at foxmail.com
Sun Apr 14 01:31:50 PDT 2019


Hi,
 Is it possible to override the texture with the gl_fragColor of fragment shader and save it to disk?

 For example, The shadow of static Model.In 3dmax,The shadow 's render to second texture with new texture coordinate.and then,re-blend the textures when using.

 I have no hint about this idea,and have no noun to google.

 If you have any experience about this,plz tell me some hints.
Thank you!

Cheers,
Yu

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







More information about the osg-users mailing list