Using an if statement in a material fragment script

I think I’ve seen others do this and share their solutions on the forum. @Pawel did it for his game Witchcrafter: Empire Legends - #58 by Pawel

It is GLSL

2 Likes