I’ve been looking through all the classes and structs in UnityEngine.Experimental.Rendering.HDPipeline as well as the HDRP docs, but I can’t find a solution anywhere. How would I change the resolution of my shadows as well as other things like hard/soft shadows etc. Or am I completely wrong and I should be looking at lights instead?
@EternalClickbait Hi, you probably found the solution by now, but just in case anyone else needs this: if you want to access fields that are specific to HDRP on a light you need to go through the HDAdditionalLightData component.
So if you want to change the shadow dimmer field, you need to do:
myLight.GetComponent<HDAdditionalLightData>().shadowDimmer = 100f;
Hope this helps!