- Home /
Question by
JEulerium · Oct 13, 2015 at 04:06 PM ·
shaderrenderinggraphicstransparency
How to make transparent only colliding part of object?
Hi! I want to make something like an x-ray border and when some object (sprite) falls from the sky through that border, it will become transparent on colliding part. For example, now I'm just using the alpha of the colliding object to make it fully transparent, but I need more complex effect. Here is the screen:
I want to make the black cube inside sprite transparent at the position of the green bar (and green bar must be transparent at the cube position)
2015-10-13-23-05-26-начало.png
(1.4 kB)
2015-10-13-23-57-25-начало.png
(2.7 kB)
Comment
Your answer
Follow this Question
Related Questions
URP – Order Independent Transparency 0 Answers
Cubemap on alpha texture? 0 Answers
How do I draw lines on the edges of meshes? 1 Answer
Unity 5 Custom Deferred shader 0 Answers
Shader Question about Alpha 0 Answers