0
На рассмотрении

How can I change "_Cutoff" default value in shader?

박종우 9 лет назад обновлен Freya Holmér (Developer) 9 лет назад 3

If I select Blend Mode Alpha Blended, "_Cutoff" value is added by 0.5.

I want to change "_Cutoff" default value from 0.5 to someone.

What I want to do is just clipping only 0 of alpha value.

How can I do this without extra arithmetic?

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

It's not possible without doing it with code or manually editing the shader at the moment

Ok, I see.

Then how can I edit code manually? When I open shader in Shader Forge after I edit code manually, my code is disappeared because Shader Forge overwrite it.

So is there any keyword to prevent this?

There's no way to prevent SF from overwriting the code at the moment I'm afraid

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