- Home /
Question by
Tabu · May 20, 2011 at 09:40 PM ·
cameraobjecttransparency
Transparency cone between object and camera
I am looking for an "easy" way to make a cone that makes parts of objects between the camera and player transparent. I have been googeling around for an answer, but most questions/answers is about how to make a complete object transparent.
Is this possible with a projector, or does it need a special shader? Any ideas are welcome! :) Thanks for your time.
Comment
Answer by flaviusxvii · May 20, 2011 at 09:42 PM
Well, you could render some geometry ONLY to the depth buffer. Any subsequent drawing would get clipped if it fell within the 'cone'.
hmmm.. that sounds rather advanced, but I will give it a try, and see if I can find someting on the topic. Thanks :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612081910im_/https://answers.unity.com/themes/thub/images/avi.jpg)