mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-12 22:44:35 +01:00
19 lines
380 B
C#
19 lines
380 B
C#
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
[RequireComponent(typeof(Camera))]
|
|
[AddComponentMenu("Image Effects/PostFX")]
|
|
[ExecuteInEditMode]
|
|
public class PostFXStandard : PostFXBase
|
|
{
|
|
public LayerMask cullingMask;
|
|
|
|
[ImageEffectTransformsToLDR]
|
|
public void OnRenderImage(RenderTexture source, RenderTexture destination)
|
|
{
|
|
DoPostProcess(source, destination);
|
|
}
|
|
}
|
|
}
|