Modify Diffusion Profile Settings from scripting?

Is there a way to modify the HDRP diffusion profile settings from a script? The DiffusionProfileSettings class is internal and not accessible. I would like to be able to control scattering distance of a specific profile at runtime.

Thanks in advance if anyone has an idea on this.

Hello, we are adding this functionality for HDRP 13, coming with 2022.1.
Until then, all diffusion profile APIs are internal so it is not possible to change them with a script

3 Likes

Thank you for the reply! I’m glad to hear it is going to be added.