- Timestamp:
- 09/02/08 00:56:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r2892 r2893 71 71 float2 texcoord = IN.texCoord.xy + offsetTransformed * AREA_SIZE * w; 72 72 73 //if ((texcoord.x <= 1.0f) || (texcoord.x >= 0.0f) || (texcoord.y <= 1.0f) || (texcoord.y >= 0.0f)) 74 73 75 // sample downsampled texture in order to speed up texture accesses 74 76 float3 sample_position = tex2Dlod(positions, float4(texcoord, 0, 1)).xyz;
Note: See TracChangeset
for help on using the changeset viewer.