Posts

Showing posts with the label step function

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.