Lazy shader update. attribute -> ATTRIBUTE, varying -> VARYING. Moved some shader preprocessor stuff from llviewershadermgr.cpp to llshadermgr.cpp to match LL (although it looks more messy)

This commit is contained in:
Shyotl
2011-11-24 01:03:03 -06:00
parent 08d2c17c65
commit 8e7733b2ce
108 changed files with 263 additions and 232 deletions

View File

@@ -15,9 +15,9 @@ uniform float refScale;
uniform vec4 waterFogColor;
//bigWave is (refCoord.w, view.w);
varying vec4 refCoord;
varying vec4 littleWave;
varying vec4 view;
VARYING vec4 refCoord;
VARYING vec4 littleWave;
VARYING vec4 view;
void main()
{

View File

@@ -32,9 +32,9 @@ uniform float blurMultiplier;
uniform vec4 fogCol;
//bigWave is (refCoord.w, view.w);
varying vec4 refCoord;
varying vec4 littleWave;
varying vec4 view;
VARYING vec4 refCoord;
VARYING vec4 littleWave;
VARYING vec4 view;
void main()
{

View File

@@ -15,9 +15,9 @@ uniform float time;
uniform vec3 eyeVec;
uniform float waterHeight;
varying vec4 refCoord;
varying vec4 littleWave;
varying vec4 view;
VARYING vec4 refCoord;
VARYING vec4 littleWave;
VARYING vec4 view;
float wave(vec2 v, float t, float f, vec2 d, float s)
{