Follow

this problem actually broke my brain, but it works! compositing pre-rendered and 3d objects where the pre-rendered scene does not include z-data, but *does* include world-y. it's possible to derive depth using the view and clip matrices and their inverses, world-y, and just set it explicitly in the shader and have mixed 2d/3d scenes work out O_O

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Frog Camp

Just a place for frogs on the internet