forked from mirror/ObjToSchematic
Fixed opaque voxels appearing slightly transparent
This commit is contained in:
parent
4b2c823415
commit
7c71f60817
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user