From 7713e1e3b39f216e936a656e3a103ed294671baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvar=20O=CC=88rn=20Unn=C3=BEo=CC=81rsson?= Date: Wed, 25 Aug 2021 16:16:17 +0200 Subject: [PATCH] Adding [Gamma] tag to the MainColor property inside ParticlesUnlit and Unlit shaders --- .../Shaders/Particles/ParticlesUnlit.shader | 2 +- com.unity.render-pipelines.universal/Shaders/Unlit.shader | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlit.shader b/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlit.shader index ae81674377d..f087eb8f042 100644 --- a/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlit.shader +++ b/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlit.shader @@ -3,7 +3,7 @@ Shader "Universal Render Pipeline/Particles/Unlit" Properties { [MainTexture] _BaseMap("Base Map", 2D) = "white" {} - [MainColor][HDR] _BaseColor("Base Color", Color) = (1,1,1,1) + [MainColor][HDR][Gamma] _BaseColor("Base Color", Color) = (1,1,1,1) _Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5 _BumpMap("Normal Map", 2D) = "bump" {} [HDR] _EmissionColor("Color", Color) = (0,0,0) diff --git a/com.unity.render-pipelines.universal/Shaders/Unlit.shader b/com.unity.render-pipelines.universal/Shaders/Unlit.shader index c74d0c8d165..0e36bdc0400 100644 --- a/com.unity.render-pipelines.universal/Shaders/Unlit.shader +++ b/com.unity.render-pipelines.universal/Shaders/Unlit.shader @@ -3,7 +3,7 @@ Shader "Universal Render Pipeline/Unlit" Properties { [MainTexture] _BaseMap("Texture", 2D) = "white" {} - [MainColor][HDR] _BaseColor("Color", Color) = (1, 1, 1, 1) + [MainColor][HDR][Gamma] _BaseColor("Color", Color) = (1, 1, 1, 1) _Cutoff("AlphaCutout", Range(0.0, 1.0)) = 0.5 // BlendMode