1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Rename and reorder bake mode properties for consistency

The order now goes from least to most computationally expensive:

- Disabled
- Static
- Dynamic
This commit is contained in:
Hugo Locurcio
2021-11-26 17:47:37 +01:00
parent 80e292b3e0
commit e962900f23
16 changed files with 37 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
#define LIGHT_BAKE_DISABLED 0
#define LIGHT_BAKE_DYNAMIC 1
#define LIGHT_BAKE_STATIC 2
#define LIGHT_BAKE_STATIC 1
#define LIGHT_BAKE_DYNAMIC 2
struct LightData { //this structure needs to be as packed as possible
highp vec3 position;