Example #1
0
 public int PixelShader(uint screenX, uint screenY, float x, float y)
 {
     return(ColorScale.HsvToRgb(Hue.get() * 360, x / Transform.Size.x, y / Transform.Size.y));
 }
Example #2
0
 public int PixelShader(uint screenX, uint screenY, float x, float y)
 {
     return(ColorScale.HsvToRgb(y / Transform.Size.y * 360, 1, 1));
 }