Can't set 'Cloud Scattered luminance Scale' via BP

Hi there,

I am trying to create a sunset/sunrise lighting effect (golden hour) using volumetric clouds. I notice that the only way to control the multi-scattering color of the volumetric cloud is through directional light control.

I tried to mask the multi-scattering cloud in the volumetric cloud material so that I could apply any color using materials, but I couldn’t find a way to do it. Here is an image of the property I want to access, but apparently, there is only ‘get value’.

[Image Removed]

I also notice that changing the sunlight color changes the multi-scattering clouds’ colors, but also changes the sky atmosphere color, which is not desirable.

This is how my clouds look:

[Image Removed]

and I want them to look like this:

[Image Removed]

Regards,

Waji Mughal

Steps to Reproduce

  1. Get a ref of directional light in any Actor BP
  2. Try to find ‘set Cloud scattering Luminance Scale’

Hi,

the reason why you cannot find a “Set Cloud Scattered Luminance Scale” node is because this property has a BluePrintReadOnly flag as can be seen in the image below (in DirectionalLightComponent.h on line 239). :

[Image Removed]

This means that the property can only be changed from C++. Alternatively, you can change the BlueprintReadOnly flag to BlueprintReadWrite in the C++ code, but that would require a recompilation of the source code if you are comfortable with building from source.

Hopefully that helps. If you have more questions, please let me know.

Best,

Sam