I have some glowing objects in my scene, that with HDR off are inactive, so i want to add the option to turn HDR off in my settings to increase performance.
If the code bellow is correct, what should i write inside get component:
public GameObject currentActiveCamera;
currentActiveCamera.GetComponent<???>.hdr = false;