diff --git a/world/voxel_buffer.cpp b/world/voxel_buffer.cpp index 0bdf86c..66f3401 100644 --- a/world/voxel_buffer.cpp +++ b/world/voxel_buffer.cpp @@ -433,6 +433,7 @@ void VoxelBuffer::_bind_methods() { BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_G); BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_B); BIND_ENUM_CONSTANT(CHANNEL_AO); + BIND_ENUM_CONSTANT(CHANNEL_RANDOM_AO); BIND_ENUM_CONSTANT(CHANNEL_DATA1); BIND_ENUM_CONSTANT(CHANNEL_DATA2); BIND_ENUM_CONSTANT(MAX_CHANNELS); diff --git a/world/voxel_buffer.h b/world/voxel_buffer.h index 96b70c4..819b9a1 100644 --- a/world/voxel_buffer.h +++ b/world/voxel_buffer.h @@ -39,6 +39,7 @@ public: CHANNEL_LIGHT_COLOR_G, CHANNEL_LIGHT_COLOR_B, CHANNEL_AO, + CHANNEL_RANDOM_AO, CHANNEL_DATA1, CHANNEL_DATA2, // Arbitrary value, 8 should be enough. Tweak for your needs.