mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
Added a new random ao channel.
This commit is contained in:
parent
de3f60d3f4
commit
78581077f7
@ -433,6 +433,7 @@ void VoxelBuffer::_bind_methods() {
|
|||||||
BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_G);
|
BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_G);
|
||||||
BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_B);
|
BIND_ENUM_CONSTANT(CHANNEL_LIGHT_COLOR_B);
|
||||||
BIND_ENUM_CONSTANT(CHANNEL_AO);
|
BIND_ENUM_CONSTANT(CHANNEL_AO);
|
||||||
|
BIND_ENUM_CONSTANT(CHANNEL_RANDOM_AO);
|
||||||
BIND_ENUM_CONSTANT(CHANNEL_DATA1);
|
BIND_ENUM_CONSTANT(CHANNEL_DATA1);
|
||||||
BIND_ENUM_CONSTANT(CHANNEL_DATA2);
|
BIND_ENUM_CONSTANT(CHANNEL_DATA2);
|
||||||
BIND_ENUM_CONSTANT(MAX_CHANNELS);
|
BIND_ENUM_CONSTANT(MAX_CHANNELS);
|
||||||
|
@ -39,6 +39,7 @@ public:
|
|||||||
CHANNEL_LIGHT_COLOR_G,
|
CHANNEL_LIGHT_COLOR_G,
|
||||||
CHANNEL_LIGHT_COLOR_B,
|
CHANNEL_LIGHT_COLOR_B,
|
||||||
CHANNEL_AO,
|
CHANNEL_AO,
|
||||||
|
CHANNEL_RANDOM_AO,
|
||||||
CHANNEL_DATA1,
|
CHANNEL_DATA1,
|
||||||
CHANNEL_DATA2,
|
CHANNEL_DATA2,
|
||||||
// Arbitrary value, 8 should be enough. Tweak for your needs.
|
// Arbitrary value, 8 should be enough. Tweak for your needs.
|
||||||
|
Loading…
Reference in New Issue
Block a user