I have an image buffer that is written to and read by shaders every frame.
I need to clear the image on the GPU back to a starting value as efficiently as possible before the shaders run. It seems I could use the glClearTexImage function. Do I need to place this in a DrawCallback or is there a more appropriate location for this? Thanks, Rob -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/5f976679-8301-4387-a4fe-907742e56192%40googlegroups.com.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org