Bliss-Shader/shaders/lib/voxel_common.glsl
2024-05-03 13:39:05 -04:00

9 lines
192 B
GLSL

layout(r16ui) uniform uimage3D imgVoxelMask;
const uint VoxelSize = uint(exp2(LPV_SIZE));
const uvec3 VoxelSize3 = uvec3(VoxelSize);
const float voxelDistance = 64.0;
#define BLOCK_EMPTY 0