@:directlyUsed@:src({
@input var input:{ var color : Vec4};
var pixelColor:Vec4;
@const var additive:Bool;
function fragment() {
if (additive) pixelColor += input.color else pixelColor *= input.color;
};
})@:build(hxsl.Macros.buildShader())@:autoBuild(hxsl.Macros.buildShader())