0
Under review

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

박종우 8 years ago updated by Freya Holmér (Developer) 8 years ago 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?

Under review

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