Fixed opaque voxels appearing slightly transparent

This commit is contained in:
Lucas Dower 2022-07-10 18:15:47 +01:00
parent 4b2c823415
commit 7c71f60817
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ float dither8x8(vec2 position, float alpha) {
if (index == 53) limit = 0.71875;
if (index == 54) limit = 0.09375;
if (index == 55) limit = 0.59375;
if (index == 56) limit = 1.0;
if (index == 56) limit = 0.9999;
if (index == 57) limit = 0.5;
if (index == 58) limit = 0.875;
if (index == 59) limit = 0.375;

View File

@ -68,7 +68,7 @@ float dither8x8(vec2 position, float alpha) {
if (index == 53) limit = 0.71875;
if (index == 54) limit = 0.09375;
if (index == 55) limit = 0.59375;
if (index == 56) limit = 1.0;
if (index == 56) limit = 0.9999;
if (index == 57) limit = 0.5;
if (index == 58) limit = 0.875;
if (index == 59) limit = 0.375;