Skip to content

Commit

Permalink
Update shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Oct 15, 2024
1 parent 0b1c848 commit 80e15c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if (flags.voxels) {
project.add_assets("shaders/voxel_hlsl/*.d3d11", { destination: "data/{name}" });
}
else {
project.add_shaders("shaders/voxel_glsl/*.glsl");
project.add_shaders("shaders/voxel_glsl/*.glsl", { noprocessing: true });
}
}

Expand Down
2 changes: 1 addition & 1 deletion base/shaders/voxel_glsl/voxel_pos.frag.glsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#version 450
#extension GL_ARB_shader_image_load_store : enable

#include "../std/conetrace.glsl"
const int voxelgi_resolution = 256;

uniform layout(r8) writeonly image3D voxels;

Expand Down
2 changes: 1 addition & 1 deletion base/shaders/voxel_glsl/voxel_pos.vert.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#version 450

#include "../std/conetrace.glsl"
const vec3 voxelgi_half_extents = vec3(1, 1, 1);

uniform mat4 W;

Expand Down

0 comments on commit 80e15c0

Please sign in to comment.