Files
MetalGear2D.Unity/Assets/Standard Assets/Image Effects (Pro Only)/SepiaToneEffect.cs
T

12 lines
324 B
C#
Raw Normal View History

2025-05-13 05:19:58 +03:00
using UnityEngine;
[ExecuteInEditMode]
[AddComponentMenu("Image Effects/Color Adjustments/Sepia Tone")]
public class SepiaToneEffect : ImageEffectBase {
// Called by camera to apply image effect
void OnRenderImage (RenderTexture source, RenderTexture destination) {
Graphics.Blit (source, destination, material);
}
}