Ignore:
Timestamp:
10/11/06 16:08:34 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Phong.hlsl

    r1598 r1611  
    6060    float3 pos = IN.wPos; 
    6161     
    62     float M = 4; 
     62    float M = 1; 
    6363    
    6464    float3 lightpositions[8]; 
     
    9292        L = normalize(L); 
    9393        float3 H = normalize(L + V); 
    94         float lightscale = 3; 
     94        float lightscale = 1.0; 
    9595        float4 spec = specular * lightcolors[i] * pow(dot(H, N), shininess) * lightscale; 
    9696        float4 diff = diffuse * lightcolors[i] * abs(dot(L, N)) * lightscale; 
Note: See TracChangeset for help on using the changeset viewer.