Baked Lighting "Engine" - Update 1

Looks amazing!

Btw, will you add an option to only bake indirect lightning? So we could be able to get global illumination with realtime lightning

2 Likes

Yes! I just added the feature. :slight_smile:

5 Likes

Hi! I was wondering when this is going to come out? Do you have a planned release date or deadline?

2 Likes

Hello! It seems like your example place doesn’t work at the moment;

what are the plugins that you have?

Hi, this example is from 2022! I will upload a new version once radiosity engine is released

1 Like

Hi! I don’t have a fixed release date at the moment. Work on the project has slowed down since I’ve started college, but a repo is now available on github that is a WIP! It can be found here: GitHub - Razorboot/radiosity_engine_luau: A full Radiosity-based Baked Lighting Implementation using LuaU.

A place file is not available yet though! You can place the RadiosityEngine folder in ServerScriptService, as well as main.lua

1 Like

Oops! I may have forgotten to fill out a script. I’ll work on this later and update the GitHub repo

Hmm, it appears like the code was implemented successfully. Did you download the scripts correctly? Maybe copy and paste the code directly into Module scripts. Everything inside RadiosityManager is a module. main.lua is a regular server side script.

An example place file has been added to the github repo! May work on a guassian blur to smooth out the noise.

your place file is still broken and creates in error when you click play

Do not hit play! Render the scene with ”Run”. EditableImage is not released yet for Server to Client replication, which is why I haven’t released the system yet fully! I’ll make sure to add this in the Read Me as well

2 Likes

that doesnt change anything i still get the error even when i just click run

Hm I’m not sure what it could be. I’ll check the place file tomorrow! What does the error say in your output?

it says The currently executing script thread is not associated with an Actor even though the script is parented to an Actor. This may indicate the current thread was created prior to the script being parented under an Actor. this happens when i hit run OR play in the place file without changing anything

I’m sorry for this issue! I just downloaded the place file from the repository and experimented with it. I appears to work for me! It may be your Studio Beta Settings. Can you double check and make sure if all options are enabled?

1 Like

An early release is now on devforum! EditableImage Baked Lighting: (Raytraced Global Illumination + Soft Shadows)

Hey! I’ve been crawling through your devforum posts to come find the latest version of this. I’m working on a released project that has an incredibly high number of future lights and was looking into this as a solution to drastically cut down our shadow update time (which is almost 8ms in some cases, with 2000+ shadow draw calls on average).

I know your earliest versions of this project had a focus on generating shadowmaps for performance improvements over roblox’s realtime shadows, is that still something your engine supports and is this newest version more performant at runtime? Would love to hear back, thank you in advance!

Hi, thank you for reaching out! This release supports direct lighting and indirect lighting which can be modified easily. However, it currently relies on multiple samples per pixel to create smooth shadows. If you just want hard shadows, this will improve rendering times drastically and can be enabled by setting the samples per pixel count to 1. You can learn more about how these settings work under the Lighting Features section. Wish you the best with your project!

1 Like