A light fixture blueprint with shaders I made with the goal to manage all light fixtures in Alara Prime.
The Idea is that one single parameter should change multiple attributes tied to it, i.e. color and intensity.
To further optimize the performance of lighting we decided to go with almost completely static lighting which removed the possibility to fully utilize volumetric fog, so I included that a fake scattering in the blueprint by using a material that deforms a mesh to the shape of the light.
Material parameters
Fake volumetric lighting by deforming cubes or cylinders depending on light type
Various attachments