repo.or.cz
/
ryzomcore.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'lua_versions' into main/rendor-staging
[ryzomcore.git]
/
snowballs2
/
bin
/
pp_test.cg
blob
f44c2d424d20863d2b9725d9bd65ae830b68b6b4
1
void pp_test(
\r
2
// Per fragment parameters
\r
3
float2 texCoord : TEXCOORD0,
\r
4
\r
5
// Fragment program constants
\r
6
uniform sampler2D cTex0 : TEX0,
\r
7
\r
8
// Output color
\r
9
out float4 oCol : COLOR)
\r
10
{
\r
11
oCol.rba = float3(1.0, 0.0, 1.0);
\r
12
oCol.g = tex2D(cTex0, texCoord).g;
\r
13
}