Hi,
I am making a project where i need a visible source of light where i can adjust the intensity in candelas as it is kind of simulator.
I’ve tried to do it with emissive material but I am not sure how to set it up. I want to change the intensity with variable where I’d put the values in cd. Unless there is some other - better way
Would appreciate any help
Hey @zaxeyyy! Welcome to the forums!
You can adjust the intensity of lights by starting wherever it is you need to be it in the Level or a Blueprint, and get that light source (usually it’s a component or actor or whatever you need) drag off of it and use “Set Intensity” and you will get a float value you can use to adjust the light!
Hope that helps!
Thank you sir,
In general my problem is a little more complex.
I’ve already created an Sphere actor with the mentioned material, created the variable aswell. My problem is with it being realistic. By realistic I mean accurate compared to real life light source.
What I need is a formula for the material itself so I can change the intensity by giving candela values.
I found one: CandelaVariable / (4 * Pi * RadiusOfLightSourceSphere²)" and then multiply by color to the emissible input in the material.
It works but how accurate is it? When i set up for example spot light in details i can change intensity in candelas and that’s exactly what i want to achieve with my material, just not sure how possible it is.
Z