Skip to content

Instantly share code, notes, and snippets.

@simdezimon
simdezimon / VRNightVision.cs
Last active April 13, 2021 04:18
VR Night Vision Shader
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class VRNightVision : MonoBehaviour {
private Material material;
private Camera cam;
[Tooltip("Grain size in pixel. Should be greater than 1 with supersampling.")]