Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

How to script the post processing stack 2.0.3 with C#?,How to Script Post Processing stack 2.0.3 through C#?

$
0
0
My goal is to set the intensity of bloom with Time.realtimeSinceStartup, and I wrote these. using UnityEngine.Rendering.PostProcessing; public class BloomChange : MonoBehaviour { public PostProcessProfile bloomprofile; public float pbloom; void Update() { var blm = bloomprofile.bloom.settings; } } but received error with`Type `UnityEngine.Rendering.PostProcessing.PostProcessProfile' does not contain a definition for `bloom' and no extension method `bloom' of type `UnityEngine.Rendering.PostProcessing.PostProcessProfile' could be found. Are you missing an assembly reference? ` so how can I now get access to the post processing volume component and change the floats in it? Thx in advance for any help.

Viewing all articles
Browse latest Browse all 713

Trending Articles



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