polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

uniforms.glsl (357B)


      1 
      2 // uniform bool diffuse_on;
      3 uniform bool fog_on;
      4 uniform float sky_intensity;
      5 uniform float light_intensity;
      6 uniform mat4 depth_mvp;
      7 // uniform mat4 depth_vp;
      8 uniform mat4 model;
      9 uniform mat4 mvp;
     10 uniform mat4 normal_matrix;
     11 // uniform float time;
     12 // uniform float ambient_str;
     13 uniform vec3 sun_color;
     14 uniform vec3 camera_position;
     15 uniform vec3 light_dir;