13 lines
		
	
	
		
			322 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			322 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);
 | 
						|
    }
 | 
						|
} |