Parenting Lighting Effects To Cameras

The current system of parenting effects such as BlurEffect to Lighting is getting obsolete, especially with addition of ViewportFrames (and an eventual addition of real-time render frames). It is virtually impossible to keep the current behavior and add the mentioned effect as well as light manipulation to them without adding yet another constructor.

As the title suggests, I’m proposing something similar to what we currently have, but instead of parenting to the Lighting, we would parent these effects to the Camera we want to use. Parenting effects to Lighting will apply them to the CurrentCamera of Workspace.

My second suggestion regarding this is a new “LightingController” class that would have the same properties as the Lighting service, but its behavior would be the same as of the above mentioned effects. It would allow us to manipulate sun position and colors in ViewportFrames.

6 Likes