0
Ukończony

"Always Visible" - shader possible?

grmpf 10 lat temu Ostatnio zmodyfikowane przez Freya Holmér (Developer) 10 lat temu 1
i wanted to ask if its possible to create a shader with shaderforge to achieve a similar result like this image-effect:

https://www.assetstore.unity3d.com/en/#!/content/3...

if yes, just a hint into the right direction would be awesome!
thanks guys, cheers

Odpowiedź

Odpowiedź
Ukończony
Sort of, yes, if you mix around with the Ztest / Depth test setting, you may be able to achieve what you want. But it often requires multi-pass settings, which you can't do in SF. You can, however, have two meshes in the same location, with different shaders.
Odpowiedź
Ukończony
Sort of, yes, if you mix around with the Ztest / Depth test setting, you may be able to achieve what you want. But it often requires multi-pass settings, which you can't do in SF. You can, however, have two meshes in the same location, with different shaders.