I’ve tried a number of tactics to remove the sun (directional light with atmospheric sun light enabled) image at runtime from a scene with blueprints, but have had no success in Unreal 4.26.
Another post I read disclosed the fact that many of the lights actors’ parameters are read-only in Blueprints due to only being drawn during the scene initialization (such as Source Angle), so I’m hoping to find some way of keeping the volumetric light of the sun (for volumetric fog and god rays) without the visible sun image, during some sequences, and then using a Blueprint to restore the sun back to its visual normality.
Being able to reduce the Source Angle to zero, and then back to its float or something the removes the sun billboard would be amazing. Can this be done at runtime outside of Blueprints, such as in a C++ extension or plugin?
Any thoughts would be appreciated.
Source Angle at 1.42
Source Angle at 0.0
Thank you in advance!
Micah