Baked Lighting "Engine" - Update 1

I seriously can’t wait for this to get released, the possibilities once this releases would be infinite, Video players, more advanced drawing games, Texture painting in real time.

1 Like

You can enable this through fast flags, although I’m not sure how to use it yet.

I love this idea! I would love to implement this when it gets released. It would be a wonderful optimization!

This is amazing but i can’t get it to work on my place
It runs out of execution time on larger parts and when I add a wait it fails on all parts with a “Attempt to index nil with decal.Transparency”

I have question:

  1. How to render all map without lags?
  2. Its possible to make a realtime shadows? Without lags?

EditableImage is now in beta.

2 Likes

This is impressive! I’m myself trying to code a lighting engine but for a ViewportFrame but so far I’ve just made a buggy prototype, I would love to chat more on how you went about making this, if you’d like we can talk over mail : )

My prototype [Not in ViewportFrame];

3 Likes

does this run better than Roblox’s default lighting?

Yes, as instead of using realtime shadows, it renders imagelabels on each part, basically only rendering it once unlike how roblox renders it every frame.

Image labels tend to be laggy in their current state

I can’t get your example game to work… It just immediately errors? Is this a bug or am I doing something wrong?

EDIT: I got it to work but only after removing all paralell utilities…

1 Like

Hi, I’m currently working on an updated version of this. I believe Roblox may have implemented changes that deprecated the module.

Working on an updated version of this baked lighting engine! EditableImages enables pixel optimizations that make raytraced shadows, global illumination, and bilinear filtering possible. I will make a new post once the engine is available!

10 Likes

Progress on the updated version! I’ve implemented parallel execution, soft area lights, and several other features! As a result of the new features, rendering is a lot faster than the previous version. Apologies for the banding issues! The images are compressed.



10 Likes

Is this available right now? Interested in using it in light of Roblox deprecating Compatibility.

2 Likes

I plan to make another devforum post after I finish the documentation! However, I can reply to this post directly with a release after I iron out some minor bugs.

1 Like

Working on a Global Illumination renderer and an Optimized Soft-Shadows renderer. Progress is going well! EditableImage optimizations make rendering faster than I expected.




15 Likes

Absolutely exquisite! I will be using this in my game the moment it comes out!

1 Like

Beta release may be out by tomorrow! Here’s a preview of hard shadows with global illumination.
I’ve been fixing up some bugs like light leaking, but unfortunately it’s a difficult issue to fix!



9 Likes

Hi y’all, I still have a few more issues to fix. Progress has been a bit slow lately because of life changes. However, I made a video showcasing the global illumination feature!

Wedges are also finally implemented! I will probably be adding support for spheres as well and meshes once editablemesh is complete.

16 Likes