Changeset 864 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDefault_FP20.cg
- Timestamp:
- 04/30/06 00:55:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDefault_FP20.cg
r861 r864 17 17 if (value.z != 0.0) 18 18 { 19 float2 newcoord = value.zw+ ((coords * sourceTextureSize) / sqrtNumSamples);19 float2 newcoord = (float2(1.0, 1.0) - value.zw) + ((coords * sourceTextureSize) / sqrtNumSamples); 20 20 ocolor = float4(tex2D(sourceTexture, newcoord).xyzw); 21 21 }
Note: See TracChangeset
for help on using the changeset viewer.