Driving lamp intensity with material function

If the pseudo-randomness comes from the material, and cannot be recreated in blueprints, then it’s not that trivial. At least I don’t know of an easy way to get any values from shader (GPU part) into blueprints (CPU part). It’s simple to do the other way around though. I haven’t used GoodSky, but how exactly is that random number generated?