Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to edit postprocessing through script

using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
 
var volume = target.GetComponent<Volume>();

if (volume.profile.TryGet<Bloom>(out var bloom))
{
    bloom.intensity.overrideState = true;
    bloom.intensity.value = 2f;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: check if gameobject is active 
Csharp :: c# cvalidate email 
Csharp :: open url in c# 
Csharp :: make winforms full-screen c# 
Csharp :: textmesh pro text unity 
Csharp :: round to float unity 
Csharp :: unity ray from mouse position 
Csharp :: check connection c# 
Csharp :: c# error messagebox 
Csharp :: unity createassetmenu 
Csharp :: convert base64 string to string c# 
Csharp :: url()- full() laravel 
Csharp :: how to disable a gameObject unity c# 
Csharp :: c# foreach enum 
Csharp :: usermanager change password without current password 
Csharp :: unity log 
Csharp :: c# int to bool 
Csharp :: c# resize image keep aspect ratio 
Csharp :: Error inflating class android.support.constraint.ConstraintLayout 
Csharp :: convert array from string to int c# 
Csharp :: c# try catch with error message 
Csharp :: unity serializefield 
Csharp :: unity main texture not working 
Csharp :: unity how to load up a scene 
Csharp :: c# get current milliseconds 
Csharp :: wpf set image source in code behind 
Csharp :: unity list of gameobjects 
Csharp :: making beep voice in c# 
Csharp :: how to run a function as administrator in c# 
Csharp :: remove last character from string c# 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =