Set light.a to 1.

This commit is contained in:
Relintai 2020-08-21 12:34:56 +02:00
parent 3ade810606
commit 4921252475

View File

@ -110,6 +110,7 @@ void VoxelMesherCubic::_add_chunk(Ref<VoxelChunk> p_chunk) {
light.r = CLAMP(light.r, 0, 1.0);
light.g = CLAMP(light.g, 0, 1.0);
light.b = CLAMP(light.b, 0, 1.0);
light.a = 1.0;
add_color(light);