mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #107384 from Kaleb-Reid/compat-directional-cull-mask
Implement DirectionalLight3D cull masks in Compatibility
This commit is contained in:
commit
cb164a38f2
5 changed files with 62 additions and 34 deletions
|
|
@ -203,10 +203,11 @@ private:
|
|||
float color[3];
|
||||
float size;
|
||||
|
||||
uint32_t enabled; // For use by SkyShaders
|
||||
uint32_t bake_mode;
|
||||
uint32_t enabled : 1; // For use by SkyShaders
|
||||
uint32_t bake_mode : 2;
|
||||
float shadow_opacity;
|
||||
float specular;
|
||||
uint32_t mask;
|
||||
};
|
||||
static_assert(sizeof(DirectionalLightData) % 16 == 0, "DirectionalLightData size must be a multiple of 16 bytes");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue