blob: 73967f5d5dc6b391acd9d5c7c64533fc59cef30f [file] [log] [blame]
uniform shader child;
half4 main(float2 xy) {
half4 color = child.eval(xy);
color.rgb = toLinearSrgb(color.rgb);
// Alter the color so that the back-and-forth conversions are meaningful.
color.br = color.rb * 0.75;
return half4(fromLinearSrgb(color.rgb), color.a);
}