chore:rename shaders

This commit is contained in:
stitchy 2024-12-18 07:34:53 +00:00
parent 7731836f6a
commit 98ca067fcf
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
3 changed files with 2 additions and 2 deletions

View file

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