Improved shaders_postprocessing example
This commit is contained in:
parent
c9d6b7e356
commit
65e6a6db53
1 changed files with 29214 additions and 26979 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Reference in a new issue