Quantcast
Channel: Questions in topic: "correction"
Viewing all articles
Browse latest Browse all 41

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

$
0
0
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 all articles
Browse latest Browse all 41

Trending Articles



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