- Timestamp:
- 08/29/08 08:55:08 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/FriendlyCulling.vcproj
r2879 r2882 800 800 </File> 801 801 <File 802 RelativePath=".\src\shaders\shadow.cg" 803 > 804 </File> 805 <File 802 806 RelativePath=".\src\shaders\ssao.cg" 803 807 > -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r2876 r2882 27 27 28 28 // global ambient 29 const float4 ambient = 0. 3f;29 const float4 ambient = 0.25f; 30 30 31 31 // float3 L = normalize(lightPosition - position); -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/globillum.cg
r2881 r2882 8 8 // rule of thumb: approx 1 / NUM_SAMPLES 9 9 //#define SAMPLE_INTENSITY 0.15f 10 #define SAMPLE_INTENSITY 0.2 f10 #define SAMPLE_INTENSITY 0.22f 11 11 12 12 #define AREA_SIZE 7e-1f … … 16 16 #define DISTANCE_SCALE 1e-6f 17 17 18 #define ILLUM_ SCALE5e-1f;18 #define ILLUM_INTENSITY 5e-1f; 19 19 20 20 … … 112 112 total_color.w -= cos_angle * distance_intensity * view_correction; 113 113 114 total_color.xyz += cos_angle * distance_intensity * view_correction * sample_color * ILLUM_ SCALE;114 total_color.xyz += cos_angle * distance_intensity * view_correction * sample_color * ILLUM_INTENSITY; 115 115 } 116 116 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r2881 r2882 8 8 // rule of thumb: approx 1 / NUM_SAMPLES 9 9 //#define SAMPLE_INTENSITY 0.15f 10 #define SAMPLE_INTENSITY 0.2 f10 #define SAMPLE_INTENSITY 0.22f 11 11 12 12 #define AREA_SIZE 7e-1f
Note: See TracChangeset
for help on using the changeset viewer.