Quantcast
Viewing all articles
Browse latest Browse all 713

Post Processing Script doesn't work

So I downloaded Post Processing Stacks and Ii want to turn the screen black and white when the player dies. To test it I added a script in my main camera, and I also tested it in other places, didn't work. This is my code at Start() PostProcessingBehaviour Filter; Filter = Camera.main.GetComponent(); PostProcessingProfile profile = Filter.profile; ColorGradingModel.Settings s = profile.colorGrading.settings; s.basic.saturation = 0; There are no errors, and I added "using UnityEngine.PostProcessing;" at the start. What am I doing wrong?

Viewing all articles
Browse latest Browse all 713

Trending Articles



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