Skip to content

Effects and Properties Breakdown

Every effect the shader exposes, with its keyword and the properties it owns. Effects List is the place to read what each effect does; this page is the place to look up what to type.

Each effect gives you two things:

  • A keyword, which is what the Material Inspector toggles when you tick the effect on. Effects with several modes, like Light Model, have one keyword per mode rather than an on and off.
  • A toggle property, the property the keyword hangs off. You rarely need it, since enabling an effect from script means enabling its keyword.

The property tables have four columns:

  • Property is the label shown in the Inspector.
  • Name is what you pass to SetFloat, SetColor or SetTexture. See Scripting.
  • Values is the range or type the shader declares, and its default. A slider that reads 0 to 1, default 0.5 will clamp anything outside that, which is worth knowing before you feed it a value from gameplay code.
  • Shown when tells you why a property is hidden until you do something. A value like PBR means the parent effect has to be in that mode. A keyword like `_METALLIC_MAP_ON` means another toggle has to be on first. Where a row says “sets”, that property is itself a toggle and switching it writes that keyword, so it is reached with EnableKeyword rather than SetFloat.

Keywords in this asset are underscore prefixed, _EMISSION_ON rather than EMISSION_ON, which is worth remembering if you are coming from the Sprite Shader or the VFX Toolkit.

Enabling and disabling keywords at runtime moves the material onto a different shader variant, and a variant nothing else uses will not be in your build. How to Enable/Disable Effects at Runtime covers what that costs and how to make it safe. Changing property values, which is what most of this page is for, has none of those problems.

Keyword: _LIGHTMODEL_NONE, _LIGHTMODEL_CLASSIC, _LIGHTMODEL_TOON, _LIGHTMODEL_TOONRAMP, _LIGHTMODEL_HALFLAMBERT, _LIGHTMODEL_FAKEGI, _LIGHTMODEL_FASTLIGHTING. Toggle property: _LightModel.

PropertyNameValuesShown when
Toon Cutoff_ToonCutoff0 to 1, default 0.5Toon
Toon Smoothness_ToonSmoothness0 to 1, default 0.5Toon
Toon Ramp_ToonRamptextureToonRamp
Half Lambert_HalfLambertWrap0 to 1, default 1HalfLambert
Fake GI Hardness_HardnessFakeGI0 to 1, default 0.75FakeGI

Keyword: _SHADINGMODEL_BASIC, _SHADINGMODEL_PBR. Toggle property: _ShadingModel.

PropertyNameValuesShown when
Metallic_Metallic0 to 1, default 0PBR
Smoothness_Smoothness0 to 1, default 0.5PBR
Use Metallic(R) / Smoothness(A) Map?_MetallicMapOnnumber, default 0.0_SHADINGMODEL_PBR, sets _METALLIC_MAP_ON
Metallic Map_MetallicMaptexture_SHADINGMODEL_PBR and _METALLIC_MAP_ON

Keyword: _SPECULARMODEL_NONE, _SPECULARMODEL_CLASSIC, _SPECULARMODEL_TOON, _SPECULARMODEL_ANISOTROPIC, _SPECULARMODEL_ANISOTROPICTOON. Toggle property: _SpecularModel.

PropertyNameValuesShown when
Specular Attenuation_SpecularAtten0 to 1, default 0.5Classic
Specular Toon Cutoff_SpecularToonCutoff0 to 1, default 0.35Toon
Specular Toon Smoothness_SpecularToonSmoothness0 to 1, default 0.0Toon
Specular Map_SpecularMaptextureClassic
Anisotropy_Anisotropy-1 to 1, default 0.45Anisotropic

Keyword: _REFLECTIONS_NONE, _REFLECTIONS_CLASSIC, _REFLECTIONS_TOON. Toggle property: _Reflections.

PropertyNameValuesShown when
Toon Factor_ToonFactor0 to 1, default 0Toon
Attenuation_ReflectionsAtten0 to 1, default 0.5Classic

Keyword: _NORMAL_MAP_ON. Toggle property: _NormalMapEnabled.

