source:
GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/oldgeneral/terrain_fp.cg
@
1493
Revision 1493, 376 bytes checked in by igarcia, 18 years ago (diff) |
---|
Line | |
---|---|
1 | void main_fp(float2 texcoord : TEXCOORD1, |
2 | float4 texcoordproj: TEXCOORD0, |
3 | out float4 colour : COLOR, |
4 | uniform sampler2D texture, |
5 | uniform float4 ldiffuse) |
6 | { |
7 | // green test |
8 | //float4 tempcolor= float4(0.0,0.7,0.2,1.0); |
9 | //colour = tex2D(texture,texcoord)*ldiffuse*tempcolor; |
10 | colour = tex2D(texture,texcoord.xy)*ldiffuse; |
11 | } |
12 | |
13 |
Note: See TracBrowser
for help on using the repository browser.