For example, I want to output red color in fragment shader.
HLSL:
return float4(1,0,0,1);
asm:
def c0, 1, 0, 0, 1
mov oC0, r0
How to implement this in AGAL?
For example, I want to output red color in fragment shader.
HLSL:
return float4(1,0,0,1);
asm:
def c0, 1, 0, 0, 1
mov oC0, r0
How to implement this in AGAL?
you have to pass in the red constant via:
unfortunately, you can't define a constant in agal.