Global Illumination Script! [DEPRECIATED]

Also, reminds me a lot of @Elttob’s tweet that I saw a couple weeks ago:

5 Likes

Video and solution by @Elttob :happy4: :happy3: :happy1: :happy2:

2 Likes




looks uberbright.
(future has been enabled for a long time)

2 Likes

To fix this change line 159 to this

if v and char and char.PrimaryPart and v.Transparency < 0.75 and (v.Position-char.PrimaryPart.Position).Magnitude <= script.Configuration.RenderDistance.Value then
3 Likes

ANOTHER UPDATE!

  • Tutorial has been updated
  • Added new “EnabledTweening” Option (check tutorial for a short explanation)
  • Further optimized code
  • Now made it so then light can disappear from in-between delays if it can’t be luminated
3 Likes

FINAL UPDATE!(maybe)

  • Added a “RenderOnlyIfSee” Configuration option to only render bounced lights if they are seen on the players screen
  • Added intensity options to customize the look of the bounce lighting
  • Updated tutorial
  • Made more optimizations
4 Likes

Probably one of the last updates, but here you go.

  • Cleaned up code a little bit more
  • Added a effect where light changes color when it goes through a transparent object
  • Removed extra effects because it is blinding and serves ABSOLUTLY NO PURPOSE but to add pre-built lighting

I might update this a little bit more, but the concept isn’t that original anymore because there are so many scripts that execute this concept better than mine.

2 Likes

It doesn’t work for me, I put the script in starterplayerscripts, Changed the lighting technology to future and it doesn’t work What am I doing wrong

(EDIT: nevermind i fixed it)

1 Like

I don’t know how to setup the script.

You basically just put it in starter player scripts, and make sure the script is enabled.

It doesn’t work. Nothing changes. Have I to setup something?

Strange, is there any errors appearing in your output?

do you mean StarterPlayerScripts?

Nothing changes

What i’m doing wrong?

  • I putted the script in “StarterPlayerScripts”.
  • I changed Lighting to “Future”.
  • I didn’t touched anything in the config folder.

That is strange, I will check the script real quick.

I checked, and it worked for me, I honestly have no idea what the problem could be. All I can think of is that the script could be disabled.

Mh idk, but hey, can you send me a rblx place with global illumination?

Sure(sorry for being late again)

Strange, when I was using the place I usually use to make the script it worked. but on a new place it doesn’t work? I might have to do some research.

NVM, I just fixed it, I accidentally put a part loop inside of the light loop, and for some reason it didn’t work, reinsert it and it should work now. :slight_smile:

1 Like