Search Unity

Question Volumetrics enabled by code

Discussion in 'Editor & General Support' started by Vifi, Jan 27, 2022.

  1. Vifi

    Vifi

    Joined:
    Aug 5, 2013
    Posts:
    28
    Hi,
    i am building this tool that has to filter some objects from scene. In a project we use HDRP.
    I wonder if there is any way to filter lights by Volumetrics enabled field. In Debug mode it is called useVolumetric in HDAdditionalLightData component. The thing is that field seems not to have any public property to get its value.
    Do you guys know any way to do this?
    Thanks in advance and cheers!