Changing the drawlist of a material should be as easy as setting the
drawList member variable, but I doubt that's the best way to achieve
what you need. It sounds like you want a rendergraph more like the
one in the hud-2d-overlay.html sample except you want to send the
overlay to the background. If that's what you need, I suggest making
separate drawpasses with a clearbuffer between them in priority, set
the clearbuffer's clearColorFlag to false. Then the clear buffer will
only clear the depth and the second draw pass will draw in the
foreground. To send it to the background, exchange the priorities of
the draw passes. Tell me if I'm way off; maybe I don't understand
what you're trying to do.
--pt
> --
> You received this message because you are subscribed to the Google Groups "O3D-discuss" group.
> To post to this group, send email to o3d-d...@googlegroups.com.
> To unsubscribe from this group, send email to o3d-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/o3d-discuss?hl=en.
>
>