PropertyNameValuesShown when
Normal Map_NormalMaptexture
Normal Strength_NormalStrength0.0 to 10.0, default 1.0

Keyword: _FLAT_NORMALS_ON. Toggle property: _FlatNormalsEnabled.

PropertyNameValuesShown when
Blending_FlatNormalsBlend0 to 1, default 1.0

Keyword: _CUSTOM_SHADOW_COLOR_ON. Toggle property: _CustomShadowColorOn.

No properties of its own.

Keyword: _AFFECTED_BY_LIGHTMAPS_ON. Toggle property: _AffectedByLightmaps.

PropertyNameValuesShown when
Lightmap Color Correction?_LightmapColorCorrectionnumber, default 0sets _LIGHTMAP_COLOR_CORRECTION_ON
Hue Shift_HueShiftLM0 to 360, default 0_LIGHTMAP_COLOR_CORRECTION_ON
Hue Saturation_HueSaturationLM0 to 4, default 1_LIGHTMAP_COLOR_CORRECTION_ON
Hue Brightness_HueBrightnessLM0 to 2, default 1_LIGHTMAP_COLOR_CORRECTION_ON
Contrast_ContrastLM0 to 20, default 1.0_LIGHTMAP_COLOR_CORRECTION_ON
Brightness_BrightnessLM-2 to 2, default 0.0_LIGHTMAP_COLOR_CORRECTION_ON

Keyword: _CUSTOM_AMBIENT_LIGHT_ON. Toggle property: _CustomAmbientLightOn.

PropertyNameValuesShown when
Custom Ambient Color_CustomAmbientColorcolour, default (0.65, 0.65, 0.65, 1.0)

Keyword: _CAST_SHADOWS_ON. Toggle property: _CastShadowsOn.

No properties of its own.

Keyword: _RECEIVE_SHADOWS_ON. Toggle property: _ReceiveShadows.

PropertyNameValuesShown when
Shadow Type_ReceivedShadowsTypenumber, default 0sets _RECEIVEDSHADOWSTYPE_CLASSIC, _RECEIVEDSHADOWSTYPE_STYLIZED
Cutoff_ShadowCutoff0.001 to 0.5, default 0.2_RECEIVEDSHADOWSTYPE_STYLIZED

Keyword: _COLOR_RAMP_ON. Toggle property: _ColorRampOn.

PropertyNameValuesShown when
Stage_ColorRampLightingStagenumber, default 0.0_COLOR_RAMP_ON, sets _COLORRAMPLIGHTINGSTAGE_BEFORELIGHTING, _COLORRAMPLIGHTINGSTAGE_AFTERLIGHTING
Color Ramp Tex_ColorRampTextexture
Color Ramp Luminosity_ColorRampLuminosity0 to 1, default 0
Color Ramp Blend_ColorRampBlend0 to 1, default 1
Tiling_ColorRampTiling0.01 to 10, default 1.0
Scroll Speed_ColorRampScrollSpeednumber, default 0.0

Keyword: _AOMAP_ON. Toggle property: _AOMapEnabled.

PropertyNameValuesShown when
AO Map_AOMaptexture
AO Strength_AOMapStrength0 to 1, default 1.0
AO Contrast_AOContrast0 to 1, default 1.0
AO Color_AOColorcolour, default (0, 0, 0, 0)

Keyword: _HIGHLIGHTS_ON. Toggle property: _Highlights.

PropertyNameValuesShown when
Highlights Color_HighlightsColorcolour, default (2, 2, 2, 1)
Highlights Strength_HighlightsStrength0 to 1, default 1
Highlight Cutoff_HighlightCutoff0 to 1, default 0.5
Highlight Smoothness_HighlightSmoothness0 to 1, default 0.5
Highlight Offset_HighlightOffsetvector, default (0, 0, 0, 0)

Keyword: _RIM_LIGHTING_ON. Toggle property: _RimLighting.

