0
Lõpetatud

"Always Visible" - shader possible?

grmpf 10 aastat tagasi uuendaja Freya Holmér (Developer) 10 aastat tagasi 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

Vasta

Vasta
Lõpetatud
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.
Vasta
Lõpetatud
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.