diff --git a/frag.shader b/raymarcher.glsl similarity index 100% rename from frag.shader rename to raymarcher.glsl diff --git a/shader.mjs b/shader.mjs index 8e7d09a..69f406f 100644 --- a/shader.mjs +++ b/shader.mjs @@ -34,8 +34,8 @@ async function initShader() { gl.bufferData(gl.ARRAY_BUFFER, verticies, gl.STATIC_DRAW); // fetch shaders - const vert_shader = await fetch_local("./vert.shader"); - const frag_shader = await fetch_local("./frag.shader"); + const vert_shader = await fetch_local("./vert.glsl"); + const frag_shader = await fetch_local("./raymarcher.glsl"); // Compile Shaders const vert = compileShader(vert_shader, gl.VERTEX_SHADER, gl); diff --git a/vert.shader b/vert.glsl similarity index 100% rename from vert.shader rename to vert.glsl