PropertyNameValuesShown when
Stage_RimLightingStagenumber, default 0.0_RIM_LIGHTING_ON, sets _RIMLIGHTINGSTAGE_BEFORELIGHTING, _RIMLIGHTINGSTAGE_BEFORELIGHTINGLAST, _RIMLIGHTINGSTAGE_AFTERLIGHTING
Rim Color_RimColorcolour, default (1, 1, 1, 1)
Rim Attenuation_RimAttenuation0 to 1, default 1.0
Min Rim_MinRim0 to 1, default 0
Max Rim_MaxRim0 to 1, default 1.0
Rim Offset_RimOffsetvector, default (0, 0, 0, 0)

Keyword: _GREYSCALE_ON. Toggle property: _Greyscale.

PropertyNameValuesShown when
Stage_GreyScaleStagenumber, default 0sets _GREYSCALESTAGE_BEFORELIGHTING, _GREYSCALESTAGE_AFTERLIGHTING
Luminosity_GreyscaleLuminosity-1 to 1, default 0
Greyscale Tint_GreyscaleTintColorcolour, default (1.0, 1.0, 1.0, 1.0)
Blending_GreyscaleBlending0 to 1, default 1

Keyword: _POSTERIZE_ON. Toggle property: _Posterize.

PropertyNameValuesShown when
Number of Colors_PosterizeNumColors0 to 200, default 8
Posterize Gamma_PosterizeGamma0.1 to 10, default 0.75

Keyword: _HUE_SHIFT_ON. Toggle property: _HueShiftEnabled.

PropertyNameValuesShown when
Hue Shift_HueShift0 to 360, default 0
Saturation_HueSaturation0 to 4, default 1
Brightness_HueBrightness0 to 2, default 1

Keyword: _EMISSION_ON. Toggle property: _EmissionEnabled.

PropertyNameValuesShown when
Emission Self Glow_EmissionSelfGlow0 to 20, default 1
Emission Color_EmissionColorcolour, default (1, 1, 1, 1)
Emission Map_EmissionMaptexture

Keyword: _HOLOGRAM_ON. Toggle property: _Hologram.

PropertyNameValuesShown when
Hologram Color_HologramColorcolour, default (1.25,2.8,6.8,1)
Line Direction_HologramLineDirectionvector, default (0,1,0,0)
Hologram Base Alpha_HologramBaseAlpha0 to 1, default 0.1
Hologram Scroll Speed_HologramScrollSpeednumber, default 2
Hologram Frequency_HologramFrequencynumber, default 20
Hologram Alpha_HologramAlpha0 to 1, default 1
Hologram Accent Speed_HologramAccentSpeednumber, default 1
Hologram Accent Frequency_HologramAccentFrequencynumber, default 2
Hologram Accent Alpha_HologramAccentAlpha0 to 1, default 0.5
Hologram Line Center_HologramLineCenter0 to 1, default 0.5
Hologram Line Spacing_HologramLineSpacing0.001 to 5, default 2.0
Hologram Line Smoothness_HologramLineSmoothness0.01 to 5, default 2.0

Keyword: _MATCAP_ON. Toggle property: _Matcap.

PropertyNameValuesShown when
Blend Mode_MatcapBlendModenumber, default 0sets _MATCAPBLENDMODE_MULTIPLY, _MATCAPBLENDMODE_REPLACE
Matcap Tex_MatcapTextexture
Matcap Intensity_MatcapIntensity0 to 10, default 1.0
Matcap Blend_MatcapBlend0 to 1, default 1.0

Keyword: _HIT_ON. Toggle property: _Hit.

PropertyNameValuesShown when
Hit Color_HitColorcolour, default (1, 1, 1, 1)
Hit Glow_HitGlow0 to 100, default 5
Hit Blend_HitBlend0 to 1, default 1.0

Keyword: _CONTRAST_BRIGHTNESS_ON. Toggle property: _ContrastBrightnessOn.

PropertyNameValuesShown when
Contrast_Contrast0 to 10, default 1.0
Brightness_Brightness-1 to 1, default 0.0

Keyword: _HEIGHT_GRADIENT_ON. Toggle property: _HeightGradientOn.

PropertyNameValuesShown when
Position Space_HeightGradientPositionSpacenumber, default 0sets _HEIGHTGRADIENTPOSITIONSPACE_LOCAL, _HEIGHTGRADIENTPOSITIONSPACE_WORLD
Min Height_MinGradientHeightnumber, default 0.0
Max Height_MaxGradientHeightnumber, default 0.75
Gradient Color 01_GradientHeightColor01colour, default (0.2, 0.2, 0.2, 1)
Gradient Color 02_GradientHeightColor02colour, default (1, 1, 1, 1)

Keyword: _INTERSECTION_GLOW_ON. Toggle property: _IntersectionGlowOn.

PropertyNameValuesShown when
Depth Distance_DepthGlowDist0.01 to 10, default 0.2
Depth Power_DepthGlowPowernumber, default 25.0
Depth Glow Color_DepthGlowColorcolour, default (1.0, 0.987, 0.6, 1.0)
Color Intensity_DepthGlowColorIntensitynumber, default 25.0
Global Intensity_DepthGlowGlobalIntensitynumber, default 2.0

Keyword: _ALBEDO_VERTEX_COLOR_ON. Toggle property: _AlbedoVertexColorOn.

PropertyNameValuesShown when
Mode_AlbedoVertexColorModenumber, default 1sets _ALBEDOVERTEXCOLORMODE_MULTIPLY, _ALBEDOVERTEXCOLORMODE_REPLACE
Blending_VertexColorBlending0 to 1, default 1.0

Keyword: _TRIPLANAR_MAPPING_ON. Toggle property: _TriplanarMappingOn.

PropertyNameValuesShown when
UV Space_TriplanarNormalSpacenumber, default 1.0sets _TRIPLANARNORMALSPACE_LOCAL, _TRIPLANARNORMALSPACE_WORLD
Top Texture_TriplanarTopTextexture
Top Normal Map_TriplanarTopNormalMaptexture
Top Normal Map Strength_TopNormalStrength0.0 to 10.0, default 1.0
Face Down Cutoff_FaceDownCutoff-1 to 1, default 0.25
Sharpness_TriplanarSharpness1 to 200, default 15.0
Noise Transition_TriplanarNoiseTransitionOnnumber, default 0sets _TRIPLANAR_NOISE_TRANSITION_ON
Noise Tex_TriplanarNoiseTextexture_TRIPLANAR_NOISE_TRANSITION_ON
Transition Power_TriplanarTransitionPower0 to 1.0, default 0.75_TRIPLANAR_NOISE_TRANSITION_ON

Keyword: _TEXTURE_BLENDING_ON. Toggle property: _TextureBlending.

PropertyNameValuesShown when
Source_TextureBlendingSourcenumber, default 0sets _TEXTUREBLENDINGSOURCE_VERTEXCOLOR, _TEXTUREBLENDINGSOURCE_TEXTURE
Texture Blending Mask_TexBlendingMasktexture_TEXTUREBLENDINGSOURCE_TEXTURE
Cutoff (G)_BlendingMaskCutoffG0 to 1, default 0.1_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Smoothness (G)_BlendingMaskSmoothnessG0 to 1, default 0.4_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Cutoff (B)_BlendingMaskCutoffB0 to 1, default 0.1_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Smoothness (B)_BlendingMaskSmoothnessB0 to 1, default 0.4_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Cutoff (White)_BlendingMaskCutoffWhite0 to 1, default 0.15_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Smoothness (White)_BlendingMaskSmoothnessWhite0 to 1, default 0.4_TEXTUREBLENDINGSOURCE_TEXTURE or _TEXTUREBLENDINGSOURCE_VERTEXCOLOR
Blending Mode_TextureBlendingModenumber, default 0sets _TEXTUREBLENDINGMODE_RGB, _TEXTUREBLENDINGMODE_BLACKANDWHITE
Blending Texture (G)_BlendingTextureGtexture
Blending Texture (B)_BlendingTextureBtexture
Blending Texture (White)_BlendingTextureWhitetexture
Blending Normal Map (G)_BlendingNormalMapGtexture
Blending Normal Map (B)_BlendingNormalMapBtexture
Blending Normal Map (White)_BlendingNormalMapWhitetexture

