23 lines
627 B
Plaintext
23 lines
627 B
Plaintext
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt)
|
|
|
|
Shader "Synty/VertexLit Blended" {
|
|
Properties {
|
|
_EmisColor ("Emissive Color", Color) = (.2,.2,.2,0)
|
|
_MainTex ("Particle Texture", 2D) = "white" {}
|
|
}
|
|
|
|
SubShader {
|
|
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
|
|
Tags { "LightMode" = "Vertex" }
|
|
Cull Back
|
|
Lighting On
|
|
Material { Emission [_EmisColor] }
|
|
ColorMaterial AmbientAndDiffuse
|
|
ZWrite Off
|
|
ColorMask RGB
|
|
Blend SrcAlpha OneMinusSrcAlpha
|
|
Pass {
|
|
SetTexture [_MainTex] { combine primary * texture }
|
|
}
|
|
}
|
|
} |