Hi Aurelien, On 22 July 2013 16:00, Aurelien Albert <[email protected]> wrote:
> Sounds like the best way to go right now... but how to manage the > READ_DRAW target ? > > Is it possible to use : > member=0 => READ_DRAW > member=1 => READ > member=2 => DRAW > > I think this will create garbage in the StateAttribute stack when : > - the RenderStage apply a FBO as READ => member = 1 > - a FBO state attribute is applied => READ_DRAW => member = 0 Um... not too elegant. Perhaps one could just have READ and DRAW mapped to 0 and 1 respectively, then assign a READ_DRAW FBO to both slots? All pretty hacky though. Robert.
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