Keyword: _DEPTH_COLORING_ON. Toggle property: _DepthColoringOn.

No properties of its own.

Keyword: _SUBSURFACE_SCATTERING_ON. Toggle property: _SubsurfaceScattering.

PropertyNameValuesShown when
Normal Influence_NormalInfluence0 to 2.5, default 0.5
SSS Power_SSSPower0.01 to 20, default 1.0
SSS Front Power_SSSFrontPower0.2 to 20, default 3.0
SSS Front Atten_SSSFrontAtten0 to 1, default 0.3
SSS General Atten_SSSAtten0 to 1, default 1.0
SSS Color_SSSColorcolour, default (1.0, 1.0, 1.0, 1.0)
SSS Map_SSSMaptexture

Keyword: _ALPHA_CUTOFF_ON. Toggle property: _AlphaCutoffOn.

PropertyNameValuesShown when
Cutoff Value_AlphaCutoffValue0 to 1, default 0.25

Keyword: _FADE_ON. Toggle property: _FadeOn.

PropertyNameValuesShown when
Fade Tex_FadeTextexture
UV Set_FadeUVSetnumber, default 0sets _FADEUVSET_UV1, _FADEUVSET_UV2, _FADEUVSET_WORLD_SPACE
Fade Amount_FadeAmount0 to 1, default 0.0
Fade Power_FadePower0.25 to 4.0, default 1.0
Fade Transition_FadeTransition0 to 0.4, default 0.2
Use Fade Burn Color?_FadeBurnOnnumber, default 0.0sets _FADE_BURN_ON
Fade Burn Color_FadeBurnColorcolour, default (1,1,0,1)_FADE_BURN_ON
Fade Burn Width_FadeBurnWidth0 to 0.2, default 0.01_FADE_BURN_ON

Keyword: _INTERSECTION_FADE_ON. Toggle property: _IntersectionFadeOn.

PropertyNameValuesShown when
Intersection Fade Factor_IntersectionFadeFactor0.1 to 3.0, default 1.0

Keyword: _ALPHA_ROUND_ON. Toggle property: _AlphaRoundOn.

No properties of its own.

Keyword: _FADE_BY_CAM_DISTANCE_ON. Toggle property: _FadeByCamDistanceOn.

PropertyNameValuesShown when
Near Fade_NearFadenumber, default 0sets _FADE_BY_CAM_DISTANCE_NEAR_FADE
Min Distance_MinDistanceToFadenumber, default 0
Max Distance_MaxDistanceToFadenumber, default 100

Keyword: _DITHER_ON. Toggle property: _DitherOn.

PropertyNameValuesShown when
Scale_DitherScale0.01 to 2, default 1

Keyword: _VERTEX_SHAKE_ON. Toggle property: _VertexShakeOn.

PropertyNameValuesShown when
Speed_ShakeSpeedvector, default (41, 49, 45, 0)
Shake Mult_ShakeSpeedMultnumber, default 1.0
Shake Max Displacement_ShakeMaxDisplacementvector, default (0.1, 0.1, 0.1, 0)
Shake Blend_ShakeBlend0 to 1, default 1.0

Keyword: _VERTEX_INFLATE_ON. Toggle property: _VertexInflate.

PropertyNameValuesShown when
Min Inflate_MinInflatenumber, default 0.0
Max Inflate_MaxInflatenumber, default 0.2
Inflate blend_InflateBlend0 to 1, default 1.0

Keyword: _VERTEX_DISTORTION_ON. Toggle property: _VertexDistortionOn.

PropertyNameValuesShown when
Noise Tex_VertexDistortionNoiseTextexture
Distortion Amount_VertexDistortionAmount0 to 2, default 0
Scroll Speed X_VertexDistortionNoiseSpeedX-10 to 10, default 4.0
Scroll Speed Y_VertexDistortionNoiseSpeedY-10 to 10, default 4.0

