加入很多新内容,这波一块交了
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
|
||||
[Serializable]
|
||||
[VolumeComponentMenu("Post-processing/Bansonic/Global Monochrome")]
|
||||
[SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
|
||||
public sealed class GlobalMonochromeVolume : VolumeComponent, IPostProcessComponent
|
||||
{
|
||||
[Tooltip("Base monochrome intensity from the volume profile.")]
|
||||
public ClampedFloatParameter intensity = new ClampedFloatParameter(0f, 0f, 1f);
|
||||
|
||||
[Tooltip("Whether this effect should run in SceneView cameras.")]
|
||||
public BoolParameter affectSceneView = new BoolParameter(false);
|
||||
|
||||
public bool IsActive() => intensity.value > 0.0001f;
|
||||
|
||||
[Obsolete("Unused #from(2023.1)", false)]
|
||||
public bool IsTileCompatible() => false;
|
||||
}
|
||||
Reference in New Issue
Block a user