0
Виконано

"Always Visible" - shader possible?

grmpf 10 років тому оновлено Freya Holmér (Developer) 10 років тому 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

Відповідь

Відповідь
Виконано
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.
Відповідь
Виконано
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.