Skip to content

Instantly share code, notes, and snippets.

@toxicFork
Last active August 29, 2015 14:17
Show Gist options
  • Save toxicFork/56e53ead644b541f37f4 to your computer and use it in GitHub Desktop.
Save toxicFork/56e53ead644b541f37f4 to your computer and use it in GitHub Desktop.
Properties
{
_Color("Color", Color) = (1,1,1,1)
_MainTex("Albedo", 2D) = "white" {}
_Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5
_Glossiness("Smoothness", Range(0.0, 1.0)) = 0.5
[Gamma] _Metallic("Metallic", Range(0.0, 1.0)) = 0.0
_MetallicGlossMap("Metallic", 2D) = "white" {}
_BumpScale("Scale", Float) = 1.0
_BumpMap("Normal Map", 2D) = "bump" {}
_Parallax ("Height Scale", Range (0.005, 0.08)) = 0.02
_ParallaxMap ("Height Map", 2D) = "black" {}
_OcclusionStrength("Strength", Range(0.0, 1.0)) = 1.0
_OcclusionMap("Occlusion", 2D) = "white" {}
_EmissionColor("Color", Color) = (0,0,0)
_EmissionMap("Emission", 2D) = "white" {}
_DetailMask("Detail Mask", 2D) = "white" {}
_DetailAlbedoMap("Detail Albedo x2", 2D) = "grey" {}
_DetailNormalMapScale("Scale", Float) = 1.0
_DetailNormalMap("Normal Map", 2D) = "bump" {}
[Enum(UV0,0,UV1,1)] _UVSec ("UV Set for secondary textures", Float) = 0
// UI-only data
[HideInInspector] _EmissionScaleUI("Scale", Float) = 0.0
[HideInInspector] _EmissionColorUI("Color", Color) = (1,1,1)
// Blending state
[HideInInspector] _Mode ("__mode", Float) = 0.0
[HideInInspector] _SrcBlend ("__src", Float) = 1.0
[HideInInspector] _DstBlend ("__dst", Float) = 0.0
[HideInInspector] _ZWrite ("__zw", Float) = 1.0
_planePos ("Clipping Plane Position", Vector) = ( 0, 0, 0, 1 )
_planePos2 ("Clipping Plane Position 2", Vector) = ( 0, 0, 0, 1 )
_planePos3 ("Clipping Plane Position 3", Vector) = ( 0, 0, 0, 1 )
_planeNorm ("Clipping Plane Normal", Vector) = ( 0, 1, 0, 1 )
_planeNorm2 ("Clipping Plane Normal 2", Vector) = ( 0, 1, 0, 1 )
_planeNorm3 ("Clipping Plane Normal 3", Vector) = ( 0, 1, 0, 1 )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment