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:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user