Hello, can someone help me colorize this camera effect?
It is a circular fade in/out shader that closes/opens the scene when triggered.
I Don't know anything about shader so I would like to assign a specific color to this effect dynamically via code. Now it is only and always black.
Thank you!
P.S: I found it in a Github repository, thank you "Ellioman"
Shader "Ellioman/BlackCircle"
{
Properties
{
_MainTex ("Base (RGB)", 2D) = "white" {}
}
SubShader
{
Pass
{
ZTest Always
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
#pragma target 3.0
#pragma glsl
#include "UnityCG.cginc"
unif