10 lines
224 B
Plaintext
10 lines
224 B
Plaintext
uniform float4 cxadd;
|
|
uniform float4x4 cxmul;
|
|
uniform sampler2D tex;
|
|
void main(float2 tc : TEXCOORD0,
|
|
out float4 fcolor : COLOR) {
|
|
float4 c = tex2D(tex, tc);
|
|
fcolor = mul(cxmul,c) + cxadd * (c.a + cxadd.a);
|
|
}
|
|
|