Improved shaders_postprocessing example

This commit is contained in:
Ray
2017-05-16 00:14:14 +02:00
parent c9d6b7e356
commit 65e6a6db53
34 changed files with 24630 additions and 22395 deletions

View File

@ -12,8 +12,8 @@ uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
float offset = 0;
float frequency = 720/3.0;
float offset = 0.0;
float frequency = 450.0/3.0;
uniform float time;
@ -40,5 +40,5 @@ void main()
vec4 color = texture2D(texture0, fragTexCoord);
gl_FragColor = mix(vec4(0, 0.3, 0, 0), color, wavePos);
gl_FragColor = mix(vec4(0.0, 0.3, 0.0, 0.0), color, wavePos);
}