mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-03 16:13:30 +08:00
11 lines
247 B
Plaintext
11 lines
247 B
Plaintext
|
#ifdef RENDER_SHADOW
|
||
|
layout(r16ui) uniform uimage3D imgVoxelMask;
|
||
|
#else
|
||
|
layout(r16ui) uniform readonly uimage3D imgVoxelMask;
|
||
|
#endif
|
||
|
|
||
|
const uint VoxelSize = uint(exp2(LPV_SIZE));
|
||
|
const uvec3 VoxelSize3 = uvec3(VoxelSize);
|
||
|
|
||
|
#define BLOCK_EMPTY 0
|