~harrison-rt/+junk/jaguar_company

« back to all changes in this revision

Viewing changes to trunk/jaguar_company.oxp/Shaders/jaguar_company_base.fragment

  • Committer: Richard Harrison
  • Date: 2013-01-19 22:39:57 UTC
  • Revision ID: harrison.rt@gmail.com-20130119223957-lcuzmbsrx6o2bk8o
Tags: 1.6.2
* Bug fix for the ship script.
* Bug fix to the waypoint AI. Never exited the stock AI.
* Cascade Weapon detection actually works for pre v1.77
* Took the opportunity to clean up some files and re-do the textures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
uniform sampler2D   uColorMap;
30
30
uniform sampler2D   uNormalMap;
31
31
 
 
32
const float         Kgamma = 0.4;
32
33
const float         KspecExponent = 5.0;
33
 
const float         Kgamma = 0.66;
34
34
 
35
35
void Light(in vec3 lightVector, in vec3 normal, in vec3 lightColor, in vec3 eyeVector,
36
36
           in float KspecExponent, inout vec3 totalDiffuse, inout vec3 totalSpecular)