Playing with textures
This commit is contained in:
parent
3bff125eaf
commit
37d9f70bf2
@ -56,6 +56,7 @@ vec4 pixelatedSinWave() {
|
||||
vec4 miku() {
|
||||
// Get base texture color
|
||||
vec2 uv = v_texCoord;
|
||||
uv.x = uv.x + sin(u_time + uv.x * 30.0) * 0.02;
|
||||
|
||||
// Sample the texture first without effects
|
||||
vec4 texColor = texture(u_mikuTexture, uv);
|
||||
|
Loading…
Reference in New Issue
Block a user