mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
Shader "SanAndreasUnity/VehicleTransparent"
|
|
{
|
|
Properties
|
|
{
|
|
_MainTex ("Albedo (RGB)", 2D) = "white" {}
|
|
_MaskTex ("Mask (A)", 2D) = "white" {}
|
|
_NoiseTex ("Noise (A)", 2D) = "white" {}
|
|
|
|
_Metallic ("Metallic", Range(0.0, 1.0)) = 0
|
|
_Smoothness ("Smoothness", Range(0.0, 1.0)) = 0
|
|
_Color ("Color", Color) = (1, 1, 1, 1)
|
|
|
|
_CarColorIndex ("Car Color Index", Range(0, 8)) = 0
|
|
|
|
_CarColor1 ("Car Color 1", Color) = (1, 1, 1, 1)
|
|
_CarColor2 ("Car Color 2", Color) = (1, 1, 1, 1)
|
|
_CarColor3 ("Car Color 3", Color) = (1, 1, 1, 1)
|
|
_CarColor4 ("Car Color 4", Color) = (1, 1, 1, 1)
|
|
|
|
_HeadLightColor ("Head Light Color", Color) = (1, 1, 1, 1)
|
|
_TailLightColor ("Tail Light Color", Color) = (1, 1, 1, 1)
|
|
|
|
_Lights ("Light Brightnesses", Vector) = (1, 1, 1, 1)
|
|
}
|
|
|
|
SubShader
|
|
{
|
|
Tags {
|
|
"RenderType" = "Transparent"
|
|
"Queue" = "Transparent"
|
|
}
|
|
|
|
LOD 200
|
|
Cull Off
|
|
ZWrite Off
|
|
|
|
CGPROGRAM
|
|
|
|
#pragma surface surf Standard addshadow alpha
|
|
#pragma target 3.0
|
|
|
|
#define VEHICLE
|
|
|
|
#include "Shared.cginc"
|
|
|
|
ENDCG
|
|
}
|
|
|
|
FallBack "Diffuse"
|
|
}
|