- Timestamp:
- 04/30/06 00:55:23 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/diffuseTextureScreenAligned_FP20.cg
r786 r864 31 31 // Colour 32 32 //ocolor = colour; 33 33 34 } -
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 } -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDefault_glsl_FP20.shd
r861 r864 18 18 if (value.z != 0.0) 19 19 { 20 vec2 newcoord = value.zw+ ((coords * sourceTextureSize) / sqrtNumSamples);20 vec2 newcoord = (vec2(1.0, 1.0) - value.zw) + ((coords * sourceTextureSize) / sqrtNumSamples); 21 21 ocolor = vec4(texture2D(sourceTexture, newcoord).xyzw); 22 22 } -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDefault_hlsl_FP20.shd
r861 r864 18 18 if (value.w != 0.0) 19 19 { 20 float2 newcoord = value.zw+ ((coords * sourceTextureSize) / sqrtNumSamples);20 float2 newcoord = (float2(1.0, 1.0) - value.zw) + ((coords * sourceTextureSize) / sqrtNumSamples); 21 21 ocolor = float4(tex2D(sourceTexture, newcoord).xyzw); 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.