Changeset 2882


Ignore:
Timestamp:
08/29/08 08:55:08 (16 years ago)
Author:
mattausch
Message:
 
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  
    800800                        </File> 
    801801                        <File 
     802                                RelativePath=".\src\shaders\shadow.cg" 
     803                                > 
     804                        </File> 
     805                        <File 
    802806                                RelativePath=".\src\shaders\ssao.cg" 
    803807                                > 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg

    r2876 r2882  
    2727 
    2828        // global ambient 
    29         const float4 ambient = 0.3f; 
     29        const float4 ambient = 0.25f; 
    3030 
    3131        // float3 L = normalize(lightPosition - position); 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/globillum.cg

    r2881 r2882  
    88// rule of thumb: approx 1 / NUM_SAMPLES 
    99//#define SAMPLE_INTENSITY 0.15f 
    10 #define SAMPLE_INTENSITY 0.2f 
     10#define SAMPLE_INTENSITY 0.22f 
    1111 
    1212#define AREA_SIZE 7e-1f 
     
    1616#define DISTANCE_SCALE 1e-6f 
    1717 
    18 #define ILLUM_SCALE 5e-1f; 
     18#define ILLUM_INTENSITY 5e-1f; 
    1919 
    2020 
     
    112112                total_color.w -= cos_angle * distance_intensity * view_correction; 
    113113 
    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; 
    115115        } 
    116116 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg

    r2881 r2882  
    88// rule of thumb: approx 1 / NUM_SAMPLES 
    99//#define SAMPLE_INTENSITY 0.15f 
    10 #define SAMPLE_INTENSITY 0.2f 
     10#define SAMPLE_INTENSITY 0.22f 
    1111 
    1212#define AREA_SIZE 7e-1f 
Note: See TracChangeset for help on using the changeset viewer.