From 98ca067fcf25343a66d46eeda9f1a4146efee3ca Mon Sep 17 00:00:00 2001 From: stitchy Date: Wed, 18 Dec 2024 07:34:53 +0000 Subject: [PATCH] chore:rename shaders --- frag.shader => raymarcher.glsl | 0 shader.mjs | 4 ++-- vert.shader => vert.glsl | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename frag.shader => raymarcher.glsl (100%) rename vert.shader => vert.glsl (100%) 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