Jump to content

Orthographic ZDepth with Vray


markfenollar
 Share

Recommended Posts

Hi everybody.

 

I'm making an isometric adventure game with pre-rendered backgrounds and 3D characters. I'm struggling to find a way to render an orthographic depth pass in vray to occlude the 3D characters as they pass behind pre-rendered objects.

 

I believe this is the technique used for Pillars of Eternity by Obsidian.

 

Any help would be greatly appreciated!

 

Edit: Apologies, I meant to post this in the VRay forums

Edited by markfenollar
Link to comment
Share on other sites

You could try doing a separate render with a material over-ride. This could just be a VRay Light material (adjust for exposure) with a falloff map in the diffuse. You can set the falloff map to use "Distance" in the z-axid with a near and far value and two colours (which, conveniently, default to black and white). I believe this will work with an orthographic view/camera.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...