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

2019-04-14 Thread Yu Qi
Hi, I seem to get the hint. In OpenGL Referenceļ¼Œthe Image Load Store and Shader Storage Buffer(SSBO) support it. Thank you! Cheers, Yu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75834#75834

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

2019-04-14 Thread Yu Qi
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