WIP furniture picking
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
Shader "Unlit/TransparentColor"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_Color("Color Tint", Color) = (1,1,1,1)
|
||||
_MainTex("Base (RGB) Alpha (A)", 2D) = "white"
|
||||
}
|
||||
|
||||
Category
|
||||
{
|
||||
Lighting Off
|
||||
ZWrite Off
|
||||
//ZWrite On // uncomment if you have problems like the sprite disappear in some rotations.
|
||||
Cull back
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
//AlphaTest Greater 0.001 // uncomment if you have problems like the sprites or 3d text have white quads instead of alpha pixels.
|
||||
Tags{ Queue = Transparent }
|
||||
|
||||
SubShader
|
||||
{
|
||||
Pass
|
||||
{
|
||||
SetTexture[_MainTex]
|
||||
{
|
||||
ConstantColor[_Color]
|
||||
Combine Texture * constant
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c84081e4523a5646919b30697cfccb8
|
||||
timeCreated: 1462087316
|
||||
licenseType: Free
|
||||
ShaderImporter:
|
||||
defaultTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user