Ignore:
Timestamp:
06/05/07 14:26:25 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasicShading.hlsl

    r2404 r2409  
    5959        float cosb = max(dot(IN.wNormal.xyz, diff), 0); 
    6060         
    61         //color.rgb += pow(cosa, 9) * cosb / dist2 * lightPower1 * lightColor1; 
    62         color.rgb += cosb / dist2 * lightPower1 * lightColor1; 
     61        color.rgb += pow(cosa, 9) * cosb / dist2 * lightPower1 * lightColor1; 
     62        //color.rgb += cosb / dist2 * lightPower1 * lightColor1; 
    6363         
    6464        } 
Note: See TracChangeset for help on using the changeset viewer.