mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-24 17:42:35 +08:00
floodfill add buffer qualifiers, use image sampler
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#extension GL_EXT_shader_image_load_store: enable
|
||||
#endif
|
||||
|
||||
#define RENDER_SHADOW
|
||||
|
||||
|
||||
/*
|
||||
@ -221,6 +222,7 @@ void main() {
|
||||
break;
|
||||
|
||||
// TODO: blaze, magma_cube
|
||||
}
|
||||
}
|
||||
|
||||
if (voxelId > 0u)
|
||||
@ -275,4 +277,4 @@ void main() {
|
||||
bias = 6.0 + (1-clamp(dot(WsunVec,FlatNormals),0,1))*0.3;
|
||||
}
|
||||
gl_Position.z /= bias;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user