Playing with textures

This commit is contained in:
Greg Shuflin 2025-02-15 04:04:38 -08:00
parent 3bff125eaf
commit 37d9f70bf2

View File

@ -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);