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