mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
Fix 2 typos.
This commit is contained in:
parent
033fe750c0
commit
b6afad3024
@ -284,8 +284,8 @@ void VoxelMesher::_bake_colors(Ref<VoxelBuffer> buffer) {
|
||||
buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_LIGHT_COLOR_G) / 255.0,
|
||||
buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_LIGHT_COLOR_B) / 255.0);
|
||||
|
||||
int ao = (buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_AO) / 255.0) * _ao_strength;
|
||||
int rao = buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_RANDOM_AO) / 255.0;
|
||||
float ao = (buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_AO) / 255.0) * _ao_strength;
|
||||
float rao = buffer->get_voxel(x, y, z, VoxelBuffer::CHANNEL_RANDOM_AO) / 255.0;
|
||||
ao += rao;
|
||||
|
||||
light.r += _base_light_value;
|
||||
|
Loading…
Reference in New Issue
Block a user