mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 08:42:50 +08:00
faster floodfill sampling in rgb not hsv
This commit is contained in:
@ -33,8 +33,6 @@ void PopulateShadowVoxel(const in vec3 playerPos) {
|
||||
if (
|
||||
((renderStage == MC_RENDER_STAGE_ENTITIES && (currentRenderedItemId > 0 || entityId > 0)) || renderStage == MC_RENDER_STAGE_BLOCK_ENTITIES)
|
||||
) {
|
||||
voxelId = uint(mc_Entity.x + 0.5);
|
||||
|
||||
if (renderStage == MC_RENDER_STAGE_BLOCK_ENTITIES) {
|
||||
if (blockEntityId > 0 && blockEntityId < 500)
|
||||
voxelId = uint(blockEntityId);
|
||||
|
Reference in New Issue
Block a user