mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00
11 lines
306 B
C#
11 lines
306 B
C#
using UnityEngine;
|
|
|
|
[ExecuteInEditMode]
|
|
[AddComponentMenu("Image Effects/Sepia Tone")]
|
|
public class SepiaToneEffect : ImageEffectBase {
|
|
|
|
// Called by camera to apply image effect
|
|
void OnRenderImage (RenderTexture source, RenderTexture destination) {
|
|
Graphics.Blit (source, destination, material);
|
|
}
|
|
}
|