mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-03 16:13:30 +08:00
25a2284a60
FIXED AND IMPROVED translucent rendering. FIXED random stuff from rendering over the hand. FIXED hand shading. FIXED blue horses. FIXED translucent lighting on the hand. FIXED translucent lighting on entities. IMPROVED colored shadows. IMPROVED SSAO application to the scene. IMPROVED subsurface scattering and give it more settings. IMPROVED bloom. ADD AgX tonemap and make it default.
13 lines
282 B
GLSL
13 lines
282 B
GLSL
#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);
|
|
|
|
const float voxelDistance = 64.0;
|
|
|
|
#define BLOCK_EMPTY 0
|