> On 18 Dec 2017, at 11:51, Robert Osfield <[email protected]> wrote:
>
> if (modified)
> {
> dirtyAttachmentMap();
> }
Thanks Robert,
Unfortunately this line is the part that I can’t figure out how to replicate in
OSG-3.2 - resizing the textures is easy enough and I’ve already been doing
that, but the attachment-map-dirty mechanism seems to go deeper into the render
pass system.
I did try actually removing and re-adding the attachments to the Camera, to
trigger the same work as when the attachments are initially made. That compiles
but doesn’t make any difference alas.
(Something like….)
camera->detach(osg::Camera::COLOR_BUFFER);
camera ->attach(osg::Camera::COLOR_BUFFER, _fboTexture);
Oh well, thanks for the suggestion anyway.
James
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org