polyadvent

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

uniforms.glsl (304B)


      1 
      2 precision highp int;
      3 // uniform bool diffuse_on;
      4 uniform int fog_on;
      5 uniform float sky_intensity;
      6 uniform float light_intensity;
      7 uniform mat4 depth_mvp;
      8 uniform mat4 mvp;
      9 uniform mat4 model_view;
     10 uniform mat4 normal_matrix;
     11 uniform vec3 sun_color;
     12 uniform vec3 camera_position;
     13 uniform vec3 light_dir;
     14