Added a new random ao channel.

This commit is contained in:
Relintai 2019-08-08 21:09:55 +02:00
parent de3f60d3f4
commit 78581077f7
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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.