Could someone point me in the right direction? -- Depth Compositing for pre-rendered scenes.

I’m currently playing with a depth compositing shader with some info on it which can be found here. I can’t seem to configure it to work, but that being said, I’m a total noob when it comes to unity. My last game design projects were in Irrlicht and Ogre over a decade ago and now I’m seeing what’s available through newer engines. No matter what I seem to do I can’t seem to get the player model in the scene, I figured it was an occlusion issue with the cameras, but no configuration has worked for me. Here’s a short video I took to show what I’m running into.

I initially found this shader in this video.

'm playing with a couple of different techniques to create pre-rendered scenes before I decide on one. The next thing I try would be similar to what’s done in Pillars of Eternity with 4 different layers. You can watch a video of it being done here in the unity engine, and you can read about it in his blog post here. I’ve spent the last few months working on creating 3D art to match the aesthetic i’m looking for. Now it’s time to implement some variety of technique for pre-rendered scenes so I can get the ball rolling on a personal project. Any help on making this work in Unity would be a godsend.

This is a graphics problem, not a design problem.

1 Like