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

compute shader with skinned mesh flocking instances

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

random number generation, noise and fbm, glsl