This is my BloomOpimized script,which is based on Unity's embedded one:
What does BloomOptimized and 4x anti-aliasing product such huge RenderTexture ram cost?
Code (CSharp):
- using System;
- using UnityEngine;
- namespace UnityStandardAssets.ImageEffects
- {
- [ExecuteInEditMode]
- [AddComponentMenu ("Image Effects/Bloom and Glow/Bloom (Optimized)")]
- public class BloomOptimized : PostEffectsBase
- {
- public enum Resolution
- {
- Low = 0,
- High = 1,
- }
- public enum BlurType
- {...