Window Light Generator for Unreal Engine 5
Window Light Generator is a blueprint + shader combination that allows the easy and quick creation of dynamic and procedural window lights for your urban scenes in Unreal Engine 5. It allows you to create dynamic window lights for your buildings that can change with time, allowing you to make your nighttime city scenes much more alive. Moreover, you can connect the window lights to time of day systems, so that they will be affected by the time of day as well. It is perfectly suited for video games, movies, TV programming, archviz and much more.
The provided textures, meshes and material instances are primarily intended for demo purposes. In production, feel free to use your own assets with Window Light Generator.
Supports Unreal Engine 5.0 and newer.
In order for Window Light Generator to work, you need to enable the Sun Position Calculator plugin in Edit/Plugins.
Downloads:
Window Light Generator supports SunSky and Sun Position Calculator to switch your window lights on and off gradually based on time of day with an integration that is super easy to set up in your scenes.
You can set the time period by which the window lights will change in density. You can also choose to completely randomize the pattern of the lights with each change.
An example of a more subtle use of the time based density changes of the window lights.
Optimized for perfomance, Window Light Generator was designed to run fast and to affect the performance of your scenes as little as possible, as shown in the Shader Complexity View.
Demo scene showing the the meshes and materials Window Light Generator comes with.
Examples of Window Light Generator working with different methods of setting up building models in Unreal Engine.
An example of a single mesh building copied as Hierarchical Instanced Static Meshes.