How to render scene to two textures with depth kept ?

Software: Away3D 4.x

laoyu2003, Newbie
Posted: 03 July 2013 08:28 AM   Total Posts: 14

Hi there,
I need to render a scene to two textures(with same size),e.g. Tex1 and Tex2, part of scene objects goes to Tex1 and part to Tex2, and all depths in the output textures are correct, how to setup?

I tried, but the depth buffer lost when I render Tex2, even in case I do not clear context, or only clear color part of the context.

Anybody pls give me an answer.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X