mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-26 03:25:22 +00:00
22 lines
515 B
Text
22 lines
515 B
Text
|
Shader "Unlit/TransparentColored" {
|
||
|
Properties {
|
||
|
_Color ("Main Color", Color) = (1,1,1,1)
|
||
|
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
|
||
|
}
|
||
|
|
||
|
SubShader {
|
||
|
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
|
||
|
|
||
|
ZWrite Off
|
||
|
Lighting Off
|
||
|
Fog { Mode Off }
|
||
|
|
||
|
Blend SrcAlpha OneMinusSrcAlpha
|
||
|
|
||
|
Pass {
|
||
|
Color [_Color]
|
||
|
SetTexture [_MainTex] { combine texture * primary }
|
||
|
}
|
||
|
}
|
||
|
}
|