Hello Guy’s,
i have created a sky sphere with a realistic moving sun.
Now i like to create a light that is triggered, when the night begins.
The functionality of this is already working inside a blueprint with a generic spot light.
Now i would like to generate something (a Blueprint, Blueprint component or so) than adds this
Day/Night functionality to all possible lights, so that i can use them like ordinary lights.
In the best case with only one implementation for every light (don’t repeat yourself).
In order to do so i generated a Blueprint, that inherited from spot light and adds the functionality.
This works great but due to this:
I can not change the values from within another blueprint.
I’ve tried it with a blueprint scene component but i can’t make a scene component with only the function and a generic light, that can be added from the surrounding blueprint.
So how do i create a light with this additionally function and use it like a standard light ?
A Blueprint solution would be nice but c++ is also ok