Jump to content

how can i get charactor's depth texture


photo

Recommended Posts

Posted

i only want to get some object's depth texture (but not all objects) in a scene. how can i do.

Posted

as i konw the Auxiliary buffer will affect the charactor's color, and the Auxiliary buffer will use depth buffer, when an object that i don't want to get the depth texture come before the charactor, it will cover the charactor, cause i can't get the depth texture.

how can you solve these problem?

Posted

as i konw the Auxiliary buffer will affect the charactor's color, and the Auxiliary buffer will use depth buffer, when an object that i don't want to get the depth texture come before the charactor, it will cover the charactor, cause i can't get the depth texture.

how can you solve these problem?

Could you describe in more detail what exactly you want: is it info from the depth buffer? And what are you going to do with it (in scripts or in shaders)?

×
×
  • Create New...