Changeset 2874 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Timestamp:
- 08/27/08 16:14:10 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r2873 r2874 63 63 float3 normal = normalize(norm.xyz);// * 2.0f - float4(1.0f)); 64 64 65 float4 col = shade(IN, color, position, normal .xyz, amb);65 float4 col = shade(IN, color, position, normal, amb); 66 66 67 67 //OUT.color = float4(1.0f); 68 68 OUT.color = col; 69 OUT.color.w = color.w; 69 70 70 71 return OUT; -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r2873 r2874 151 151 realPos.w = 1.0f; 152 152 153 // reproject 153 154 float4 oldPos = mul(oldModelViewProj, realPos); 154 155 … … 176 177 OUT.illum_col.w = currentDepth; 177 178 178 179 //OUT.combined_col = float4(newDepth / oldDepth * 100, 0, 0, 1) ; 180 //OUT.combined_col = float4(newDepth, 0, 0, 1) ; 179 181 180 182 return OUT;
Note: See TracChangeset
for help on using the changeset viewer.