Keyword: _VOXELIZE_ON. Toggle property: _Voxelize.

PropertyNameValuesShown when
Voxel Size_VoxelSize0.1 to 500, default 100
Blend Amount_VoxelBlend0 to 1, default 1

Keyword: _GLITCH_ON. Toggle property: _Glitch.

PropertyNameValuesShown when
Glitch Tiling_GlitchTilingnumber, default 5
Glitch Amount_GlitchAmount0 to 1, default 0.5
Glitch Offset_GlitchOffsetvector, default (-0.5, 0, 0, 0)
Glitch Speed_GlitchSpeednumber, default 2.5
Use World Space_GlitchWorldSpacenumber, default 1

Keyword: _RECALCULATE_NORMALS_ON. Toggle property: _RecalculateNormals.

No properties of its own.

Keyword: _WIND_ON. Toggle property: _WindOn.

PropertyNameValuesShown when
Attenuation_WindAttenuation0 to 1, default 1.0
Use Vertical Mask?_UseVerticalMasknumber, default 1.0sets _USE_WIND_VERTICAL_MASK
Min Y_WindVerticalMaskMinYnumber, default -1.0_USE_WIND_VERTICAL_MASK
Max Y_WindVerticalMaskMaxYnumber, default 1.0_USE_WIND_VERTICAL_MASK

Keyword: _SCROLL_TEXTURE_ON. Toggle property: _ScrollTextureOn.

PropertyNameValuesShown when
Scroll X_ScrollTextureXnumber, default 1.0
Scroll Y_ScrollTextureYnumber, default 1.0

Keyword: _SCREEN_SPACE_UV_ON. Toggle property: _ScreenSpaceUVOn.

PropertyNameValuesShown when
Scale with camera distance_ScaleWithCameraDistance0 to 1, default 0.0

Keyword: _PIXELATE_ON. Toggle property: _Pixelate.

PropertyNameValuesShown when
Pixelate Size_PixelateSize4 to 512, default 32

Keyword: _STOCHASTIC_SAMPLING_ON. Toggle property: _StochasticSampling.

PropertyNameValuesShown when
Grid Scale_StochasticScale0 to 10, default 3.464
Grid Skew_StochasticSkew0 to 3, default 0.57735027

Keyword: _WAVE_UV_ON. Toggle property: _WaveUVOn.

PropertyNameValuesShown when
Wave Amount_WaveAmount0 to 25, default 7
Wave Speed_WaveSpeed0 to 25, default 10
Wave Strength_WaveStrength0 to 25, default 7.5
Wave X Axis_WaveX0 to 1, default 0
Wave Y Axis_WaveY0 to 1, default 0.5

Keyword: _HAND_DRAWN_ON. Toggle property: _HandDrawn.

PropertyNameValuesShown when
Hand Drawn Amount_HandDrawnAmount0 to 50, default 10
Hand Drawn Speed_HandDrawnSpeed1 to 15, default 5

Keyword: _UV_DISTORTION_ON. Toggle property: _UVDistortion.

PropertyNameValuesShown when
Distortion Texture_DistortTextexture
Distortion Amount_DistortAmount0 to 4, default 0.3
Scroll speed X_DistortTexXSpeed-10 to 10, default 2
Scroll speed Y_DistortTexYSpeed-10 to 10, default 2

Keyword: _OUTLINETYPE_NONE, _OUTLINETYPE_SIMPLE, _OUTLINETYPE_CONSTANT, _OUTLINETYPE_FADEWITHDISTANCE. Toggle property: _OutlineType.

PropertyNameValuesShown when
Outline Color_OutlineColorcolour, default (0, 0, 0, 1)Simple
Max Camera Distance_MaxCameraDistancenumber, default 1000Constant
Max Fade Distance_MaxFadeDistancenumber, default 250FadeWithDistance
Outline Thickness_OutlineThicknessnumber, default 1Simple
Outline Mode_OutlineModenumber, default 8Simple