Monday, November 28, 2022
HomeGame DevelopmentUnity Shader Graph Alpha Clip Threshold not performing as anticipated

Unity Shader Graph Alpha Clip Threshold not performing as anticipated


EDIT: I’ve tried opening the shader in an empty mission to check if there have been some unusual settings within the mission, however it’s the identical challenge.

I’m creating an influence bar which wipes from left to proper. I’ve created it earlier than very merely in a earlier mission however on this new mission the alpha clip threshold worth doesn’t correspond to the quantity of alpha within the texture.

I’ve taken the textures instantly from the outdated mission and even tried taking the precise shader graph from the outdated mission however the threshold nonetheless doesn’t work prefer it does within the outdated mission. So far as I can see all settings are the identical throughout each initiatives. Is there something apparent beneath or something I needs to be in search of?

The outdated mission is v2021.1.22f1. The brand new mission is v2021.3.5f1.

You possibly can see the graph beneath.

enter image description here

When the AlphaWipe worth is 0.5, the quantity of the feel seen needs to be half nevertheless it appears to be round 0.2.

enter image description here

At worth 0.8, it appears to be like to be about half.

enter image description here

Worth of 1 does fill the feel.

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments