Class ShaderKeywordStrings
Container class for keywords used in URP shaders.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public static class ShaderKeywordStrings
Fields
Name | Description |
---|---|
Additional |
Keyword used for shadows on additional lights. |
Additional |
Keyword used for per pixel additional lights. |
Additional |
Keyword used for per vertex additional lights. |
Billboard |
Keyword used for Billboard cameras. |
Blit |
Keyword used for Single Slice Blits. |
Bloom |
Keyword used for high quality Bloom. |
Bloom |
Keyword used for high quality Bloom dirt. |
Bloom |
Keyword used for low quality Bloom. |
Bloom |
Keyword used for low quality Bloom dirt. |
Casting |
Keyword used during shadow map generation to differentiate between directional and punctual light shadows, as they use different formulas to apply Normal Bias. |
Chromatic |
Keyword used for Chromatic Aberration. |
DBuffer |
Keyword used for first target in the DBuffer. |
DBuffer |
Keyword used for second target in the DBuffer. |
DBuffer |
Keyword used for third target in the DBuffer. |
DEBUG_DISPLAY | Keyword used for Debug Display. |
DIRLIGHTMAP_COMBINED | Keyword used for combined directional Lightmaps. |
DOWNSAMPLING_SIZE_16 | Keyword used for sixteenth size downsampling. |
DOWNSAMPLING_SIZE_2 | Keyword used for half size downsampling. |
DOWNSAMPLING_SIZE_4 | Keyword used for quarter size downsampling. |
DOWNSAMPLING_SIZE_8 | Keyword used for eighth size downsampling. |
DYNAMICLIGHTMAP_ON | Keyword used for dynamic Lightmaps. |
Decal |
Keyword used for Decal Layers. |
Decal |
Keyword used for high quality normal reconstruction in Decals. |
Decal |
Keyword used for low quality normal reconstruction in Decals. |
Decal |
Keyword used for medium quality normal reconstruction in Decals. |
Depth |
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 2 per pixel sample count. |
Depth |
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 4 per pixel sample count. |
Depth |
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 8 per pixel sample count. |
Depth |
Keyword used for no Multi Sampling Anti-Aliasing (MSAA). |
Disable |
Keyword used for disabling Texture 2D Arrays. |
Distortion | Keyword used for Distortion. |
Dithering | Keyword used for Dithering. |
EDITOR_VISUALIZATION | Keyword used for editor visualization. |
EVALUATE_SH_MIXED | Keyword used for mixed Spherical Harmonic (SH) evaluation in URP Lit shaders. |
EVALUATE_SH_VERTEX | Keyword used for vertex Spherical Harmonic (SH) evaluation in URP Lit shaders. |
Easu |
Keyword used for Robust Contrast-Adaptive Sharpening (RCAS) when doing upsampling, after EASU has ran and with HDR Dsiplay output. |
Film |
Keyword used for Film Grain. |
Foveated |
Keyword used for foveated rendering. |
Fxaa | Keyword used for Fast Approximate Anti-aliasing (FXAA). |
Gamma20 | Keyword used for Gamma 2.0. |
Gamma20And |
Keyword used for Gamma 2.0 with HDR_INPUT. |
HDRGrading | Keyword used for HDR Color Grading. |
High |
Keyword used for high quality sampling for Depth Of Field. |
LIGHTMAP_ON | Keyword used for Lightmaps. |
LOD_FADE_CROSSFADE | Keyword used for LOD Crossfade. |
Light |
Keyword used for Light Cookies. |
Light |
Keyword used for Light Layers. |
Lightmap |
Keyword used for mixing lightmap shadows. |
Linear |
Keyword used for Linear to SRGB conversions. |
Main |
Keyword used for shadows with cascades. |
Main |
Keyword used for screen space shadows. |
Main |
Keyword used for shadows without cascades. |
Mixed |
Keyword used for Mixed Lights in Subtractive lighting mode. |
Panini |
Keyword used for generic Panini Projection. |
Panini |
Keyword used for unit distance Panini Projection. |
Point |
Keyword used for Point sampling when doing upsampling. |
Probe |
Keyword used for APV with SH L1 |
Probe |
Keyword used for APV with SH L2 |
Rcas | Keyword used for Robust Contrast-Adaptive Sharpening (RCAS) when doing upsampling. |
Reflection |
Keyword used for Reflection probe blending. |
Reflection |
Keyword used for Box Projection with Reflection Probes. |
Render |
Keyword used for RenderPass. |
SCREEN_COORD_OVERRIDE | Keyword used for applying scale and bias. |
Screen |
Keyword used for Screen Space Occlusion, such as Screen Space Ambient Occlusion (SSAO). |
Shadows |
Keyword used for Shadowmask. |
Smaa |
Keyword used for high quality Subpixel Morphological Anti-aliasing (SMAA). |
Smaa |
Keyword used for low quality Subpixel Morphological Anti-aliasing (SMAA). |
Smaa |
Keyword used for medium quality Subpixel Morphological Anti-aliasing (SMAA). |
Soft |
Keyword used for soft shadows. |
Soft |
Keyword used for high quality soft shadows. |
Soft |
Keyword used for low quality soft shadows. |
Soft |
Keyword used for medium quality soft shadows. |
Tonemap |
Keyword used for ACES Tonemapping. |
Tonemap |
Keyword used for Neutral Tonemapping. |
USE_UNITY_CROSSFADE | Keyword used for LOD Crossfade with ShaderGraph shaders. |
Use |
Keyword used for RGBM format for Bloom. |
Write |
Keyword used for writing Rendering Layers. |
XROcclusion |
Keyword used for rendering a combined mesh for XR. |
_ALPHAMODULATE_ON | Keyword used for Alpha modulate. |
_ALPHAPREMULTIPLY_ON | Keyword used for Alpha premultiply. |
_ALPHATEST_ON | Keyword used for Alpha testing. |
_CLEARCOAT | Keyword used for Clear Coat. |
_CLEARCOATMAP | Keyword used for Clear Coat maps. |
_DEFERRED_FIRST_LIGHT | Keyword used for the first light when rendering with the Deferred rendering path. |
_DEFERRED_MAIN_LIGHT | Keyword used for the main light when rendering with the Deferred rendering path. |
_DEFERRED_MIXED_LIGHTING | Keyword used for Mixed Lighting when rendering with the Deferred rendering path. |
_DEFERRED_STENCIL | Keyword used for stencils when rendering with the Deferred rendering path. |
_DETAIL_MULX2 | Keyword used for 2x detail mapping. |
_DETAIL_SCALED | Keyword used for scaled detail mapping. |
_DIRECTIONAL | Keyword used for Directional lights. |
_EMISSION | Keyword used for Emission. |
_GBUFFER_NORMALS_OCT | Keyword used for Accurate G-buffer normals when rendering with the Deferred rendering path. |
_NORMALMAP | Keyword used for Normal maps. |
_POINT | Keyword used for Point lights. |
_RECEIVE_SHADOWS_OFF | Keyword used for receiving shadows. |
_SPOT | Keyword used for Spot lights. |
_SURFACE_TYPE_TRANSPARENT | Keyword used for opaque or transparent surface types. |