nightvision.glsl 145 B

1234567891011
  1. void main()
  2. {
  3. float4 c0 = Sample();
  4. float green = c0.g;
  5. if (c0.g < 0.50)
  6. green = c0.r + c0.b;
  7. SetOutput(float4(0.0, green, 0.0, 1.0));
  8. }