EditableImage Baked Lighting: (Raytraced Global Illumination + Soft Shadows)

Thank you for letting me know about this! I’ll work on an updated version with these changes.

2 Likes

I fixed it up for the new editable image update.
radiosity_engine_9-13-24_01.rbxl (859.5 KB)

4 Likes

Do you think this can ever be done in real-time? Also, it would be cool to add PBR textures and reflections.

Thank you so much! Can I upload this to the GitHub repo? Let me know if I can credit your user!

Yes, you can upload it to thr GitHub repository. You can give credit if you want to, but it was pretty straightforward so I don’t mind.

1 Like

The updated place file is now on the GIthub repository!

How are the “baked maps” stored? Could you for example use these in a procedurally generated map, placing the baked sections in in certain areas.

If you wanted to, yes! You can choose which parts/models and surfaces you want to bake. The light maps are stored in surface guis inside each part, along with image labels, where each label has an editable image to represent the Lightmap.

Oh so was this broken by the disabling of plug-ins creating editable images? Or are all of these calculations done at runtime

The baking process is designed to be executed in-studio then saved or it can also be done server-sided when a server is loading, (though I still need to work on a better process for saving lightmaps).

It was broken previously because Roblox rolled out EditableImage with some core changes. Before it was unusable in-game because EditableImage could only be enabled in Studio Beta Settings.

3 Likes

Since this is meant to bake lighting, and not be used during runtime, I think this would be better as a plugin.

8 Likes

hi, do we have a wally for this?

1 Like