Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 852 vs 853 for /trunk/assets/shaders/GLSL/water.glsl

Diff revisions: vs.
  @@ -55,7 +55,7 @@
55 55 # define texWaterNoiseDUDV texDiffuse1
56 56
57 57 float time2 = float(dvd_time) * 0.00001;
58 - const float kDistortion = 0.015;
58 + const float kDistortion = 1.0;// 0.015;
59 59 vec4 distOffset = texture(texWaterNoiseDUDV, VAR._texCoord + vec2(time2)) * kDistortion;
60 60
61 61 vec4 uvReflection = _vertexWVP * vec4(1.0 / _vertexWVP.w);
  @@ -88,6 +88,4 @@
88 88
89 89 _normalOut = packNormal(N);
90 90 _velocityOut = velocityCalc(dvd_InvProjectionMatrix, getScreenPositionNormalised());
91 -
92 - _colourOut.rgb = ToSRGB(texture(texWaterReflection, VAR._texCoord).rgb);
93 91 }