+1
На рассмотрении

SSAO and Opacity Clip

SilverTM 9 лет назад обновлен 9 лет назад 4

Hello

Please tell me how to make the work of the standard assets SSAO, together with transparent shader.
with opacity everything works as it should, as soon as I add transparency ssao off. With standard shaders everything works as expected.

Image 543

Image 544

Ответ

Ответ
На рассмотрении

There's a longstanding issue of vertex offset and clipping needing custom depth rendering for post effects.

It can sometimes be fixed using specific naming and node setups though, as per this comment: http://shaderforge.userecho.com/topics/693-alpha-clip/#comment-2666

I have the similar problem with opacity clip and standart SSAO. May be I do somthing wrong. Is there a way to solve this with help of shader properties or it's a bug?

Ответ
На рассмотрении

There's a longstanding issue of vertex offset and clipping needing custom depth rendering for post effects.

It can sometimes be fixed using specific naming and node setups though, as per this comment: http://shaderforge.userecho.com/topics/693-alpha-clip/#comment-2666

It is strange. But when I replaced a part of nodes by code node. Wich creates a mask for drawing wood scratches, problem disappeared.But in the fact nothing haven't changed in shader logic. It's just like a miracle because I can't explane it.

Yes. It's like magic, but really it works.

Сервис поддержки клиентов работает на платформе UserEcho