A simple shader to make a night vision effect. Features - Screen colorization - Vignette effect - Noise - Scene diffuse (unlit) and scene color (lit) buffer are blended, allow to see in the complete dark while still having luminance difference on pixel affected by lights - Option to have pixels with high luminance tending toward white Screenshots Without effect With effect With/ Without (drag the cursor) Video Source Code [+] Shader Shader "Post Process/Shader_NightVision" { Properties { _MainTex ("Texture", 2D) = "white" {} _ColorTint("Color Tint", Color) = (1, 1, 1, 1) _VignetteRadius("Vignette Radius", Range(0, 2)) = 0.25 _VignetteSmoothness("Vignette Smoothness", Range(0, 2)) = 0.25 _LightSensitivity("Light Sensitivity", Range(1, 100)) = 1 _LightWhiteTreshold("Light White Treshold", Range(0, 1)) = 0.5 _LightWhitePower(...
Comments
Post a Comment