markfenollar Posted August 10, 2014 Share Posted August 10, 2014 (edited) 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 August 10, 2014 by markfenollar Link to comment Share on other sites More sharing options...
DanGrover Posted August 11, 2014 Share Posted August 11, 2014 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 More sharing options...
markfenollar Posted August 11, 2014 Author Share Posted August 11, 2014 That works! You're amazing, can't thank you enough. I've been trying to solve that for a while. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now