Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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!