0
Не ошибка

Double sided shader error

Jairo Baldán 10 лет назад обновлен 10 лет назад 7
Hi Joachim, i have a odd artifact, if i go up the grass pass from bad to good, and when i'm on the top of the mountain i can see all the grass good, but if i'm on the bottom of the mountain there is like a invisible line which "split" the colors.

The shader is very simple as you can see

Ответ

Ответ
Не ошибка
Ah, hehe, I missed that too :)
На рассмотрении
Are you using Unity's terrain object? If yes, does it happen if you place grass quads manually?
No, it's a voxel terrain, and yes i think they are quads, they are also merged in groups
Do you get the same issue if they are not marked as static?
Also, are you running deferred or forward rendering, and does switching it make it better/worse?
I'm using Unity3D Indie so forward render, i will try the static thing :) 
Okey my bad i put the node connected to a normal and i don't know why, now it works perfect, apologies, you can close it and mark it as no error.
Ответ
Не ошибка
Ah, hehe, I missed that too :)
Okey sorry for reopen this but the issue is still there, i got confuse because i change the material.

The shader is now without the normal input and i still have that error i attach a screenshot for a better view of the issue.

With other shader it works perfect, it's very weird.



Additional info: It only happens in double sided mode.

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