- Home /
Object with emission material not casting light on other static objects
Hi, I'm trying to have a scene lit intermittently between particle systems and objects with emission materials (HDR above 1). The objects in the scene are static. I'm using Unity 5.4. I've tried both light and reflection probes and am getting no change.
I read in 5.4 you need to use the bloom script on the camera but other tutorials I've followed don't add and the achieve the "glow effect" in their environment.
Any help/tips would be appreciated.
Thanks!
Last I played with it, the object with the emissive material was static and it cast light on static objects around it AFTER YOU BA$$anonymous$$E LIGHTING (even when using realtime-GI and setting the emissive to realtime). Although you could adjust the intensity in the editor after baking was complete. $$anonymous$$oving it doesn't work (I know you said static, just FYI).
I'm guessing you'll want a realtime light if it's intermittent and moving. But maybe you can do something by changing emission and then calling some update functions (Edit: see below). It's weird, because it's kind of a baked map other than intensity calculation. $$anonymous$$aybe someone can provide more info.
FYI - Bloom effect just makes stuff blurry/fuzzy in a post processing effect. It has to be there first, so that's not it, although you may still wish to use it after you get stuff working.
Also see here for changing color/intensity. https://forum.unity3d.com/threads/dynamic-emission-in-real-time-gi.293569/
Answer by CarpeFunSoftware · Oct 12, 2016 at 07:19 PM
Try: Turn on Precomputed Realtime GI and then bake. (I assume you want realtime emissive so you can change it via script, right?)
There is a "baked" option for that too, in the materials inspector if you only want baked. But I don't think you'll be able to modify that at runtime then (because baked).
Thanks very much @CarpeFunSoftware that was it. I was using the wrong combination of Precomputed Realtime GI, auto build on the scene lighting, and lightmap static on the individual objects.
Appreciate the help!
Answer by johnnythecakes · Oct 12, 2016 at 05:53 PM
Thanks @CarpeFunSoftware. The objects in the scene are set to static with emissive materials applied and have baked but still no dice (see attached screencaps). Thanks for the link and info on bloom too.