How to get a simple X-Ray Vision (ZBuffer override)?
Hi, I have a car model with an engine inside. Now I want to create a simple x-ray vision where you can see the engine shining through the car (without the car being Transparent).
The black box would be the car's chassis and inside is the engine placed(green sphere)
Now I want to let the engine be drawn over the chassis like this:
As a programmer I would say i have to override the Z-Buffer to archive a changed drawing-oder but does anyone here know a best-pratice solution for this effect?
Is it possible to access the Z-Buffer without writing custom shaders?
Thanks to anyone with an idea for this :)
Make a new material and assign it to the green sphere. Open the material, and when no nodes are selected you'll see the basic material properties in the Details panel. Under Material, set the Blend Mode to Translucent. Under Translucency, check Disable Depth Test. Now, any object with this material will draw in front of other objects. You can blend them into the scene by wiring one of the Depth nodes into opacity (though this is a discussion for another topic).
answered Apr 30 '14 at 07:26 AM
How I could get it above everything, but below only the character? Like this:
answered Jun 06 '14 at 09:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here