|
hi all, i'm trying to do this kind of shader, some kind of blending to background without rendering any object behind the one with this shader, is this possible? i put some screenshots of the effect i want and the effect i have. first i took this shader from the invaders project of Eric5h5 Shader "Alpha/SelfIllum" { } i tried to modify it without success, this is the effect i have:
and this is the effect i tried to achieve:
is this even possible ? thanks for your answers, basically im trying to do some kind of "fake destructible 2d terrain" as the one in the Eric5h5's invaders project was great but for phone seems to be a bit slowly
(comments are locked)
|



Do you mean, the transparent part of your object (sphere) would have it ignore any objects behind it, and just render the background there?
yes, is this possible? thank for your answer
i found this http://www.unifycommunity.com/wiki/index.php?title=DepthMask , i think that's enough for now, if anyone, if anyone has a better solution please tell me !
You need to use a better background for your terrain; look at the ratty outline.
I think taht it is closeup :)