0
Аяқталған

"Always Visible" - shader possible?

grmpf 10 year бұрын updated by Freya Holmér (Developer) 10 year бұрын 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

Answer

Answer
Аяқталған
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.
Answer
Аяқталған
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.