- Home /
Rendering object that is partially obscured by another
Hello guys.
I work on a VR object and i am making object handles for moving, rotating and scaling.
Currenty i am using two cameras and i am rendering the object handles always on TOP for easier use (if object is scaled way too big and obscures the handles, for example)
I want to make the object handle partially transparent when is obscured by the object> NOTE: For the object handle i am using Sprite Renderer, so it is not a texture on a mesh.
Example:
Is there any easy way to do this? as the project time i have left is not so much i cant spent too much time writing shaders ? Is there any shaders free to use to achieve this effect or any other approach that is achievable within few hours ?
thanks !
Answer by Doctor_ED · Jun 05, 2019 at 10:16 AM
I think this might be helpfull :
https://answers.unity.com/questions/1000286/render-a-object-on-top-of-another.html
Hmm. Thanks. But i forgot to mention that i am using sprite renderer for the object handles, so i cant really replace their materials shader :(
Your answer
Follow this Question
Related Questions
Standard shader's Fade rendering mode won't allow full opacity with a textured material 0 Answers
Transparency cutting opaque mesh 0 Answers
Transparency Sort Axis on Y with Pivot instead of Center of object? 1 Answer
Fading in/out SVGs without showing the half-transparent SVG-layers 1 Answer
Altering Material through Script Causes Transparent Rendering Error - C# 1 Answer