- Timestamp:
- 11/02/08 17:35:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r3081 r3087 205 205 OUT.color = useShading ? (ambient + diffuse) * color : color; 206 206 207 // store scaled view vector from now on so wie don't have to normalize for e.g., ssao207 // store scaled view vector from now on so wie don't have to normalize later (e.g., for ssao) 208 208 OUT.color.w = color.w / lenView; 209 209 … … 215 215 as well as a boolean that 216 216 */ 217 pixel (fragment IN,218 219 uniform sampler2D normals,217 pixel Reproject(fragment IN, 218 uniform sampler2D colors, 219 uniform sampler2D normals) 220 220 { 221 221 float4 norm = tex2Dlod(normals, float4(IN.texCoord, 0 ,0));
Note: See TracChangeset
for help on using the changeset viewer.