Redot-Engine / redot-engine

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
636 stars 22 forks source link

Expose runtime baking functionality in LightmapGI #8

Open sourcelocation opened 7 hours ago

sourcelocation commented 7 hours ago

Hi ReDot community 👋

This PR implements .bake() for script usage on LightmapGI.

Implementation notes:

Demo video:

https://github.com/user-attachments/assets/542a1b5e-07b9-4b0d-a7df-668516359543

Project for testing: https://github.com/sourcelocation/lightmapruntimebakingtest/

Originally made for Godot, but their latest decision lead me to contribute to ReDot instead.