mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 10:20:54 +00:00
3e91b1a5cf
--HG-- branch : multipass-stereo
13 lines
No EOL
271 B
Text
13 lines
No EOL
271 B
Text
void pp_test(
|
|
// Per fragment parameters
|
|
float2 texCoord : TEXCOORD0,
|
|
|
|
// Fragment program constants
|
|
uniform sampler2D cTex0 : TEX0,
|
|
|
|
// Output color
|
|
out float4 oCol : COLOR)
|
|
{
|
|
oCol.rba = float3(1.0, 0.0, 1.0);
|
|
oCol.g = tex2D(cTex0, texCoord).g;
|
|
} |