Step function (HLSL)

 step(edge,x)

 

this will return 1 if the 2nd argument (x) is greater or equal to  the first (edge). 0 is returned if this is false.

Comments

Popular posts from this blog

Unity's "new" input system and Keijiro's Minis midi stuff

compute shader with skinned mesh flocking instances

setting VFX graph properties using C#