Incredible work, thanks for sharing.
Also works really well with hair cards, but somehow it does not work ingame for me?
When I look at it in the editor it works just fine but as soon as I press play the gradients disappear.
Any Idea why? Am I doing something wrong or is this just how it is atm?
Edit:
Managed to fix it but having very limited knowledge of blueprints I dont know how much of a hackjob I did.
I executet the “LightVectorControl” Blueprint on “Begin Play” which solved the problem but gave me a error that “SunLight” accessed none.
So I created another Variable in the “LightVectorControl” Bleprint that stores the SunLight Rotation in a rotator and gets stored everytime I click refresh, the value from that variable then gets fed into the “SetVectorParameterValue”.
This got rid of the error and everything is working now, maybe someone who knows what they are doing can give me a heads up if this was the correct way to go about it?
Or did I just mess up somewhere and it should actually work in playmode without any further tweaks?