mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Batch of lightmapper fixes and minor improvements
- Fix objects with no material being considered as fully transparent by the lightmapper. - Added "environment_min_light" property: gives artistic control over the shadow color. - Fixed "Custom Color" environment mode, it was ignored before. - Added "interior" property to BakedLightmapData: controls whether dynamic capture objects receive environment light or not. - Automatically update dynamic capture objects when the capture data changes (also works for "energy" which used to require object movement to trigger the update). - Added "use_in_baked_light" property to GridMap: controls whether the GridMap will be included in BakedLightmap bakes. - Set "flush zero" and "denormal zero" mode for SSE2 instructions in the Embree raycaster. According to Embree docs it should give a performance improvement.
This commit is contained in:
parent
0e0d73c011
commit
e2c28675ef
24 changed files with 229 additions and 30 deletions
|
@ -330,6 +330,8 @@ public:
|
|||
FUNC1RC(int, lightmap_capture_get_octree_cell_subdiv, RID)
|
||||
FUNC2(lightmap_capture_set_energy, RID, float)
|
||||
FUNC1RC(float, lightmap_capture_get_energy, RID)
|
||||
FUNC2(lightmap_capture_set_interior, RID, bool)
|
||||
FUNC1RC(bool, lightmap_capture_is_interior, RID)
|
||||
|
||||
/* PARTICLES */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue