Quantcast
Viewing latest article 21
Browse Latest Browse All 41

How to turn off or turn on Shadows Midtones Highlights CC from code?

Hi everyone! Can you help me? How can I switch off this value from code? ![alt text][1] [1]: /storage/temp/166500-unity-cc.png That's piece of my code now: using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using UnityEngine.Rendering; using UnityEngine.Rendering.Universal; public class Player : MonoBehaviour { public Volume volume; public void Start() { ShadowsMidtonesHighlights _smh = null; if (volume.profile.TryGet(out _smh)) { _smh.enabled.value = false; } } }

Viewing latest article 21
Browse Latest Browse All 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>