URP HLSL Files Index
- Generated on: 2026-02-19
- URP version: "17.3.0"
- Core version: "17.3.0"
- URP 소스:
<URP> - Core 소스:
<CORE> - Code Browser:
book/generated/urp-17.3.0/code/index.md
Details
<CORE>/ShaderLibrary/ACES.hlsl
Functions
half ACES_to_ACEScc(...)— line 224half3 ACES_to_ACEScc(...)— line 240half ACES_to_ACEScc_fast(...)— line 234float3 ACES_to_ACEScg(...)— line 296half3 ACES_to_unity(...)— line 180half ACEScc_to_ACES(...)— line 268half3 ACEScc_to_ACES(...)— line 279float3 ACEScg_to_ACES(...)— line 309half3 ACEScg_to_Rec2020(...)— line 210half3 ACEScg_to_unity(...)— line 204half bt1886_r(...)— line 760half center_hue(...)— line 373half3 darkSurround_to_dimSurround(...)— line 734SegmentedSplineParams_c9 GetSplineParams_ODT1000Nits(...)— line 601SegmentedSplineParams_c9 GetSplineParams_ODT2000Nits(...)— line 618SegmentedSplineParams_c9 GetSplineParams_ODT4000Nits(...)— line 635SegmentedSplineParams_c9 GetSplineParams_ODT48Nits(...)— line 584half glow_fwd(...)— line 391else if(...)— line 442else if(...)— line 447else if(...)— line 452else if(...)— line 498else if(...)— line 508else if(...)— line 554else if(...)— line 564half3 linear_to_bt1886(...)— line 795half moncurve_r(...)— line 747half3 ODT_1000nits_ToAP1(...)— line 1470half3 ODT_2000nits_ToAP1(...)— line 1486half3 ODT_4000nits_ToAP1(...)— line 1502half3 ODT_P3DCI_48nits(...)— line 1362half3 ODT_Rec2020_1000nits_ToLinear(...)— line 1434half3 ODT_Rec2020_100nits_dim(...)— line 1278half3 ODT_Rec709_100nits_dim(...)— line 1072half3 ODT_Rec709_D60sim_100nits_dim(...)— line 1166half3 ODT_RGBmonitor_100nits_dim(...)— line 860half3 ODT_RGBmonitor_D60sim_100nits_dim(...)— line 960half rgb_2_hue(...)— line 358half rgb_2_saturation(...)— line 320half rgb_2_yc(...)— line 328half roll_white_fwd(...)— line 770half3 RRT(...)— line 668half segmented_spline_c5_fwd(...)— line 473half segmented_spline_c9_fwd(...)— line 537half segmented_spline_c9_fwd(...)— line 653half sigmoid_shaper(...)— line 381half3 unity_to_ACES(...)— line 168half3 unity_to_ACEScg(...)— line 192half3 xyY_2_XYZ(...)— line 724half3 XYZ_2_xyY(...)— line 718half3 Y_2_linCV(...)— line 713
Structs
SegmentedSplineParams_c9— line 526
Macros
__ACES__— line 2ACEScc_MAX— line 63ACEScc_MIDGRAY— line 64
Includes
Common.hlsl— line 61 (Include)
<CORE>/ShaderLibrary/AmbientProbe.hlsl
Functions
real3 EvaluateAmbientProbe(...)— line 45real3 EvaluateAmbientProbeL0(...)— line 87real3 EvaluateAmbientProbeL1(...)— line 74real3 EvaluateAmbientProbeSRGB(...)— line 60void ReconvolveAmbientProbeWithPower(...)— line 9real3 SampleSH(...)— line 69
Macros
__AMBIENTPROBE_HLSL__— line 2
Includes
<CORE>/ShaderLibrary/API/D3D11.hlsl
Macros
ASSIGN_SAMPLER— line 81CALCULATE_TEXTURE2D_LOD— line 45CBUFFER_END— line 23CBUFFER_START— line 22DEPTH_OFFSET_SEMANTIC— line 19FRONT_FACE_SEMANTIC— line 10FRONT_FACE_TYPE— line 11GATHER_ALPHA_TEXTURE2D— line 164GATHER_BLUE_TEXTURE2D— line 163GATHER_GREEN_TEXTURE2D— line 162GATHER_RED_TEXTURE2D— line 161GATHER_TEXTURE2D— line 157GATHER_TEXTURE2D_ARRAY— line 158GATHER_TEXTURECUBE— line 159GATHER_TEXTURECUBE_ARRAY— line 160INSTANCEID_SEMANTIC— line 9IS_FRONT_VFACE— line 12LOAD_TEXTURE2D— line 147LOAD_TEXTURE2D_ARRAY— line 150LOAD_TEXTURE2D_ARRAY_LOD— line 152LOAD_TEXTURE2D_ARRAY_MSAA— line 151LOAD_TEXTURE2D_LOD— line 148LOAD_TEXTURE2D_MSAA— line 149LOAD_TEXTURE3D— line 153LOAD_TEXTURE3D_LOD— line 154PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 26PLATFORM_SAMPLE_TEXTURE2D— line 105PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 109PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 111PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 112PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 110PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 107PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 108PLATFORM_SAMPLE_TEXTURE2D_LOD— line 106PLATFORM_SAMPLE_TEXTURE3D— line 119PLATFORM_SAMPLE_TEXTURE3D_LOD— line 120PLATFORM_SAMPLE_TEXTURECUBE— line 113PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 116PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 118PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 117PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 115PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 114PLATFORM_SUPPORT_GATHER— line 156PLATFORM_SUPPORTS_BUFFER_ATOMICS_IN_PIXEL_SHADER— line 27PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 25PLATFORM_SUPPORTS_PRIMITIVE_ID_IN_PIXEL_SHADER— line 28RW_TEXTURE2D— line 75RW_TEXTURE2D_ARRAY— line 76RW_TEXTURE3D— line 77SAMPLE_DEPTH_TEXTURE— line 144SAMPLE_DEPTH_TEXTURE_LOD— line 145SAMPLE_TEXTURE2D— line 122SAMPLE_TEXTURE2D_ARRAY— line 126SAMPLE_TEXTURE2D_ARRAY_BIAS— line 128SAMPLE_TEXTURE2D_ARRAY_GRAD— line 129SAMPLE_TEXTURE2D_ARRAY_LOD— line 127SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 140SAMPLE_TEXTURE2D_BIAS— line 124SAMPLE_TEXTURE2D_GRAD— line 125SAMPLE_TEXTURE2D_LOD— line 123SAMPLE_TEXTURE2D_SHADOW— line 139SAMPLE_TEXTURE3D— line 136SAMPLE_TEXTURE3D_LOD— line 137SAMPLE_TEXTURECUBE— line 130SAMPLE_TEXTURECUBE_ARRAY— line 133SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 135SAMPLE_TEXTURECUBE_ARRAY_LOD— line 134SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 142SAMPLE_TEXTURECUBE_BIAS— line 132SAMPLE_TEXTURECUBE_LOD— line 131SAMPLE_TEXTURECUBE_SHADOW— line 141SAMPLER— line 79SAMPLER_CMP— line 80SV_POSITION_QUALIFIERS— line 17TEXTURE2D— line 49TEXTURE2D_ARGS— line 94TEXTURE2D_ARRAY— line 50TEXTURE2D_ARRAY_ARGS— line 95TEXTURE2D_ARRAY_FLOAT— line 56TEXTURE2D_ARRAY_HALF— line 62TEXTURE2D_ARRAY_PARAM— line 84TEXTURE2D_ARRAY_SHADOW— line 68TEXTURE2D_ARRAY_SHADOW_ARGS— line 101TEXTURE2D_ARRAY_SHADOW_PARAM— line 90TEXTURE2D_FLOAT— line 55TEXTURE2D_HALF— line 61TEXTURE2D_PARAM— line 83TEXTURE2D_SHADOW— line 67TEXTURE2D_SHADOW_ARGS— line 100TEXTURE2D_SHADOW_PARAM— line 89TEXTURE3D— line 53TEXTURE3D_ARGS— line 98TEXTURE3D_FLOAT— line 59TEXTURE3D_HALF— line 65TEXTURE3D_PARAM— line 87TEXTURECUBE— line 51TEXTURECUBE_ARGS— line 96TEXTURECUBE_ARRAY— line 52TEXTURECUBE_ARRAY_ARGS— line 97TEXTURECUBE_ARRAY_FLOAT— line 58TEXTURECUBE_ARRAY_HALF— line 64TEXTURECUBE_ARRAY_PARAM— line 86TEXTURECUBE_ARRAY_SHADOW— line 70TEXTURECUBE_ARRAY_SHADOW_ARGS— line 103TEXTURECUBE_ARRAY_SHADOW_PARAM— line 92TEXTURECUBE_FLOAT— line 57TEXTURECUBE_HALF— line 63TEXTURECUBE_PARAM— line 85TEXTURECUBE_SHADOW— line 69TEXTURECUBE_SHADOW_ARGS— line 102TEXTURECUBE_SHADOW_PARAM— line 91TYPED_TEXTURE2D— line 72TYPED_TEXTURE2D_ARRAY— line 73TYPED_TEXTURE3D— line 74UNITY_BRANCH— line 32UNITY_FLATTEN— line 33UNITY_LOOP— line 36UNITY_NEAR_CLIP_VALUE— line 5UNITY_RAW_FAR_CLIP_VALUE— line 7UNITY_REVERSED_Z— line 4UNITY_UNROLL— line 34UNITY_UNROLLX— line 35UNITY_UV_STARTS_AT_TOP— line 3VERTEXID_SEMANTIC— line 8ZERO_INITIALIZE— line 40ZERO_INITIALIZE_ARRAY— line 41
<CORE>/ShaderLibrary/API/FoveatedRendering_Metal.hlsl
Functions
float2 RemapFoveatedRenderingDensity(...)— line 34float2 RemapFoveatedRenderingLinearToNonUniform(...)— line 15float2 RemapFoveatedRenderingNonUniformToLinear(...)— line 46float2 RemapFoveatedRenderingNonUniformToLinearCS(...)— line 65float2 RemapFoveatedRenderingPrevFrameDensity(...)— line 40float2 RemapFoveatedRenderingPrevFrameLinearToNonUniform(...)— line 28float2 RemapFoveatedRenderingPrevFrameNonUniformToLinear(...)— line 59
Macros
<CORE>/ShaderLibrary/API/GLCore.hlsl
Macros
ASSIGN_SAMPLER— line 79CALCULATE_TEXTURE2D_LOD— line 36CBUFFER_END— line 18CBUFFER_START— line 17ERROR_ON_UNSUPPORTED_FUNCTION— line 15FRONT_FACE_SEMANTIC— line 11FRONT_FACE_TYPE— line 12GATHER_ALPHA_TEXTURE2D— line 175GATHER_ALPHA_TEXTURE2D— line 184GATHER_BLUE_TEXTURE2D— line 174GATHER_BLUE_TEXTURE2D— line 183GATHER_GREEN_TEXTURE2D— line 173GATHER_GREEN_TEXTURE2D— line 182GATHER_RED_TEXTURE2D— line 172GATHER_RED_TEXTURE2D— line 181GATHER_TEXTURE2D— line 164GATHER_TEXTURE2D— line 177GATHER_TEXTURE2D_ARRAY— line 165GATHER_TEXTURE2D_ARRAY— line 178GATHER_TEXTURECUBE— line 166GATHER_TEXTURECUBE— line 179GATHER_TEXTURECUBE_ARRAY— line 168GATHER_TEXTURECUBE_ARRAY— line 170GATHER_TEXTURECUBE_ARRAY— line 180INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 13LOAD_TEXTURE2D— line 153LOAD_TEXTURE2D_ARRAY— line 156LOAD_TEXTURE2D_ARRAY_LOD— line 158LOAD_TEXTURE2D_ARRAY_MSAA— line 157LOAD_TEXTURE2D_LOD— line 154LOAD_TEXTURE2D_MSAA— line 155LOAD_TEXTURE3D— line 159LOAD_TEXTURE3D_LOD— line 160PLATFORM_SAMPLE_TEXTURE2D— line 103PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 107PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 109PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 110PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 108PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 105PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 106PLATFORM_SAMPLE_TEXTURE2D_LOD— line 104PLATFORM_SAMPLE_TEXTURE3D— line 125PLATFORM_SAMPLE_TEXTURE3D_LOD— line 126PLATFORM_SAMPLE_TEXTURECUBE— line 111PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 116PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 120PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 118PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 122PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 117PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 121PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 113PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 112PLATFORM_SUPPORT_GATHER— line 163PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 20RW_TEXTURE2D— line 68RW_TEXTURE2D— line 72RW_TEXTURE2D_ARRAY— line 69RW_TEXTURE2D_ARRAY— line 73RW_TEXTURE3D— line 70RW_TEXTURE3D— line 74SAMPLE_DEPTH_TEXTURE— line 150SAMPLE_DEPTH_TEXTURE_LOD— line 151SAMPLE_TEXTURE2D— line 128SAMPLE_TEXTURE2D_ARRAY— line 132SAMPLE_TEXTURE2D_ARRAY_BIAS— line 134SAMPLE_TEXTURE2D_ARRAY_GRAD— line 135SAMPLE_TEXTURE2D_ARRAY_LOD— line 133SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 146SAMPLE_TEXTURE2D_BIAS— line 130SAMPLE_TEXTURE2D_GRAD— line 131SAMPLE_TEXTURE2D_LOD— line 129SAMPLE_TEXTURE2D_SHADOW— line 145SAMPLE_TEXTURE3D— line 142SAMPLE_TEXTURE3D_LOD— line 143SAMPLE_TEXTURECUBE— line 136SAMPLE_TEXTURECUBE_ARRAY— line 139SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 141SAMPLE_TEXTURECUBE_ARRAY_LOD— line 140SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 148SAMPLE_TEXTURECUBE_BIAS— line 138SAMPLE_TEXTURECUBE_LOD— line 137SAMPLE_TEXTURECUBE_SHADOW— line 147SAMPLER— line 77SAMPLER_CMP— line 78TEXTURE2D— line 40TEXTURE2D_ARGS— line 92TEXTURE2D_ARRAY— line 41TEXTURE2D_ARRAY_ARGS— line 93TEXTURE2D_ARRAY_FLOAT— line 47TEXTURE2D_ARRAY_HALF— line 53TEXTURE2D_ARRAY_PARAM— line 82TEXTURE2D_ARRAY_SHADOW— line 59TEXTURE2D_ARRAY_SHADOW_ARGS— line 99TEXTURE2D_ARRAY_SHADOW_PARAM— line 88TEXTURE2D_FLOAT— line 46TEXTURE2D_HALF— line 52TEXTURE2D_PARAM— line 81TEXTURE2D_SHADOW— line 58TEXTURE2D_SHADOW_ARGS— line 98TEXTURE2D_SHADOW_PARAM— line 87TEXTURE3D— line 44TEXTURE3D_ARGS— line 96TEXTURE3D_FLOAT— line 50TEXTURE3D_HALF— line 56TEXTURE3D_PARAM— line 85TEXTURECUBE— line 42TEXTURECUBE_ARGS— line 94TEXTURECUBE_ARRAY— line 43TEXTURECUBE_ARRAY_ARGS— line 95TEXTURECUBE_ARRAY_FLOAT— line 49TEXTURECUBE_ARRAY_HALF— line 55TEXTURECUBE_ARRAY_PARAM— line 84TEXTURECUBE_ARRAY_SHADOW— line 61TEXTURECUBE_ARRAY_SHADOW_ARGS— line 101TEXTURECUBE_ARRAY_SHADOW_PARAM— line 90TEXTURECUBE_FLOAT— line 48TEXTURECUBE_HALF— line 54TEXTURECUBE_PARAM— line 83TEXTURECUBE_SHADOW— line 60TEXTURECUBE_SHADOW_ARGS— line 100TEXTURECUBE_SHADOW_PARAM— line 89TYPED_TEXTURE2D— line 63TYPED_TEXTURE2D_ARRAY— line 64TYPED_TEXTURE3D— line 65UNITY_BRANCH— line 23UNITY_FLATTEN— line 24UNITY_LOOP— line 27UNITY_NEAR_CLIP_VALUE— line 5UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_UNROLL— line 25UNITY_UNROLLX— line 26VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 31ZERO_INITIALIZE_ARRAY— line 32
<CORE>/ShaderLibrary/API/GLES3.hlsl
Macros
ASSIGN_SAMPLER— line 100CALCULATE_TEXTURE2D_LOD— line 57CBUFFER_END— line 24CBUFFER_START— line 23ERROR_ON_UNSUPPORTED_FUNCTION— line 21FRONT_FACE_SEMANTIC— line 12FRONT_FACE_SEMANTIC— line 16FRONT_FACE_TYPE— line 13FRONT_FACE_TYPE— line 17GATHER_ALPHA_TEXTURE2D— line 196GATHER_ALPHA_TEXTURE2D— line 205GATHER_BLUE_TEXTURE2D— line 195GATHER_BLUE_TEXTURE2D— line 204GATHER_GREEN_TEXTURE2D— line 194GATHER_GREEN_TEXTURE2D— line 203GATHER_RED_TEXTURE2D— line 193GATHER_RED_TEXTURE2D— line 202GATHER_TEXTURE2D— line 185GATHER_TEXTURE2D— line 198GATHER_TEXTURE2D_ARRAY— line 186GATHER_TEXTURE2D_ARRAY— line 199GATHER_TEXTURECUBE— line 187GATHER_TEXTURECUBE— line 200GATHER_TEXTURECUBE_ARRAY— line 189GATHER_TEXTURECUBE_ARRAY— line 191GATHER_TEXTURECUBE_ARRAY— line 201GLES3_1_AEP— line 36GLES3_1_AEP— line 38INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 14IS_FRONT_VFACE— line 18LIGHT_SHADOWS_NO_CBUFFER— line 47LOAD_TEXTURE2D— line 174LOAD_TEXTURE2D_ARRAY— line 177LOAD_TEXTURE2D_ARRAY_LOD— line 179LOAD_TEXTURE2D_ARRAY_MSAA— line 178LOAD_TEXTURE2D_LOD— line 175LOAD_TEXTURE2D_MSAA— line 176LOAD_TEXTURE3D— line 180LOAD_TEXTURE3D_LOD— line 181PLATFORM_SAMPLE_TEXTURE2D— line 124PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 128PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 130PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 131PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 129PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 126PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 127PLATFORM_SAMPLE_TEXTURE2D_LOD— line 125PLATFORM_SAMPLE_TEXTURE3D— line 146PLATFORM_SAMPLE_TEXTURE3D_LOD— line 147PLATFORM_SAMPLE_TEXTURECUBE— line 132PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 137PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 141PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 139PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 143PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 138PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 142PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 134PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 133PLATFORM_SUPPORT_GATHER— line 184RW_TEXTURE2D— line 89RW_TEXTURE2D— line 93RW_TEXTURE2D_ARRAY— line 90RW_TEXTURE2D_ARRAY— line 94RW_TEXTURE3D— line 91RW_TEXTURE3D— line 95SAMPLE_DEPTH_TEXTURE— line 171SAMPLE_DEPTH_TEXTURE_LOD— line 172SAMPLE_TEXTURE2D— line 149SAMPLE_TEXTURE2D_ARRAY— line 153SAMPLE_TEXTURE2D_ARRAY_BIAS— line 155SAMPLE_TEXTURE2D_ARRAY_GRAD— line 156SAMPLE_TEXTURE2D_ARRAY_LOD— line 154SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 167SAMPLE_TEXTURE2D_BIAS— line 151SAMPLE_TEXTURE2D_GRAD— line 152SAMPLE_TEXTURE2D_LOD— line 150SAMPLE_TEXTURE2D_SHADOW— line 166SAMPLE_TEXTURE3D— line 163SAMPLE_TEXTURE3D_LOD— line 164SAMPLE_TEXTURECUBE— line 157SAMPLE_TEXTURECUBE_ARRAY— line 160SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 162SAMPLE_TEXTURECUBE_ARRAY_LOD— line 161SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 169SAMPLE_TEXTURECUBE_BIAS— line 159SAMPLE_TEXTURECUBE_LOD— line 158SAMPLE_TEXTURECUBE_SHADOW— line 168SAMPLER— line 98SAMPLER_CMP— line 99TEXTURE2D— line 61TEXTURE2D_ARGS— line 113TEXTURE2D_ARRAY— line 62TEXTURE2D_ARRAY_ARGS— line 114TEXTURE2D_ARRAY_FLOAT— line 68TEXTURE2D_ARRAY_HALF— line 74TEXTURE2D_ARRAY_PARAM— line 103TEXTURE2D_ARRAY_SHADOW— line 80TEXTURE2D_ARRAY_SHADOW_ARGS— line 120TEXTURE2D_ARRAY_SHADOW_PARAM— line 109TEXTURE2D_FLOAT— line 67TEXTURE2D_HALF— line 73TEXTURE2D_PARAM— line 102TEXTURE2D_SHADOW— line 79TEXTURE2D_SHADOW_ARGS— line 119TEXTURE2D_SHADOW_PARAM— line 108TEXTURE3D— line 65TEXTURE3D_ARGS— line 117TEXTURE3D_FLOAT— line 71TEXTURE3D_HALF— line 77TEXTURE3D_PARAM— line 106TEXTURECUBE— line 63TEXTURECUBE_ARGS— line 115TEXTURECUBE_ARRAY— line 64TEXTURECUBE_ARRAY_ARGS— line 116TEXTURECUBE_ARRAY_FLOAT— line 70TEXTURECUBE_ARRAY_HALF— line 76TEXTURECUBE_ARRAY_PARAM— line 105TEXTURECUBE_ARRAY_SHADOW— line 82TEXTURECUBE_ARRAY_SHADOW_ARGS— line 122TEXTURECUBE_ARRAY_SHADOW_PARAM— line 111TEXTURECUBE_FLOAT— line 69TEXTURECUBE_HALF— line 75TEXTURECUBE_PARAM— line 104TEXTURECUBE_SHADOW— line 81TEXTURECUBE_SHADOW_ARGS— line 121TEXTURECUBE_SHADOW_PARAM— line 110TYPED_TEXTURE2D— line 84TYPED_TEXTURE2D_ARRAY— line 85TYPED_TEXTURE3D— line 86UNITY_BRANCH— line 28UNITY_FLATTEN— line 29UNITY_LOOP— line 32UNITY_NEAR_CLIP_VALUE— line 5UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_UNROLL— line 30UNITY_UNROLLX— line 31VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 52ZERO_INITIALIZE_ARRAY— line 53
<CORE>/ShaderLibrary/API/Metal.hlsl
Macros
ASSIGN_SAMPLER— line 72CALCULATE_TEXTURE2D_LOD— line 36CBUFFER_END— line 16CBUFFER_START— line 15FRONT_FACE_SEMANTIC— line 11FRONT_FACE_TYPE— line 12GATHER_ALPHA_TEXTURE2D— line 155GATHER_BLUE_TEXTURE2D— line 154GATHER_GREEN_TEXTURE2D— line 153GATHER_RED_TEXTURE2D— line 152GATHER_TEXTURE2D— line 148GATHER_TEXTURE2D_ARRAY— line 149GATHER_TEXTURECUBE— line 150GATHER_TEXTURECUBE_ARRAY— line 151INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 13LOAD_TEXTURE2D— line 138LOAD_TEXTURE2D_ARRAY— line 141LOAD_TEXTURE2D_ARRAY_LOD— line 143LOAD_TEXTURE2D_ARRAY_MSAA— line 142LOAD_TEXTURE2D_LOD— line 139LOAD_TEXTURE2D_MSAA— line 140LOAD_TEXTURE3D— line 144LOAD_TEXTURE3D_LOD— line 145PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 19PLATFORM_SAMPLE_TEXTURE2D— line 96PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 100PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 102PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 103PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 101PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 98PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 99PLATFORM_SAMPLE_TEXTURE2D_LOD— line 97PLATFORM_SAMPLE_TEXTURE3D— line 110PLATFORM_SAMPLE_TEXTURE3D_LOD— line 111PLATFORM_SAMPLE_TEXTURECUBE— line 104PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 107PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 109PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 108PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 106PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 105PLATFORM_SUPPORT_GATHER— line 147PLATFORM_SUPPORTS_BUFFER_ATOMICS_IN_PIXEL_SHADER— line 20PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 18PLATFORM_SUPPORTS_NATIVE_RENDERPASS— line 157RW_TEXTURE2D— line 66RW_TEXTURE2D_ARRAY— line 67RW_TEXTURE3D— line 68SAMPLE_DEPTH_TEXTURE— line 135SAMPLE_DEPTH_TEXTURE_LOD— line 136SAMPLE_TEXTURE2D— line 113SAMPLE_TEXTURE2D_ARRAY— line 117SAMPLE_TEXTURE2D_ARRAY_BIAS— line 119SAMPLE_TEXTURE2D_ARRAY_GRAD— line 120SAMPLE_TEXTURE2D_ARRAY_LOD— line 118SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 131SAMPLE_TEXTURE2D_BIAS— line 115SAMPLE_TEXTURE2D_GRAD— line 116SAMPLE_TEXTURE2D_LOD— line 114SAMPLE_TEXTURE2D_SHADOW— line 130SAMPLE_TEXTURE3D— line 127SAMPLE_TEXTURE3D_LOD— line 128SAMPLE_TEXTURECUBE— line 121SAMPLE_TEXTURECUBE_ARRAY— line 124SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 126SAMPLE_TEXTURECUBE_ARRAY_LOD— line 125SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 133SAMPLE_TEXTURECUBE_BIAS— line 123SAMPLE_TEXTURECUBE_LOD— line 122SAMPLE_TEXTURECUBE_SHADOW— line 132SAMPLER— line 70SAMPLER_CMP— line 71TEXTURE2D— line 40TEXTURE2D_ARGS— line 85TEXTURE2D_ARRAY— line 41TEXTURE2D_ARRAY_ARGS— line 86TEXTURE2D_ARRAY_FLOAT— line 47TEXTURE2D_ARRAY_HALF— line 53TEXTURE2D_ARRAY_PARAM— line 75TEXTURE2D_ARRAY_SHADOW— line 59TEXTURE2D_ARRAY_SHADOW_ARGS— line 92TEXTURE2D_ARRAY_SHADOW_PARAM— line 81TEXTURE2D_FLOAT— line 46TEXTURE2D_HALF— line 52TEXTURE2D_PARAM— line 74TEXTURE2D_SHADOW— line 58TEXTURE2D_SHADOW_ARGS— line 91TEXTURE2D_SHADOW_PARAM— line 80TEXTURE3D— line 44TEXTURE3D_ARGS— line 89TEXTURE3D_FLOAT— line 50TEXTURE3D_HALF— line 56TEXTURE3D_PARAM— line 78TEXTURECUBE— line 42TEXTURECUBE_ARGS— line 87TEXTURECUBE_ARRAY— line 43TEXTURECUBE_ARRAY_ARGS— line 88TEXTURECUBE_ARRAY_FLOAT— line 49TEXTURECUBE_ARRAY_HALF— line 55TEXTURECUBE_ARRAY_PARAM— line 77TEXTURECUBE_ARRAY_SHADOW— line 61TEXTURECUBE_ARRAY_SHADOW_ARGS— line 94TEXTURECUBE_ARRAY_SHADOW_PARAM— line 83TEXTURECUBE_FLOAT— line 48TEXTURECUBE_HALF— line 54TEXTURECUBE_PARAM— line 76TEXTURECUBE_SHADOW— line 60TEXTURECUBE_SHADOW_ARGS— line 93TEXTURECUBE_SHADOW_PARAM— line 82TYPED_TEXTURE2D— line 63TYPED_TEXTURE2D_ARRAY— line 64TYPED_TEXTURE3D— line 65UNITY_BRANCH— line 23UNITY_FLATTEN— line 24UNITY_LOOP— line 27UNITY_NEAR_CLIP_VALUE— line 6UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_REVERSED_Z— line 5UNITY_UNROLL— line 25UNITY_UNROLLX— line 26UNITY_UV_STARTS_AT_TOP— line 4VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 31ZERO_INITIALIZE_ARRAY— line 32
<CORE>/ShaderLibrary/API/Switch.hlsl
Macros
ASSIGN_SAMPLER— line 72CALCULATE_TEXTURE2D_LOD— line 36CBUFFER_END— line 16CBUFFER_START— line 15FRONT_FACE_SEMANTIC— line 11FRONT_FACE_TYPE— line 12GATHER_ALPHA_TEXTURE2D— line 155GATHER_BLUE_TEXTURE2D— line 154GATHER_GREEN_TEXTURE2D— line 153GATHER_RED_TEXTURE2D— line 152GATHER_TEXTURE2D— line 148GATHER_TEXTURE2D_ARRAY— line 149GATHER_TEXTURECUBE— line 150GATHER_TEXTURECUBE_ARRAY— line 151INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 13LOAD_TEXTURE2D— line 138LOAD_TEXTURE2D_ARRAY— line 141LOAD_TEXTURE2D_ARRAY_LOD— line 143LOAD_TEXTURE2D_ARRAY_MSAA— line 142LOAD_TEXTURE2D_LOD— line 139LOAD_TEXTURE2D_MSAA— line 140LOAD_TEXTURE3D— line 144LOAD_TEXTURE3D_LOD— line 145PLATFORM_LANE_COUNT— line 20PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 19PLATFORM_SAMPLE_TEXTURE2D— line 96PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 100PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 102PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 103PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 101PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 98PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 99PLATFORM_SAMPLE_TEXTURE2D_LOD— line 97PLATFORM_SAMPLE_TEXTURE3D— line 110PLATFORM_SAMPLE_TEXTURE3D_LOD— line 111PLATFORM_SAMPLE_TEXTURECUBE— line 104PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 107PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 109PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 108PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 106PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 105PLATFORM_SUPPORT_GATHER— line 147PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 18RW_TEXTURE2D— line 66RW_TEXTURE2D_ARRAY— line 67RW_TEXTURE3D— line 68SAMPLE_DEPTH_TEXTURE— line 135SAMPLE_DEPTH_TEXTURE_LOD— line 136SAMPLE_TEXTURE2D— line 113SAMPLE_TEXTURE2D_ARRAY— line 117SAMPLE_TEXTURE2D_ARRAY_BIAS— line 119SAMPLE_TEXTURE2D_ARRAY_GRAD— line 120SAMPLE_TEXTURE2D_ARRAY_LOD— line 118SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 131SAMPLE_TEXTURE2D_BIAS— line 115SAMPLE_TEXTURE2D_GRAD— line 116SAMPLE_TEXTURE2D_LOD— line 114SAMPLE_TEXTURE2D_SHADOW— line 130SAMPLE_TEXTURE3D— line 127SAMPLE_TEXTURE3D_LOD— line 128SAMPLE_TEXTURECUBE— line 121SAMPLE_TEXTURECUBE_ARRAY— line 124SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 126SAMPLE_TEXTURECUBE_ARRAY_LOD— line 125SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 133SAMPLE_TEXTURECUBE_BIAS— line 123SAMPLE_TEXTURECUBE_LOD— line 122SAMPLE_TEXTURECUBE_SHADOW— line 132SAMPLER— line 70SAMPLER_CMP— line 71TEXTURE2D— line 40TEXTURE2D_ARGS— line 85TEXTURE2D_ARRAY— line 41TEXTURE2D_ARRAY_ARGS— line 86TEXTURE2D_ARRAY_FLOAT— line 47TEXTURE2D_ARRAY_HALF— line 53TEXTURE2D_ARRAY_PARAM— line 75TEXTURE2D_ARRAY_SHADOW— line 59TEXTURE2D_ARRAY_SHADOW_ARGS— line 92TEXTURE2D_ARRAY_SHADOW_PARAM— line 81TEXTURE2D_FLOAT— line 46TEXTURE2D_HALF— line 52TEXTURE2D_PARAM— line 74TEXTURE2D_SHADOW— line 58TEXTURE2D_SHADOW_ARGS— line 91TEXTURE2D_SHADOW_PARAM— line 80TEXTURE3D— line 44TEXTURE3D_ARGS— line 89TEXTURE3D_FLOAT— line 50TEXTURE3D_HALF— line 56TEXTURE3D_PARAM— line 78TEXTURECUBE— line 42TEXTURECUBE_ARGS— line 87TEXTURECUBE_ARRAY— line 43TEXTURECUBE_ARRAY_ARGS— line 88TEXTURECUBE_ARRAY_FLOAT— line 49TEXTURECUBE_ARRAY_HALF— line 55TEXTURECUBE_ARRAY_PARAM— line 77TEXTURECUBE_ARRAY_SHADOW— line 61TEXTURECUBE_ARRAY_SHADOW_ARGS— line 94TEXTURECUBE_ARRAY_SHADOW_PARAM— line 83TEXTURECUBE_FLOAT— line 48TEXTURECUBE_HALF— line 54TEXTURECUBE_PARAM— line 76TEXTURECUBE_SHADOW— line 60TEXTURECUBE_SHADOW_ARGS— line 93TEXTURECUBE_SHADOW_PARAM— line 82TYPED_TEXTURE2D— line 63TYPED_TEXTURE2D_ARRAY— line 64TYPED_TEXTURE3D— line 65UNITY_BRANCH— line 23UNITY_FLATTEN— line 24UNITY_LOOP— line 27UNITY_NEAR_CLIP_VALUE— line 6UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_REVERSED_Z— line 5UNITY_UNROLL— line 25UNITY_UNROLLX— line 26UNITY_UV_STARTS_AT_TOP— line 4VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 31ZERO_INITIALIZE_ARRAY— line 32
<CORE>/ShaderLibrary/API/Switch2.hlsl
Macros
ASSIGN_SAMPLER— line 72CALCULATE_TEXTURE2D_LOD— line 36CBUFFER_END— line 16CBUFFER_START— line 15FRONT_FACE_SEMANTIC— line 11FRONT_FACE_TYPE— line 12GATHER_ALPHA_TEXTURE2D— line 155GATHER_BLUE_TEXTURE2D— line 154GATHER_GREEN_TEXTURE2D— line 153GATHER_RED_TEXTURE2D— line 152GATHER_TEXTURE2D— line 148GATHER_TEXTURE2D_ARRAY— line 149GATHER_TEXTURECUBE— line 150GATHER_TEXTURECUBE_ARRAY— line 151INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 13LOAD_TEXTURE2D— line 138LOAD_TEXTURE2D_ARRAY— line 141LOAD_TEXTURE2D_ARRAY_LOD— line 143LOAD_TEXTURE2D_ARRAY_MSAA— line 142LOAD_TEXTURE2D_LOD— line 139LOAD_TEXTURE2D_MSAA— line 140LOAD_TEXTURE3D— line 144LOAD_TEXTURE3D_LOD— line 145PLATFORM_LANE_COUNT— line 20PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 19PLATFORM_SAMPLE_TEXTURE2D— line 96PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 100PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 102PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 103PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 101PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 98PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 99PLATFORM_SAMPLE_TEXTURE2D_LOD— line 97PLATFORM_SAMPLE_TEXTURE3D— line 110PLATFORM_SAMPLE_TEXTURE3D_LOD— line 111PLATFORM_SAMPLE_TEXTURECUBE— line 104PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 107PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 109PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 108PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 106PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 105PLATFORM_SUPPORT_GATHER— line 147PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 18RW_TEXTURE2D— line 66RW_TEXTURE2D_ARRAY— line 67RW_TEXTURE3D— line 68SAMPLE_DEPTH_TEXTURE— line 135SAMPLE_DEPTH_TEXTURE_LOD— line 136SAMPLE_TEXTURE2D— line 113SAMPLE_TEXTURE2D_ARRAY— line 117SAMPLE_TEXTURE2D_ARRAY_BIAS— line 119SAMPLE_TEXTURE2D_ARRAY_GRAD— line 120SAMPLE_TEXTURE2D_ARRAY_LOD— line 118SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 131SAMPLE_TEXTURE2D_BIAS— line 115SAMPLE_TEXTURE2D_GRAD— line 116SAMPLE_TEXTURE2D_LOD— line 114SAMPLE_TEXTURE2D_SHADOW— line 130SAMPLE_TEXTURE3D— line 127SAMPLE_TEXTURE3D_LOD— line 128SAMPLE_TEXTURECUBE— line 121SAMPLE_TEXTURECUBE_ARRAY— line 124SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 126SAMPLE_TEXTURECUBE_ARRAY_LOD— line 125SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 133SAMPLE_TEXTURECUBE_BIAS— line 123SAMPLE_TEXTURECUBE_LOD— line 122SAMPLE_TEXTURECUBE_SHADOW— line 132SAMPLER— line 70SAMPLER_CMP— line 71TEXTURE2D— line 40TEXTURE2D_ARGS— line 85TEXTURE2D_ARRAY— line 41TEXTURE2D_ARRAY_ARGS— line 86TEXTURE2D_ARRAY_FLOAT— line 47TEXTURE2D_ARRAY_HALF— line 53TEXTURE2D_ARRAY_PARAM— line 75TEXTURE2D_ARRAY_SHADOW— line 59TEXTURE2D_ARRAY_SHADOW_ARGS— line 92TEXTURE2D_ARRAY_SHADOW_PARAM— line 81TEXTURE2D_FLOAT— line 46TEXTURE2D_HALF— line 52TEXTURE2D_PARAM— line 74TEXTURE2D_SHADOW— line 58TEXTURE2D_SHADOW_ARGS— line 91TEXTURE2D_SHADOW_PARAM— line 80TEXTURE3D— line 44TEXTURE3D_ARGS— line 89TEXTURE3D_FLOAT— line 50TEXTURE3D_HALF— line 56TEXTURE3D_PARAM— line 78TEXTURECUBE— line 42TEXTURECUBE_ARGS— line 87TEXTURECUBE_ARRAY— line 43TEXTURECUBE_ARRAY_ARGS— line 88TEXTURECUBE_ARRAY_FLOAT— line 49TEXTURECUBE_ARRAY_HALF— line 55TEXTURECUBE_ARRAY_PARAM— line 77TEXTURECUBE_ARRAY_SHADOW— line 61TEXTURECUBE_ARRAY_SHADOW_ARGS— line 94TEXTURECUBE_ARRAY_SHADOW_PARAM— line 83TEXTURECUBE_FLOAT— line 48TEXTURECUBE_HALF— line 54TEXTURECUBE_PARAM— line 76TEXTURECUBE_SHADOW— line 60TEXTURECUBE_SHADOW_ARGS— line 93TEXTURECUBE_SHADOW_PARAM— line 82TYPED_TEXTURE2D— line 63TYPED_TEXTURE2D_ARRAY— line 64TYPED_TEXTURE3D— line 65UNITY_BRANCH— line 23UNITY_FLATTEN— line 24UNITY_LOOP— line 27UNITY_NEAR_CLIP_VALUE— line 6UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_REVERSED_Z— line 5UNITY_UNROLL— line 25UNITY_UNROLLX— line 26UNITY_UV_STARTS_AT_TOP— line 4VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 31ZERO_INITIALIZE_ARRAY— line 32
<CORE>/ShaderLibrary/API/Validate.hlsl
Macros
REQUIRE_DEFINED— line 3UNITY_BRANCH— line 25UNITY_FLATTEN— line 28UNITY_LOOP— line 37UNITY_UNROLL— line 31UNITY_UNROLLX— line 34
<CORE>/ShaderLibrary/API/Vulkan.hlsl
Functions
float4 ApplyPretransformRotation(...)— line 172
Macros
ASSIGN_SAMPLER— line 73CALCULATE_TEXTURE2D_LOD— line 37CBUFFER_END— line 16CBUFFER_START— line 15FRONT_FACE_SEMANTIC— line 11FRONT_FACE_TYPE— line 12GATHER_ALPHA_TEXTURE2D— line 156GATHER_BLUE_TEXTURE2D— line 155GATHER_GREEN_TEXTURE2D— line 154GATHER_RED_TEXTURE2D— line 153GATHER_TEXTURE2D— line 149GATHER_TEXTURE2D_ARRAY— line 150GATHER_TEXTURECUBE— line 151GATHER_TEXTURECUBE_ARRAY— line 152INSTANCEID_SEMANTIC— line 10IS_FRONT_VFACE— line 13LOAD_TEXTURE2D— line 139LOAD_TEXTURE2D_ARRAY— line 142LOAD_TEXTURE2D_ARRAY_LOD— line 144LOAD_TEXTURE2D_ARRAY_MSAA— line 143LOAD_TEXTURE2D_LOD— line 140LOAD_TEXTURE2D_MSAA— line 141LOAD_TEXTURE3D— line 145LOAD_TEXTURE3D_LOD— line 146PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 19PLATFORM_SAMPLE_TEXTURE2D— line 97PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 101PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 103PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 104PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 102PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 99PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 100PLATFORM_SAMPLE_TEXTURE2D_LOD— line 98PLATFORM_SAMPLE_TEXTURE3D— line 111PLATFORM_SAMPLE_TEXTURE3D_LOD— line 112PLATFORM_SAMPLE_TEXTURECUBE— line 105PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 108PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 110PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 109PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 107PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 106PLATFORM_SUPPORT_GATHER— line 148PLATFORM_SUPPORTS_BUFFER_ATOMICS_IN_PIXEL_SHADER— line 20PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 18PLATFORM_SUPPORTS_NATIVE_RENDERPASS— line 158PLATFORM_SUPPORTS_PRIMITIVE_ID_IN_PIXEL_SHADER— line 21RW_TEXTURE2D— line 67RW_TEXTURE2D_ARRAY— line 68RW_TEXTURE3D— line 69SAMPLE_DEPTH_TEXTURE— line 136SAMPLE_DEPTH_TEXTURE_LOD— line 137SAMPLE_TEXTURE2D— line 114SAMPLE_TEXTURE2D_ARRAY— line 118SAMPLE_TEXTURE2D_ARRAY_BIAS— line 120SAMPLE_TEXTURE2D_ARRAY_GRAD— line 121SAMPLE_TEXTURE2D_ARRAY_LOD— line 119SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 132SAMPLE_TEXTURE2D_BIAS— line 116SAMPLE_TEXTURE2D_GRAD— line 117SAMPLE_TEXTURE2D_LOD— line 115SAMPLE_TEXTURE2D_SHADOW— line 131SAMPLE_TEXTURE3D— line 128SAMPLE_TEXTURE3D_LOD— line 129SAMPLE_TEXTURECUBE— line 122SAMPLE_TEXTURECUBE_ARRAY— line 125SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 127SAMPLE_TEXTURECUBE_ARRAY_LOD— line 126SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 134SAMPLE_TEXTURECUBE_BIAS— line 124SAMPLE_TEXTURECUBE_LOD— line 123SAMPLE_TEXTURECUBE_SHADOW— line 133SAMPLER— line 71SAMPLER_CMP— line 72TEXTURE2D— line 41TEXTURE2D_ARGS— line 86TEXTURE2D_ARRAY— line 42TEXTURE2D_ARRAY_ARGS— line 87TEXTURE2D_ARRAY_FLOAT— line 48TEXTURE2D_ARRAY_HALF— line 54TEXTURE2D_ARRAY_PARAM— line 76TEXTURE2D_ARRAY_SHADOW— line 60TEXTURE2D_ARRAY_SHADOW_ARGS— line 93TEXTURE2D_ARRAY_SHADOW_PARAM— line 82TEXTURE2D_FLOAT— line 47TEXTURE2D_HALF— line 53TEXTURE2D_PARAM— line 75TEXTURE2D_SHADOW— line 59TEXTURE2D_SHADOW_ARGS— line 92TEXTURE2D_SHADOW_PARAM— line 81TEXTURE3D— line 45TEXTURE3D_ARGS— line 90TEXTURE3D_FLOAT— line 51TEXTURE3D_HALF— line 57TEXTURE3D_PARAM— line 79TEXTURECUBE— line 43TEXTURECUBE_ARGS— line 88TEXTURECUBE_ARRAY— line 44TEXTURECUBE_ARRAY_ARGS— line 89TEXTURECUBE_ARRAY_FLOAT— line 50TEXTURECUBE_ARRAY_HALF— line 56TEXTURECUBE_ARRAY_PARAM— line 78TEXTURECUBE_ARRAY_SHADOW— line 62TEXTURECUBE_ARRAY_SHADOW_ARGS— line 95TEXTURECUBE_ARRAY_SHADOW_PARAM— line 84TEXTURECUBE_FLOAT— line 49TEXTURECUBE_HALF— line 55TEXTURECUBE_PARAM— line 77TEXTURECUBE_SHADOW— line 61TEXTURECUBE_SHADOW_ARGS— line 94TEXTURECUBE_SHADOW_PARAM— line 83TYPED_TEXTURE2D— line 64TYPED_TEXTURE2D_ARRAY— line 65TYPED_TEXTURE3D— line 66UNITY_BRANCH— line 24UNITY_DISPLAY_ORIENTATION_PRETRANSFORM— line 167UNITY_DISPLAY_ORIENTATION_PRETRANSFORM_0— line 168UNITY_DISPLAY_ORIENTATION_PRETRANSFORM_180— line 170UNITY_DISPLAY_ORIENTATION_PRETRANSFORM_270— line 171UNITY_DISPLAY_ORIENTATION_PRETRANSFORM_90— line 169UNITY_FLATTEN— line 25UNITY_LOOP— line 28UNITY_NEAR_CLIP_VALUE— line 6UNITY_RAW_FAR_CLIP_VALUE— line 8UNITY_REVERSED_Z— line 5UNITY_UNROLL— line 26UNITY_UNROLLX— line 27UNITY_UV_STARTS_AT_TOP— line 4VERTEXID_SEMANTIC— line 9ZERO_INITIALIZE— line 32ZERO_INITIALIZE_ARRAY— line 33
<CORE>/ShaderLibrary/API/WebGPU.hlsl
Macros
ASSIGN_SAMPLER— line 70CALCULATE_TEXTURE2D_LOD— line 34CBUFFER_END— line 13CBUFFER_START— line 12FRONT_FACE_SEMANTIC— line 8FRONT_FACE_TYPE— line 9GATHER_ALPHA_TEXTURE2D— line 153GATHER_BLUE_TEXTURE2D— line 152GATHER_GREEN_TEXTURE2D— line 151GATHER_RED_TEXTURE2D— line 150GATHER_TEXTURE2D— line 146GATHER_TEXTURE2D_ARRAY— line 147GATHER_TEXTURECUBE— line 148GATHER_TEXTURECUBE_ARRAY— line 149INSTANCEID_SEMANTIC— line 7IS_FRONT_VFACE— line 10LOAD_TEXTURE2D— line 136LOAD_TEXTURE2D_ARRAY— line 139LOAD_TEXTURE2D_ARRAY_LOD— line 141LOAD_TEXTURE2D_ARRAY_MSAA— line 140LOAD_TEXTURE2D_LOD— line 137LOAD_TEXTURE2D_MSAA— line 138LOAD_TEXTURE3D— line 142LOAD_TEXTURE3D_LOD— line 143PLATFORM_NEEDS_UNORM_UAV_SPECIFIER— line 16PLATFORM_SAMPLE_TEXTURE2D— line 94PLATFORM_SAMPLE_TEXTURE2D_ARRAY— line 98PLATFORM_SAMPLE_TEXTURE2D_ARRAY_BIAS— line 100PLATFORM_SAMPLE_TEXTURE2D_ARRAY_GRAD— line 101PLATFORM_SAMPLE_TEXTURE2D_ARRAY_LOD— line 99PLATFORM_SAMPLE_TEXTURE2D_BIAS— line 96PLATFORM_SAMPLE_TEXTURE2D_GRAD— line 97PLATFORM_SAMPLE_TEXTURE2D_LOD— line 95PLATFORM_SAMPLE_TEXTURE3D— line 108PLATFORM_SAMPLE_TEXTURE3D_LOD— line 109PLATFORM_SAMPLE_TEXTURECUBE— line 102PLATFORM_SAMPLE_TEXTURECUBE_ARRAY— line 105PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 107PLATFORM_SAMPLE_TEXTURECUBE_ARRAY_LOD— line 106PLATFORM_SAMPLE_TEXTURECUBE_BIAS— line 104PLATFORM_SAMPLE_TEXTURECUBE_LOD— line 103PLATFORM_SUPPORT_GATHER— line 145PLATFORM_SUPPORTS_BUFFER_ATOMICS_IN_PIXEL_SHADER— line 17PLATFORM_SUPPORTS_EXPLICIT_BINDING— line 15PLATFORM_SUPPORTS_PRIMITIVE_ID_IN_PIXEL_SHADER— line 18RW_TEXTURE2D— line 64RW_TEXTURE2D_ARRAY— line 65RW_TEXTURE3D— line 66SAMPLE_DEPTH_TEXTURE— line 133SAMPLE_DEPTH_TEXTURE_LOD— line 134SAMPLE_TEXTURE2D— line 111SAMPLE_TEXTURE2D_ARRAY— line 115SAMPLE_TEXTURE2D_ARRAY_BIAS— line 117SAMPLE_TEXTURE2D_ARRAY_GRAD— line 118SAMPLE_TEXTURE2D_ARRAY_LOD— line 116SAMPLE_TEXTURE2D_ARRAY_SHADOW— line 129SAMPLE_TEXTURE2D_BIAS— line 113SAMPLE_TEXTURE2D_GRAD— line 114SAMPLE_TEXTURE2D_LOD— line 112SAMPLE_TEXTURE2D_SHADOW— line 128SAMPLE_TEXTURE3D— line 125SAMPLE_TEXTURE3D_LOD— line 126SAMPLE_TEXTURECUBE— line 119SAMPLE_TEXTURECUBE_ARRAY— line 122SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 124SAMPLE_TEXTURECUBE_ARRAY_LOD— line 123SAMPLE_TEXTURECUBE_ARRAY_SHADOW— line 131SAMPLE_TEXTURECUBE_BIAS— line 121SAMPLE_TEXTURECUBE_LOD— line 120SAMPLE_TEXTURECUBE_SHADOW— line 130SAMPLER— line 68SAMPLER_CMP— line 69TEXTURE2D— line 38TEXTURE2D_ARGS— line 83TEXTURE2D_ARRAY— line 39TEXTURE2D_ARRAY_ARGS— line 84TEXTURE2D_ARRAY_FLOAT— line 45TEXTURE2D_ARRAY_HALF— line 51TEXTURE2D_ARRAY_PARAM— line 73TEXTURE2D_ARRAY_SHADOW— line 57TEXTURE2D_ARRAY_SHADOW_ARGS— line 90TEXTURE2D_ARRAY_SHADOW_PARAM— line 79TEXTURE2D_FLOAT— line 44TEXTURE2D_HALF— line 50TEXTURE2D_PARAM— line 72TEXTURE2D_SHADOW— line 56TEXTURE2D_SHADOW_ARGS— line 89TEXTURE2D_SHADOW_PARAM— line 78TEXTURE3D— line 42TEXTURE3D_ARGS— line 87TEXTURE3D_FLOAT— line 48TEXTURE3D_HALF— line 54TEXTURE3D_PARAM— line 76TEXTURECUBE— line 40TEXTURECUBE_ARGS— line 85TEXTURECUBE_ARRAY— line 41TEXTURECUBE_ARRAY_ARGS— line 86TEXTURECUBE_ARRAY_FLOAT— line 47TEXTURECUBE_ARRAY_HALF— line 53TEXTURECUBE_ARRAY_PARAM— line 75TEXTURECUBE_ARRAY_SHADOW— line 59TEXTURECUBE_ARRAY_SHADOW_ARGS— line 92TEXTURECUBE_ARRAY_SHADOW_PARAM— line 81TEXTURECUBE_FLOAT— line 46TEXTURECUBE_HALF— line 52TEXTURECUBE_PARAM— line 74TEXTURECUBE_SHADOW— line 58TEXTURECUBE_SHADOW_ARGS— line 91TEXTURECUBE_SHADOW_PARAM— line 80TYPED_TEXTURE2D— line 61TYPED_TEXTURE2D_ARRAY— line 62TYPED_TEXTURE3D— line 63UNITY_BRANCH— line 21UNITY_FLATTEN— line 22UNITY_LOOP— line 25UNITY_NEAR_CLIP_VALUE— line 3UNITY_RAW_FAR_CLIP_VALUE— line 5UNITY_REVERSED_Z— line 2UNITY_UNROLL— line 23UNITY_UNROLLX— line 24UNITY_UV_STARTS_AT_TOP— line 1VERTEXID_SEMANTIC— line 6ZERO_INITIALIZE— line 29ZERO_INITIALIZE_ARRAY— line 30
<CORE>/ShaderLibrary/AreaLighting.hlsl
Functions
real3 ComputeEdgeFactor(...)— line 96float ComputeLineWidthFactor(...)— line 378real DiffuseSphereLightIrradiance(...)— line 11float I_diffuse_line(...)— line 326float I_ltc_line(...)— line 399real3 PolygonFormFactor(...)— line 130real PolygonIrradiance(...)— line 196real PolygonIrradianceFromVectorFormFactor(...)— line 180
Macros
APPROXIMATE_POLY_LIGHT_AS_SPHERE_LIGHT— line 4APPROXIMATE_SPHERE_LIGHT_NUMERICALLY— line 5UNITY_AREA_LIGHTING_INCLUDED— line 2
<CORE>/ShaderLibrary/BC6H.hlsl
Functions
float CalcMSLE(...)— line 5uint ComputeIndex3(...)— line 45uint ComputeIndex4(...)— line 51void EncodeMode11(...)— line 74float3 FinishUnquantize(...)— line 67float3 Quantize10(...)— line 23float3 Quantize7(...)— line 13float3 Quantize9(...)— line 18void SignExtend(...)— line 57float3 Unquantize10(...)— line 38float3 Unquantize7(...)— line 28float3 Unquantize9(...)— line 33
<CORE>/ShaderLibrary/BSDF.hlsl
Functions
real CharlieL(...)— line 587real3 CoatRefract(...)— line 179real CosCriticalAngle(...)— line 91real D_Charlie(...)— line 582real D_CharlieNoPI(...)— line 573real D_GGX(...)— line 204real D_GGXAniso(...)— line 319real D_GGXAnisoNoPI(...)— line 308real D_GGXNoPI(...)— line 194real3 D_KajiyaKay(...)— line 644real3 DiffuseGGX(...)— line 449real3 DiffuseGGXNoPI(...)— line 436real DisneyDiffuse(...)— line 429real DisneyDiffuseNoPI(...)— line 410real DV_SmithJointGGX(...)— line 256real DV_SmithJointGGX(...)— line 273real DV_SmithJointGGXAniso(...)— line 346real DV_SmithJointGGXAniso(...)— line 366real3 EvalIridescence(...)— line 479real3 EvalSensitivity(...)— line 461real3 F_FresnelConductor(...)— line 115real F_FresnelDielectric(...)— line 104real F_Schlick(...)— line 32real F_Schlick(...)— line 40real3 F_Schlick(...)— line 45real3 F_Schlick(...)— line 53real F_Transm_Schlick(...)— line 59real F_Transm_Schlick(...)— line 68real3 F_Transm_Schlick(...)— line 74real3 F_Transm_Schlick(...)— line 83real FabricLambert(...)— line 623real FabricLambertNoPI(...)— line 618real G_CookTorrance(...)— line 628real G_MaskingSmithGGX(...)— line 211real3 getIorK2(...)— line 172real3 GetIorN(...)— line 166float GetProjectedRoughness(...)— line 380real GetSmithJointGGXAnisoPartLambdaV(...)— line 324real GetSmithJointGGXPartLambdaV(...)— line 224real GetSmithJointGGXPartLambdaVApprox(...)— line 284real IorToFresnel0(...)— line 139float Lambda_GGX(...)— line 189real Lambert(...)— line 405real LambertNoPI(...)— line 400real3 ShiftTangent(...)— line 638real V_Ashikhmin(...)— line 611real V_Charlie(...)— line 602real V_SmithJointGGX(...)— line 232real V_SmithJointGGX(...)— line 249real V_SmithJointGGXAniso(...)— line 331real V_SmithJointGGXAniso(...)— line 339real V_SmithJointGGXApprox(...)— line 290real V_SmithJointGGXApprox(...)— line 300
Structs
CBSDF— line 20
Macros
UNITY_BSDF_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 8 (Include)
<CORE>/ShaderLibrary/Color.hlsl
Functions
real AcesLuminance(...)— line 183real AcesLuminance(...)— line 188float3 AcesTonemap(...)— line 635float3 ApplyLut2D(...)— line 484float3 ApplyLut3D(...)— line 476real3 CustomTonemap(...)— line 605half3 DecodeRGBM(...)— line 727real3 Desaturate(...)— line 412half4 EncodeRGBM(...)— line 719real EvalCustomCurve(...)— line 580real EvalCustomSegment(...)— line 566real FastLinearToSRGB(...)— line 145real2 FastLinearToSRGB(...)— line 150real3 FastLinearToSRGB(...)— line 155real4 FastLinearToSRGB(...)— line 160real FastSRGBToLinear(...)— line 125real2 FastSRGBToLinear(...)— line 130real3 FastSRGBToLinear(...)— line 135real4 FastSRGBToLinear(...)— line 140real3 FastTonemap(...)— line 434real4 FastTonemap(...)— line 439real3 FastTonemap(...)— line 444real4 FastTonemap(...)— line 449real3 FastTonemapInvert(...)— line 464real4 FastTonemapInvert(...)— line 469real FastTonemapPerChannel(...)— line 424real2 FastTonemapPerChannel(...)— line 429real FastTonemapPerChannelInvert(...)— line 454real2 FastTonemapPerChannelInvert(...)— line 459real Gamma20ToLinear(...)— line 15real3 Gamma20ToLinear(...)— line 20real4 Gamma20ToLinear(...)— line 25real Gamma22ToLinear(...)— line 46real3 Gamma22ToLinear(...)— line 51real4 Gamma22ToLinear(...)— line 56float3 GetLutStripValue(...)— line 501real3 HsvToRgb(...)— line 290else if(...)— line 590real3 InvertibleTonemap(...)— line 617real3 InvertibleTonemapInverse(...)— line 623real LinearToGamma20(...)— line 30real3 LinearToGamma20(...)— line 35real4 LinearToGamma20(...)— line 40real LinearToGamma22(...)— line 61real3 LinearToGamma22(...)— line 66real4 LinearToGamma22(...)— line 71float3 LinearToLMS(...)— line 252float3 LinearToLogC(...)— line 371real LinearToLogC_Precise(...)— line 360real LinearToSRGB(...)— line 103real2 LinearToSRGB(...)— line 108real3 LinearToSRGB(...)— line 113real4 LinearToSRGB(...)— line 118float3 LMSToLinear(...)— line 264float3 LogCToLinear(...)— line 395real LogCToLinear_Precise(...)— line 384real Luminance(...)— line 172real Luminance(...)— line 178real3 NeutralCurve(...)— line 525real3 NeutralTonemap(...)— line 535real3 RgbToHsv(...)— line 280real3 RGBToYCoCg(...)— line 214real RotateHue(...)— line 297real ScotopicLuminance(...)— line 197real ScotopicLuminance(...)— line 205float3 SoftLight(...)— line 327real SRGBToLinear(...)— line 77real2 SRGBToLinear(...)— line 88real3 SRGBToLinear(...)— line 93real4 SRGBToLinear(...)— line 98float3 xyYtoXYZ(...)— line 307float2 XYZtoxy(...)— line 320real YCoCgCheckBoardEdgeFilter(...)— line 240real3 YCoCgToRGB(...)— line 224
Structs
ParamsLogC— line 343
Macros
SAT— line 616TONEMAPPING_CLAMP_MAX— line 530TONEMAPPING_USE_FULL_ACES— line 632UNITY_COLOR_INCLUDED— line 2USE_PRECISE_LOGC— line 341YCOCG_CHROMA_BIAS— line 213
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/ACES.hlsl— line 8 (Include)
<CORE>/ShaderLibrary/Common.hlsl
Functions
bool AnyIsInf(...)— line 634bool AnyIsInf(...)— line 639bool AnyIsInf(...)— line 644bool AnyIsNaN(...)— line 614bool AnyIsNaN(...)— line 619bool AnyIsNaN(...)— line 624void ApplyDepthOffsetPositionInput(...)— line 1494uint BitFieldExtract(...)— line 449int BitFieldExtractSignExtend(...)— line 460uint BitFieldInsert(...)— line 472void ClearBit(...)— line 488real4 CompositeOver(...)— line 1299void CompositeOver(...)— line 1304float4 ComputeClipSpacePosition(...)— line 1325float4 ComputeClipSpacePosition(...)— line 1344float2 ComputeNormalizedDeviceCoordinates(...)— line 1376float3 ComputeNormalizedDeviceCoordinatesWithZ(...)— line 1354float ComputeTextureLOD(...)— line 998float ComputeTextureLOD(...)— line 1007float ComputeTextureLOD(...)— line 1016float ComputeTextureLOD(...)— line 1024float3 ComputeViewSpacePosition(...)— line 1381float3 ComputeWorldSpacePosition(...)— line 1390float3 ComputeWorldSpacePosition(...)— line 1397float CopySign(...)— line 819float CubeMapFaceID(...)— line 587float DecodeInfiniteDepth(...)— line 1294float DecodeLogarithmicDepth(...)— line 1279float DecodeLogarithmicDepthGeneralized(...)— line 1258real DegToRad(...)— line 673float2 DirectionToLatLongCoordinate(...)— line 1148float EncodeInfiniteDepth(...)— line 1288float EncodeLogarithmicDepth(...)— line 1267float EncodeLogarithmicDepthGeneralized(...)— line 1244float Eps_float(...)— line 800half Eps_half(...)— line 803real FastACos(...)— line 706real FastACosPos(...)— line 694real FastASin(...)— line 716real FastATan(...)— line 738real FastAtan2(...)— line 744real FastATanPos(...)— line 725uint FastLog2(...)— line 750float FastSign(...)— line 840float2 GetFullScreenTriangleTexCoord(...)— line 1604float4 GetFullScreenTriangleVertexPosition(...)— line 1613uint GetMipCount(...)— line 1043PositionInputs GetPositionInput(...)— line 1422PositionInputs GetPositionInput(...)— line 1439PositionInputs GetPositionInput(...)— line 1446PositionInputs GetPositionInput(...)— line 1456PositionInputs GetPositionInput(...)— line 1466PositionInputs GetPositionInput(...)— line 1474PositionInputs GetPositionInput(...)— line 1486float2 GetQuadOffset(...)— line 522float2 GetQuadTexCoord(...)— line 1632float4 GetQuadVertexPosition(...)— line 1648uint GetStencilValue(...)— line 1682bool HasFlag(...)— line 1547else if(...)— line 595else if(...)— line 1719float4x4 Inverse(...)— line 917bool IsBitSet(...)— line 478bool IsFinite(...)— line 649bool IsInf(...)— line 629bool IsNaN(...)— line 609bool IsNormalized(...)— line 1565bool IsNormalized(...)— line 1571bool IsPositiveFinite(...)— line 659bool IsPower2(...)— line 687float3 LatlongToDirectionCoordinate(...)— line 1155float Length2(...)— line 902float Linear01Depth(...)— line 1198float Linear01DepthFromNear(...)— line 1184float LinearEyeDepth(...)— line 1208float LinearEyeDepth(...)— line 1217float LinearEyeDepth(...)— line 1229void LODDitheringTransition(...)— line 1667float Max_float(...)— line 802half Max_half(...)— line 805float Min_float(...)— line 801half Min_half(...)— line 804bool NearlyEqual(...)— line 809float3 NLerp(...)— line 897float2 OrientationToDirection(...)— line 1170real3 Orthonormalize(...)— line 849real4 PackHeightmap(...)— line 1513real4 PackHeightmap(...)— line 1529real Pow4(...)— line 908float QuadReadAcrossDiagonal(...)— line 538float QuadReadAcrossX(...)— line 528float QuadReadAcrossY(...)— line 533float3 QuadReadFloat3AcrossDiagonal(...)— line 567float3 QuadReadFloat3AcrossX(...)— line 547float3 QuadReadFloat3AcrossY(...)— line 557float4 QuadReadFloat4AcrossDiagonal(...)— line 572float4 QuadReadFloat4AcrossX(...)— line 552float4 QuadReadFloat4AcrossY(...)— line 562real RadToDeg(...)— line 678float Remap(...)— line 957real2 Remap01ToHalfTexelCoord(...)— line 871real2 RemapHalfTexelCoordTo01(...)— line 862float2 RepeatOctahedralUV(...)— line 1706float3 RotateVectorByQuat(...)— line 962real SafeDiv(...)— line 1579float3 SafeNormalize(...)— line 1553half3 SafeNormalize(...)— line 1559real SafeSqrt(...)— line 1585float SanitizeFinite(...)— line 654float SanitizePositiveFinite(...)— line 664void SetBit(...)— line 483float SharpenAlpha(...)— line 1694real SinFromCos(...)— line 1591real Smootherstep(...)— line 890real Smootherstep01(...)— line 885real Smoothstep01(...)— line 880real SphericalDot(...)— line 1597void ToggleBit(...)— line 493real UnpackHeightmap(...)— line 1519real UnpackHeightmap(...)— line 1534
Structs
PositionInputs— line 1408sampler1D_f— line 1072sampler1D_h— line 1110sampler3D_f— line 1074sampler3D_h— line 1112
Macros
CUBEMAPFACE_NEGATIVE_X— line 580CUBEMAPFACE_NEGATIVE_Y— line 582CUBEMAPFACE_NEGATIVE_Z— line 584CUBEMAPFACE_POSITIVE_X— line 579CUBEMAPFACE_POSITIVE_Y— line 581CUBEMAPFACE_POSITIVE_Z— line 583DEPTH_OFFSET_SEMANTIC— line 215DXC_SAMPLER_COMPATIBILITY— line 1062FRAMEBUFFER_INPUT_FLOAT— line 273FRAMEBUFFER_INPUT_FLOAT— line 325FRAMEBUFFER_INPUT_FLOAT— line 363FRAMEBUFFER_INPUT_FLOAT— line 383FRAMEBUFFER_INPUT_FLOAT_MS— line 274FRAMEBUFFER_INPUT_FLOAT_MS— line 329FRAMEBUFFER_INPUT_FLOAT_MS— line 364FRAMEBUFFER_INPUT_FLOAT_MS— line 390FRAMEBUFFER_INPUT_HALF— line 276FRAMEBUFFER_INPUT_HALF— line 333FRAMEBUFFER_INPUT_HALF— line 366FRAMEBUFFER_INPUT_HALF— line 384FRAMEBUFFER_INPUT_HALF_MS— line 277FRAMEBUFFER_INPUT_HALF_MS— line 337FRAMEBUFFER_INPUT_HALF_MS— line 367FRAMEBUFFER_INPUT_HALF_MS— line 391FRAMEBUFFER_INPUT_INT— line 279FRAMEBUFFER_INPUT_INT— line 341FRAMEBUFFER_INPUT_INT— line 369FRAMEBUFFER_INPUT_INT— line 385FRAMEBUFFER_INPUT_INT_MS— line 280FRAMEBUFFER_INPUT_INT_MS— line 345FRAMEBUFFER_INPUT_INT_MS— line 370FRAMEBUFFER_INPUT_INT_MS— line 392FRAMEBUFFER_INPUT_UINT— line 282FRAMEBUFFER_INPUT_UINT— line 349FRAMEBUFFER_INPUT_UINT— line 372FRAMEBUFFER_INPUT_UINT— line 386FRAMEBUFFER_INPUT_UINT_MS— line 283FRAMEBUFFER_INPUT_UINT_MS— line 353FRAMEBUFFER_INPUT_UINT_MS— line 373FRAMEBUFFER_INPUT_UINT_MS— line 393GetWaveID— line 426GLOBAL_CBUFFER_START— line 404GLOBAL_CBUFFER_START— line 410GLOBAL_RESOURCE— line 403GLOBAL_RESOURCE— line 409GLOBAL_TEXTURE2D— line 405GLOBAL_TEXTURE2D— line 411GLOBAL_TEXTURE2D_ARRAY— line 406GLOBAL_TEXTURE2D_ARRAY— line 412GLOBAL_TEXTURECUBE_ARRAY— line 407GLOBAL_TEXTURECUBE_ARRAY— line 413half— line 142HALF_IS_FLOAT— line 141HALF_IS_FLOAT— line 154half2— line 143half2x2— line 146half2x3— line 147half3— line 144half3x2— line 148half3x3— line 149half3x4— line 150half4— line 145half4x3— line 151half4x4— line 152HAS_HALF— line 125HAS_HALF— line 127LANE_SWIZZLE_OFFSET— line 440LOAD_FRAMEBUFFER_INPUT— line 286LOAD_FRAMEBUFFER_INPUT— line 289LOAD_FRAMEBUFFER_INPUT— line 357LOAD_FRAMEBUFFER_INPUT— line 375LOAD_FRAMEBUFFER_INPUT— line 388LOAD_FRAMEBUFFER_INPUT_MS— line 287LOAD_FRAMEBUFFER_INPUT_MS— line 290LOAD_FRAMEBUFFER_INPUT_MS— line 358LOAD_FRAMEBUFFER_INPUT_MS— line 376LOAD_FRAMEBUFFER_INPUT_MS— line 395MIP_COUNT_SUPPORTED— line 1032MIP_COUNT_SUPPORTED— line 1039PLATFORM_SUPPORTS_PRIMITIVE_ID_IN_PIXEL_SHADER— line 256PopMarker— line 252PREFER_HALF— line 131PushMarker— line 251real— line 158real— line 178REAL_EPS— line 174REAL_EPS— line 194REAL_IS_HALF— line 135REAL_IS_HALF— line 137REAL_MAX— line 173REAL_MAX— line 193REAL_MIN— line 172REAL_MIN— line 192real2— line 159real2— line 179real2x2— line 163real2x2— line 183real2x3— line 164real2x3— line 184real2x4— line 165real2x4— line 185real3— line 160real3— line 180real3x2— line 166real3x2— line 186real3x3— line 167real3x3— line 187real3x4— line 168real3x4— line 188real4— line 161real4— line 181real4x3— line 169real4x3— line 189real4x4— line 170real4x4— line 190RENDERPASS_DECLARE_FALLBACK— line 312RENDERPASS_DECLARE_FALLBACK_MS— line 318sampler1D_f— line 1066sampler2D_f— line 1067sampler3D_f— line 1068samplerCUBE_f— line 1069SHADER_TARGET— line 205SHADER_TARGET— line 207SV_POSITION_QUALIFIERS— line 214UNITY_COMMON_INCLUDED— line 2UNITY_DEVICE_SUPPORTS_WAVE— line 108UNITY_DXC_SUBPASS_INPUT_TYPE_INDEX— line 265UNITY_DXC_SUBPASS_INPUT_TYPE_INDEX— line 269UNITY_DXC_SUBPASS_INPUT_TYPE_INDEX_MS— line 266UNITY_DXC_SUBPASS_INPUT_TYPE_INDEX_MS— line 270UNITY_HW_SUPPORTS_WAVE— line 112UNITY_HW_WAVE_SIZE— line 84UNITY_HW_WAVE_SIZE— line 86UNITY_HW_WAVE_SIZE— line 97UNITY_HW_WAVE_SIZE— line 99UNITY_HW_WAVE_SIZE— line 101UNITY_HW_WAVE_SIZE— line 103UNITY_HW_WAVE_SIZE— line 105UNITY_PLATFORM_SUPPORTS_WAVE— line 89WaveActiveAllTrue— line 422WaveActiveAnyTrue— line 423WaveActiveBallot— line 429WaveActiveBitAnd— line 431WaveActiveBitOr— line 432WaveActiveMax— line 428WaveActiveMin— line 427WaveActiveSum— line 430WaveGetLaneCount— line 433WaveGetLaneIndex— line 424WaveIsFirstLane— line 425WaveIsHelperLane— line 434
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/API/D3D11.hlsl— line 227 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/GLCore.hlsl— line 237 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/GLES3.hlsl— line 239 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/Metal.hlsl— line 229 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/Switch.hlsl— line 233 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/Switch2.hlsl— line 235 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/Validate.hlsl— line 245 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/Vulkan.hlsl— line 231 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/API/WebGPU.hlsl— line 241 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonDeprecated.hlsl— line 443 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Macros.hlsl— line 247 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Random.hlsl— line 248 (Include)Packages/com.unity.render-pipelines.gamecore/ShaderLibrary/API/GameCore.hlsl— line 219 (Include)Packages/com.unity.render-pipelines.ps4/ShaderLibrary/API/PSSL.hlsl— line 223 (Include)Packages/com.unity.render-pipelines.ps5/ShaderLibrary/API/PSSL.hlsl— line 225 (Include)Packages/com.unity.render-pipelines.xboxone/ShaderLibrary/API/XBoxOne.hlsl— line 221 (Include)
<CORE>/ShaderLibrary/CommonDeprecated.hlsl
Functions
void LODDitheringTransition(...)— line 8
Macros
UNITY_COMMON_DEPRECATED_INCLUDED— line 2
<CORE>/ShaderLibrary/CommonLighting.hlsl
Functions
real AngleAttenuation(...)— line 112real BoxDistanceAttenuation(...)— line 228real CapsuleWindowing(...)— line 145real ClampNdotV(...)— line 442real ComputeCubemapTexelSolidAngle(...)— line 39real ComputeCubemapTexelSolidAngle(...)— line 56real ComputeCubeToSphereMapSqMagnitude(...)— line 27real ComputeMicroShadowing(...)— line 399real3 ComputeShadowColor(...)— line 406real3 ComputeShadowColor(...)— line 422real ComputeWrappedDiffuseLighting(...)— line 377real3 ComputeWrappedNormal(...)— line 383real ComputeWrappedPowerDiffuseLighting(...)— line 393real ConvertEvToLuminance(...)— line 62real ConvertLuminanceToEv(...)— line 67real DistanceWindowing(...)— line 82real EllipsoidalDistanceAttenuation(...)— line 195real EllipsoidalDistanceAttenuation(...)— line 213void GetBSDFAngle(...)— line 449real GetHorizonOcclusion(...)— line 270real2 GetIESTextureCoordinate(...)— line 250real3x3 GetLocalFrame(...)— line 501real3x3 GetLocalFrame(...)— line 522real3x3 GetOrthoBasisViewNormal(...)— line 531real GetSpecularOcclusionFromAmbientOcclusion(...)— line 280real GetSpecularOcclusionFromBentAO(...)— line 342real GetSpecularOcclusionFromBentAO_ConeCone(...)— line 331real3 GetViewReflectedNormal(...)— line 462real3 GTAOMultiBounce(...)— line 287else if(...)— line 311bool IsMatchingLightLayer(...)— line 550real3 MapCubeToSphere(...)— line 19real PillowWindowing(...)— line 169real PunctualLightAttenuation(...)— line 125real SmoothAngleAttenuation(...)— line 117real SmoothDistanceWindowing(...)— line 93real SmoothWindowedDistanceAttenuation(...)— line 102real SphericalCapIntersectionSolidArea(...)— line 299
Macros
PUNCTUAL_LIGHT_THRESHOLD— line 99UNITY_COMMON_LIGHTING_INCLUDED— line 2
<CORE>/ShaderLibrary/CommonMaterial.hlsl
Functions
real BeckmannRoughnessToGGXRoughness(...)— line 82real3 BlendNormal(...)— line 314real3 BlendNormalRNM(...)— line 305real3 BlendNormalWorldspaceRNM(...)— line 291real ClampPerceptualRoughnessForRaytracing(...)— line 118real ClampRoughnessForAnalyticalLights(...)— line 107real ClampRoughnessForRaytracing(...)— line 114float3 ComputeDiffuseColor(...)— line 273float3 ComputeFresnel0(...)— line 278real3 ComputeTriplanarWeights(...)— line 324void ConvertAnisotropyToClampRoughness(...)— line 155void ConvertAnisotropyToRoughness(...)— line 131void ConvertRoughnessTAndAnisotropyToRoughness(...)— line 137real ConvertRoughnessTAndBToRoughness(...)— line 142void ConvertRoughnessToAnisotropy(...)— line 147void ConvertValueAnisotropyToValueTB(...)— line 123float DecodeVariance(...)— line 177float GeometricNormalFiltering(...)— line 218float GeometricNormalVariance(...)— line 209void GetTriplanarCoordinate(...)— line 339real GGXRoughnessToBeckmannRoughness(...)— line 93real LerpWhiteTo(...)— line 352real3 LerpWhiteTo(...)— line 359float NormalFiltering(...)— line 183real PerceptualRoughnessBeckmannToGGX(...)— line 87real PerceptualRoughnessToPerceptualSmoothness(...)— line 98real PerceptualRoughnessToRoughness(...)— line 29real PerceptualSmoothnessToPerceptualRoughness(...)— line 50real PerceptualSmoothnessToRoughness(...)— line 45float ProjectedSpaceGeometricNormalFiltering(...)— line 224float ProjectedSpaceNormalFiltering(...)— line 192real RoughnessToPerceptualRoughness(...)— line 34real RoughnessToPerceptualSmoothness(...)— line 40real RoughnessToVariance(...)— line 164float TextureNormalFiltering(...)— line 263float TextureNormalVariance(...)— line 241real VarianceToRoughness(...)— line 169
Macros
CLEAR_COAT_F0— line 17CLEAR_COAT_IETA— line 16CLEAR_COAT_IOR— line 15CLEAR_COAT_PERCEPTUAL_ROUGHNESS— line 20CLEAR_COAT_PERCEPTUAL_SMOOTHNESS— line 19CLEAR_COAT_ROUGHNESS— line 18CLEAR_COAT_SSR_PERCEPTUAL_ROUGHNESS— line 21DEFAULT_SPECULAR_VALUE— line 12NORMALMAP_HIGHEST_VARIANCE— line 175UNITY_COMMON_MATERIAL_INCLUDED— line 2
<CORE>/ShaderLibrary/CommonShadow.hlsl
Functions
real3 GetShadowPosOffset(...)— line 6
Macros
UNITY_COMMON_SHADOW_INCLUDED— line 2
<CORE>/ShaderLibrary/Coverage.hlsl
Functions
void Build(...)— line 218void BuildFlipped(...)— line 230uint BuildQuadMask(...)— line 138LineArea Create(...)— line 315uint2 CreateCoverageMask(...)— line 349float Eval(...)— line 259float4 Eval4(...)— line 265uint FlipNibble(...)— line 157uint FlipQuadInX(...)— line 168void GenLUT(...)— line 189float2 GetBoundaryPoint(...)— line 296uint2 LineCoverageMask(...)— line 408float2 PointAt(...)— line 271uint TransposeQuad(...)— line 173uint2 TriangleCoverageMask(...)— line 398
Structs
AnalyticalLine— line 212LineArea— line 283
Macros
__COVERAGE__— line 26
<CORE>/ShaderLibrary/Debug.hlsl
Functions
void DrawCharacter(...)— line 208void DrawCharacter(...)— line 231void DrawCharacter(...)— line 237void DrawOverdrawLegend(...)— line 370float4 DrawSegment(...)— line 458float3 GetBarycentricCoord(...)— line 424real3 GetColorCodeFunction(...)— line 277real3 GetIndexColor(...)— line 39real3 GetOverdrawColor(...)— line 320else if(...)— line 145else if(...)— line 289else if(...)— line 294else if(...)— line 299bool IsPointInTriangle(...)— line 443uint OverdrawLegendBucketInterval(...)— line 344float4 OverlayHeatMap(...)— line 244float4 OverlayHeatMapNoNumber(...)— line 265{ PACK_BITS25(...)— line 83{ PACK_BITS25(...)— line 84{ PACK_BITS25(...)— line 85{ PACK_BITS25(...)— line 86{ PACK_BITS25(...)— line 87{ PACK_BITS25(...)— line 88{ PACK_BITS25(...)— line 89{ PACK_BITS25(...)— line 90bool SampleDebugFont(...)— line 97bool SampleDebugFontNumber2Digits(...)— line 115bool SampleDebugFontNumber3Digits(...)— line 138bool SampleDebugFontNumberAllDigits(...)— line 165
Macros
_— line 80DEBUG_COLORS_COUNT— line 8DEBUG_FONT_TEXT_ASCII_START— line 190DEBUG_FONT_TEXT_COUNT_X— line 188DEBUG_FONT_TEXT_COUNT_Y— line 189DEBUG_FONT_TEXT_HEIGHT— line 187DEBUG_FONT_TEXT_SCALE_WIDTH— line 192DEBUG_FONT_TEXT_WIDTH— line 186kDebugColorBlack— line 9kDebugColorBrightGreen— line 15kDebugColorBrightRed— line 19kDebugColorBrightYellow— line 16kDebugColorDarkRed— line 20kDebugColorDarkYellow— line 17kDebugColorDeepBlue— line 11kDebugColorLightBlue— line 13kDebugColorLightPurple— line 10kDebugColorOrange— line 18kDebugColorShadowCascade0— line 24kDebugColorShadowCascade1— line 25kDebugColorShadowCascade2— line 26kDebugColorShadowCascade3— line 27kDebugColorSkyBlue— line 12kDebugColorTeal— line 14PACK_BITS25— line 79TRANSPARENCY_OVERDRAW_A— line 35TRANSPARENCY_OVERDRAW_COST— line 34UNITY_DEBUG_INCLUDED— line 2x— line 81
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl— line 5 (Include)
<CORE>/ShaderLibrary/DebugMipmapStreaming.hlsl
Functions
void DrawLabelBarBackground(...)— line 568void DrawLegendBackground(...)— line 494void DrawLegendBar(...)— line 529void DrawLegendEntry(...)— line 426void DrawLegendEntry(...)— line 471void DrawLegendEntry(...)— line 477void DrawLegendEntry(...)— line 483void DrawLegendEntry(...)— line 489void DrawMipCountLegend(...)— line 618void DrawMipPriorityLegend(...)— line 664void DrawMipRatioLegend(...)— line 648void DrawMipRecentlyUpdatedLegend(...)— line 685void DrawMipStreamingStatusLegend(...)— line 709void DrawMipStreamingStatusPerMaterialLegend(...)— line 739void DrawString(...)— line 89void DrawString(...)— line 99void DrawTextureStreamingPerformanceLegend(...)— line 756void DrawTwoValueLabelBar(...)— line 586void DrawUniformlySpreadValues(...)— line 598UNITY_LOOP for(...)— line 449float3 GetDebugMipColor(...)— line 164float3 GetDebugMipColorIncludingMipReduction(...)— line 382float3 GetDebugMipCountColor(...)— line 173float3 GetDebugMipCountHatchingColor(...)— line 203float3 GetDebugMipPriorityColor(...)— line 334float3 GetDebugMipRatioColor(...)— line 144float3 GetDebugMipRecentlyUpdatedColor(...)— line 355float3 GetDebugPerMaterialStreamingStatusColor(...)— line 298float3 GetDebugStreamingMipColor(...)— line 217float3 GetDebugStreamingPriorityColor(...)— line 345float3 GetDebugStreamingRecentlyUpdatedColor(...)— line 361float3 GetDebugStreamingStatusColor(...)— line 265float3 GetMipLevelColor(...)— line 152float GetUpdateTimestamp(...)— line 137void HatchColor(...)— line 400void HatchColor(...)— line 408else if(...)— line 240else if(...)— line 322UNITY_FLATTEN if(...)— line 452bool InsideLegendBar(...)— line 550
Macros
_kBudgetMissingMips— line 38_kBudgetNothingSaved— line 37_kBudgetSavingMips— line 35_kBudgetSavingMipsWithCache— line 36_kHighPixelDensityIndex— line 29_kHighPriorityIndex— line 33_kLowPixelDensityIndex— line 30_kLowPriorityIndex— line 32_kNoMipCountIndex— line 26_kNotRecentlyUpdated— line 41_kNotStreamingIndex— line 7_kRecentlyUpdated— line 40_kStatusAllTexturesAreStreaming— line 20_kStatusAllTexturesAreStreamingSomeManually— line 21_kStatusMessageNoAsyncIndex— line 16_kStatusMessageNoMipMapIndex— line 14_kStatusMessageNotSetToStreamIndex— line 15_kStatusMessageTerrainIndex— line 17_kStatusNoTextureIndex— line 10_kStatusNoTexturesAreStreaming— line 22_kStatusNoTexturesIndex— line 18_kStatusSomeTexturesAreStreaming— line 23_kStatusSomeTexturesAreStreamingSomeManually— line 24_kStatusSomeTexturesHaveIssues— line 19_kStatusStreamerDisabledIndex— line 13_kStatusUnknownIndex— line 12_kStatusWarningIndex— line 11_kStreamingIndex— line 8_kStreamingManuallyIndex— line 9_kTooManyMipsIndex— line 27kMipmapDebugBudgetFullResolution— line 214kMipmapDebugBudgetMissing— line 213kMipmapDebugBudgetSavingMips— line 212kMipmapDebugHighPixelDensity— line 142kMipmapDebugInvalidMipCount— line 171kMipmapDebugLowPixelDensity— line 141kMipMapDebugMaterialStatusColorSomeStreaming— line 296kMipmapDebugStatusCodeFlagHasManualRequests— line 129kMipmapDebugStatusCodeFlagHasNonStreamingTextures— line 127kMipmapDebugStatusCodeFlagHasStreamingTextures— line 126kMipmapDebugStatusCodeFlagHasTexturesWithIssues— line 128kMipmapDebugStatusCodeFlagNoTexturesSet— line 125kMipmapDebugStatusCodeInvalidStreamingIndex— line 121kMipmapDebugStatusCodeManuallyRequested— line 122kMipmapDebugStatusCodeNoAsync— line 119kMipmapDebugStatusCodeNoMipMap— line 117kMipmapDebugStatusCodeNoTexture— line 116kMipmapDebugStatusCodeNotSet— line 114kMipmapDebugStatusCodeNotSetToStream— line 118kMipmapDebugStatusCodeStreamerDisabled— line 115kMipmapDebugStatusCodeTerrain— line 120kMipMapDebugStatusColorNoTexture— line 262kMipMapDebugStatusColorNotStreaming— line 215kMipMapDebugStatusColorStreaming— line 260kMipMapDebugStatusColorUnknown— line 261kMipMapDebugStatusColorWarning— line 263kMipmapDebugTooManyMips— line 170UNITY_DEBUG_MIPMAP_STREAMING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Debug.hlsl— line 4 (Include)
<CORE>/ShaderLibrary/DebugMipmapStreamingMacros.hlsl
Macros
UNITY_DEBUG_MIPMAP_STREAMING_MACROS_INCLUDED— line 2UNITY_TEXTURE_STREAMING_DEBUG_VARS— line 5UNITY_TEXTURE_STREAMING_DEBUG_VARS_FOR_TEX— line 12
<CORE>/ShaderLibrary/DynamicScaling.hlsl
Functions
float2 DynamicScalingApplyScaleBias(...)— line 4float2 DynamicScalingRemoveScaleBias(...)— line 9
Macros
DYNAMIC_SCALING_APPLY_SCALEBIAS— line 14DYNAMIC_SCALING_REMOVE_SCALEBIAS— line 15UNITY_DYNAMIC_SCALING_INCLUDED— line 2
<CORE>/ShaderLibrary/DynamicScalingClamping.hlsl
Functions
float2 ClampAndScaleUV(...)— line 17float2 ClampAndScaleUV(...)— line 23float2 ClampAndScaleUVForBilinear(...)— line 39float2 ClampAndScaleUVForBilinear(...)— line 45float2 ClampAndScaleUVForPoint(...)— line 50float2 ClampUV(...)— line 6float2 ClampUV(...)— line 12float2 ClampUVForBilinear(...)— line 29float2 ClampUVForBilinear(...)— line 34
Macros
<CORE>/ShaderLibrary/EntityLighting.hlsl
Functions
real3 DecodeHDREnvironment(...)— line 194real3 DecodeLightmap(...)— line 182real4 PackEmissiveRGBM(...)— line 151void SampleDirectionalLightmap(...)— line 289void SampleDirectionalLightmap(...)— line 318real3 SampleDirectionalLightmap(...)— line 326real3 SampleDirectionalLightmap(...)— line 338float4 SampleLightmapBicubic(...)— line 245float4 SampleProbeOcclusion(...)— line 123void SampleProbeVolumeSH4(...)— line 42float3 SampleProbeVolumeSH4(...)— line 66void SampleProbeVolumeSH9(...)— line 82float3 SampleProbeVolumeSH9(...)— line 111real3 SampleSingleLightmap(...)— line 266real3 SampleSingleLightmap(...)— line 284real3 UnpackLightmapDoubleLDR(...)— line 176real3 UnpackLightmapRGBM(...)— line 167
Macros
EMISSIVE_RGBM_SCALE— line 144GET_LIGHTMAP_SIZE— line 213GET_LIGHTMAP_SIZE— line 224LIGHTMAP_EXTRA_ARGS— line 210LIGHTMAP_EXTRA_ARGS— line 221LIGHTMAP_EXTRA_ARGS_USE— line 211LIGHTMAP_EXTRA_ARGS_USE— line 222LIGHTMAP_HDR_EXPONENT— line 19LIGHTMAP_HDR_EXPONENT— line 22LIGHTMAP_HDR_EXPONENT— line 30LIGHTMAP_HDR_EXPONENT— line 33LIGHTMAP_HDR_MULTIPLIER— line 18LIGHTMAP_HDR_MULTIPLIER— line 21LIGHTMAP_HDR_MULTIPLIER— line 26LIGHTMAP_HDR_MULTIPLIER— line 28LIGHTMAP_HDR_MULTIPLIER— line 32LIGHTMAP_RGBM_MAX_GAMMA— line 13LIGHTMAP_RGBM_MAX_LINEAR— line 14LIGHTMAP_SLICE_ARG_USE— line 212LIGHTMAP_SLICE_ARG_USE— line 223SAMPLE_TEXTURE2D_LIGHTMAP— line 209SAMPLE_TEXTURE2D_LIGHTMAP— line 220SAMPLE_TEXTURE2D_LIGHTMAP— line 241TEXTURE2D_LIGHTMAP_ARGS— line 208TEXTURE2D_LIGHTMAP_ARGS— line 219TEXTURE2D_LIGHTMAP_ARGS— line 240TEXTURE2D_LIGHTMAP_PARAM— line 207TEXTURE2D_LIGHTMAP_PARAM— line 218TEXTURE2D_LIGHTMAP_PARAM— line 235TEXTURE2D_LIGHTMAP_PARAM— line 237UNITY_ENTITY_LIGHTING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/SphericalHarmonics.hlsl— line 10 (Include)
<CORE>/ShaderLibrary/Filtering.hlsl
Functions
void BicubicFilter(...)— line 62void BiquadraticFilter(...)— line 78real2 BSpline2Left(...)— line 14real2 BSpline2Middle(...)— line 19real2 BSpline2Right(...)— line 24real2 BSpline3Leftmost(...)— line 39real2 BSpline3MiddleLeft(...)— line 44real2 BSpline3MiddleRight(...)— line 49real2 BSpline3Rightmost(...)— line 54float4 SampleTexture2DArrayBicubic(...)— line 126float4 SampleTexture2DArrayBicubicLOD(...)— line 141float4 SampleTexture2DBicubic(...)— line 111float4 SampleTexture2DBicubic(...)— line 158float4 SampleTexture2DBiquadratic(...)— line 94
Macros
UNITY_FILTERING_INCLUDED— line 2
<CORE>/ShaderLibrary/FoveatedRendering.hlsl
Functions
PositionInputs FoveatedGetPositionInput(...)— line 114PositionInputs FoveatedGetPositionInput(...)— line 128PositionInputs FoveatedGetPositionInput(...)— line 138PositionInputs FoveatedGetPositionInput(...)— line 152PositionInputs FoveatedGetPositionInput(...)— line 172PositionInputs FoveatedGetPositionInput(...)— line 182PositionInputs FoveatedGetPositionInput(...)— line 206PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 121PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 133PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 145PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 162PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 177PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 194PositionInputs FoveatedPrevFrameGetPositionInput(...)— line 212float2 FoveatedRemapDensity(...)— line 42float2 FoveatedRemapDensity(...)— line 104float2 FoveatedRemapLinearToNonUniform(...)— line 20float2 FoveatedRemapLinearToNonUniform(...)— line 102float2 FoveatedRemapLinearToNonUniformCS(...)— line 87float2 FoveatedRemapLinearToNonUniformCS(...)— line 108float2 FoveatedRemapNonUniformToLinear(...)— line 64float2 FoveatedRemapNonUniformToLinear(...)— line 106float2 FoveatedRemapNonUniformToLinearCS(...)— line 92float2 FoveatedRemapNonUniformToLinearCS(...)— line 109float2 FoveatedRemapPrevFrameDensity(...)— line 53float2 FoveatedRemapPrevFrameDensity(...)— line 105float2 FoveatedRemapPrevFrameLinearToNonUniform(...)— line 31float2 FoveatedRemapPrevFrameLinearToNonUniform(...)— line 103float2 FoveatedRemapPrevFrameNonUniformToLinear(...)— line 75float2 FoveatedRemapPrevFrameNonUniformToLinear(...)— line 107UNITY_BRANCH if(...)— line 22UNITY_BRANCH if(...)— line 33UNITY_BRANCH if(...)— line 44UNITY_BRANCH if(...)— line 55UNITY_BRANCH if(...)— line 66UNITY_BRANCH if(...)— line 77
Macros
FOVEATED_FLIP_Y— line 19UNITY_FOVEATED_RENDERING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/API/FoveatedRendering_Metal.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.ps5/ShaderLibrary/API/FoveatedRendering_PSSL.hlsl— line 11 (Include)
<CORE>/ShaderLibrary/FoveatedRenderingKeywords.hlsl
Macros
SUPPORTS_FOVEATED_RENDERING_NON_UNIFORM_RASTER— line 6UNITY_FOVEATED_RENDERING_KEYWORDS_INCLUDED— line 2
<CORE>/ShaderLibrary/GeometricTools.hlsl
Functions
bool4 CullFullTriangleAndEdgesFrustum(...)— line 253bool CullTriangleBackFace(...)— line 307bool CullTriangleBackFaceView(...)— line 288bool3 CullTriangleEdgesFrustum(...)— line 283bool CullTriangleFrustum(...)— line 232float DistanceFromPlane(...)— line 225float DistancePointBox(...)— line 212bool IntersectRayAABB(...)— line 48float IntersectRayAABBSimple(...)— line 78bool IntersectRayCone(...)— line 152float3 IntersectRayPlane(...)— line 113bool IntersectRayPlane(...)— line 120bool IntersectRaySphere(...)— line 92float IntersectRaySphereSimple(...)— line 104bool IntersectSphereAABB(...)— line 198float3 ProjectPointOnPlane(...)— line 217bool RayPlaneSegmentIntersect(...)— line 136float3 Rotate(...)— line 9float3x3 RotationFromAxisAngle(...)— line 16bool SolveQuadraticEquation(...)— line 33
Macros
UNITY_GEOMETRICTOOLS_INCLUDED— line 2
<CORE>/ShaderLibrary/GlobalSamplers.hlsl
Macros
UNITY_CORE_SAMPLERS_INCLUDED— line 2
<CORE>/ShaderLibrary/GraniteShaderLibBase.hlsl
Functions
GraniteTilesetConstantBuffer Granite_ApplyResolutionOffset(...)— line 505void Granite_ApplyResolutionOffset(...)— line 522gra_Float4 Granite_DebugPackedTileId64(...)— line 466void Granite_DitherResolveOutput(...)— line 554gra_Float2 Granite_GetTextureDimensions(...)— line 861gra_Float4 Granite_MergeResolveOutputs(...)— line 541gra_Float4 Granite_PackTileId(...)— line 548GraniteTilesetConstantBuffer Granite_SetMaxAnisotropy(...)— line 515void Granite_SetMaxAnisotropy(...)— line 530gra_Float2 Granite_Transform(...)— line 536gra_Float3 Granite_UnpackNormal(...)— line 491gra_Float3 Granite_UnpackNormal(...)— line 499float GranitePrivate_CalcMiplevelAnisotropic(...)— line 601float GranitePrivate_CalcMiplevelLinear(...)— line 632void GranitePrivate_CalculateCubemapCoordinates(...)— line 770void GranitePrivate_CalculateCubemapCoordinates(...)— line 853gra_Float2 GranitePrivate_ClampUV(...)— line 450gra_Float4 GranitePrivate_DrawDebugTiles(...)— line 731uint GranitePrivate_FloatAsUint(...)— line 421gra_Float4 GranitePrivate_Load(...)— line 382gra_Float4 GranitePrivate_MakeResolveOutput(...)— line 746gra_Float2 GranitePrivate_MirrorUV(...)— line 456gra_Float4 GranitePrivate_PackTileId(...)— line 652float GranitePrivate_Pow2(...)— line 431gra_Float2 GranitePrivate_RepeatUV(...)— line 440gra_Float4 GranitePrivate_ResolverPixel(...)— line 755gra_Float4 GranitePrivate_Sample(...)— line 341gra_Float4 GranitePrivate_SampleArray(...)— line 308gra_Float4 GranitePrivate_SampleGrad(...)— line 367gra_Float4 GranitePrivate_SampleGradArray(...)— line 319gra_Float4 GranitePrivate_SampleLevel(...)— line 354gra_Float4 GranitePrivate_SampleLevel_Translation(...)— line 398gra_Float4 GranitePrivate_SampleLevelArray(...)— line 330float GranitePrivate_Saturate(...)— line 411gra_Float3 GranitePrivate_TranslateCoord(...)— line 706gra_Float2 GranitePrivate_UdimUV(...)— line 445gra_Float4 GranitePrivate_UnpackTileId(...)— line 688else if(...)— line 565gra_Branch if(...)— line 590else if(...)— line 797
Structs
GraniteCacheTexture— line 141GraniteConstantBuffers— line 197GraniteCubeConstantBuffers— line 206GraniteLODLookupData— line 226GraniteLookupData— line 217GraniteStreamingTextureConstantBuffer— line 168GraniteStreamingTextureCubeConstantBuffer— line 178GraniteTilesetConstantBuffer— line 188GraniteTranslationTexture— line 136
Macros
_grStreamingTextureCBSize— line 170_grStreamingTextureCubeCBSize— line 180_grTilesetCBSize— line 190ddx— line 107ddx— line 110ddy— line 108ddy— line 111fmod— line 116frac— line 113GRA_64BIT_RESOLVER— line 54gra_AssetHeightRcp— line 257gra_AssetWidthRcp— line 256GRA_BGRA— line 42gra_BorderPixelsRcpCache— line 275gra_BorderPixelsRcpCache— line 293gra_Branch— line 94gra_Branch— line 105gra_CalcMiplevelDeltaScale— line 263gra_CalcMiplevelDeltaScale— line 281gra_CalcMiplevelDeltaScaleX— line 264gra_CalcMiplevelDeltaScaleX— line 282gra_CalcMiplevelDeltaScaleY— line 265gra_CalcMiplevelDeltaScaleY— line 283gra_CubeTransform— line 250GRA_DEBUG— line 50GRA_DEBUG_TILES— line 38GRA_DISABLE_TEX_LOAD— line 62gra_Float2— line 88gra_Float2— line 99gra_Float3— line 89gra_Float3— line 100gra_Float4— line 90gra_Float4— line 101gra_Float4x4— line 92gra_Float4x4— line 103GRA_GLSL_120— line 14GRA_GLSL_130— line 18GRA_GLSL_330— line 22GRA_GLSL_FAMILY— line 85GRA_HLSL_3— line 2GRA_HLSL_4— line 6GRA_HLSL_5— line 10GRA_HLSL_FAMILY— line 84GRA_HQ_CUBEMAPPING— line 34gra_Int3— line 91gra_Int3— line 102gra_Level0NumTilesX— line 269gra_Level0NumTilesX— line 287GRA_LOAD_INSTR— line 124GRA_LOAD_INSTR— line 126GRA_LOAD_INSTR— line 129gra_LodBiasPow2— line 266gra_LodBiasPow2— line 284gra_MaxAnisotropyLog2— line 262gra_MaxAnisotropyLog2— line 280gra_NumLevels— line 255gra_NumTilesYScale— line 270gra_NumTilesYScale— line 288GRA_PACK_RESOLVE_OUTPUT— line 66GRA_PIXEL_SHADER— line 30gra_RcpCacheInTiles— line 274gra_RcpCacheInTiles— line 292GRA_ROW_MAJOR— line 46GRA_RWTEXTURE2D_SCALE— line 58gra_StreamingTextureCB— line 246gra_StreamingTextureCubeCB— line 247gra_StreamingTextureInfo— line 253gra_StreamingTextureTransform— line 252GRA_TEXTURE_ARRAY_SUPPORT— line 78GRA_TEXTURE_ARRAY_SUPPORT— line 80gra_TextureId— line 272gra_TextureId— line 290gra_TextureMagic— line 271gra_TextureMagic— line 289gra_TileContentInTiles— line 268gra_TileContentInTiles— line 286gra_TilesetBuffer— line 242gra_TilesetBufferInternal— line 243gra_TilesetCacheBuffer— line 244gra_Transform— line 249gra_TranslationTableBias— line 261gra_TranslationTableBias— line 279gra_TrilinearOffset— line 267gra_TrilinearOffset— line 285GRA_UNORM— line 71GRA_UNORM— line 73gra_Unroll— line 93gra_Unroll— line 104GRA_VERTEX_SHADER— line 26GraniteCacheTexture— line 155GraniteCacheTexture— line 157GraniteTranslationTexture— line 152lerp— line 114
<CORE>/ShaderLibrary/Hashes.hlsl
Functions
void Hash_BetterSine_2_1_float(...)— line 165void Hash_BetterSine_2_1_half(...)— line 175void Hash_LegacyMod_2_1_float(...)— line 207void Hash_LegacyMod_2_1_half(...)— line 218void Hash_LegacySine_2_1_float(...)— line 145void Hash_LegacySine_2_1_half(...)— line 155void Hash_LegacySine_2_2_float(...)— line 185void Hash_LegacySine_2_2_half(...)— line 196void Hash_Tchou_2_1_float(...)— line 12void Hash_Tchou_2_1_half(...)— line 20void Hash_Tchou_2_1_uint(...)— line 1void Hash_Tchou_2_2_float(...)— line 71void Hash_Tchou_2_2_half(...)— line 79void Hash_Tchou_2_2_uint(...)— line 59void Hash_Tchou_2_3_float(...)— line 43void Hash_Tchou_2_3_half(...)— line 51void Hash_Tchou_2_3_uint(...)— line 28void Hash_Tchou_3_1_float(...)— line 100void Hash_Tchou_3_1_half(...)— line 108void Hash_Tchou_3_1_uint(...)— line 87void Hash_Tchou_3_3_float(...)— line 131void Hash_Tchou_3_3_half(...)— line 138void Hash_Tchou_3_3_uint(...)— line 116
<CORE>/ShaderLibrary/HDROutput.hlsl
Functions
float BT2390EETF(...)— line 595float3 DesaturateReducedICtCp(...)— line 631float3 FryHuePreserving(...)— line 688float3 GTSApproxLinToPQ(...)— line 470float3 HDRMappingACES(...)— line 798float3 HDRMappingFromRec2020(...)— line 777float3 HDRMappingFromRec709(...)— line 787float3 HuePreservingRangeReduction(...)— line 656float3 HueShiftingRangeReduction(...)— line 669else if(...)— line 182else if(...)— line 199else if(...)— line 215else if(...)— line 283else if(...)— line 328else if(...)— line 376else if(...)— line 426else if(...)— line 486else if(...)— line 496else if(...)— line 500else if(...)— line 540else if(...)— line 545else if(...)— line 549else if(...)— line 648else if(...)— line 678else if(...)— line 753else if(...)— line 810else if(...)— line 814else if(...)— line 825float3 InverseOETF(...)— line 532float LinearToPQ(...)— line 43float LinearToPQ(...)— line 52float3 LinearToPQ(...)— line 57float3 LinearToPQ(...)— line 66float3 LinearToPQForLUT(...)— line 511float LumaRangeReduction(...)— line 641float3 OETF(...)— line 478float P(...)— line 583float3 PatryApproxLinToPQ(...)— line 461float3 PerformRangeReduction(...)— line 615float3 PerformRangeReduction(...)— line 734float PQToLinear(...)— line 71float PQToLinear(...)— line 78float3 PQToLinear(...)— line 83float3 PQToLinear(...)— line 92float3 ProcessUIForHDR(...)— line 847float ReinhardTonemap(...)— line 571float3 Rotate709ToLMS(...)— line 238float3 RotateICtCpToOutputSpace(...)— line 420float3 RotateICtCpToP3D65(...)— line 415float3 RotateICtCpToPQLMS(...)— line 387float3 RotateICtCpToRec2020(...)— line 405float3 RotateICtCpToRec709(...)— line 410float3 RotateICtCpToXYZ(...)— line 398float3 RotateLMSToICtCp(...)— line 261float3 RotateLMSToXYZ(...)— line 291float3 RotateOutputSpaceToICtCp(...)— line 276float3 RotateOutputSpaceToRec709(...)— line 209float3 RotateOutputSpaceToXYZ(...)— line 370float3 RotateP3D65ToRec2020(...)— line 165float3 RotateP3D65ToRec709(...)— line 154float3 RotateP3D65ToXYZ(...)— line 359float3 RotatePQLMSToICtCp(...)— line 250float3 RotateRec2020ToICtCp(...)— line 267float3 RotateRec2020ToLMS(...)— line 226float3 RotateRec2020ToOutputSpace(...)— line 193float3 RotateRec2020ToP3D65(...)— line 144float3 RotateRec2020ToRec709(...)— line 134float3 RotateRec2020ToXYZ(...)— line 348float3 RotateRec709ToOutputSpace(...)— line 176float3 RotateRec709ToP3D65(...)— line 123float3 RotateRec709ToRec2020(...)— line 111float3 RotateRec709ToXYZ(...)— line 338float3 RotateXYZToOutputSpace(...)— line 322float3 RotateXYZToP3D65(...)— line 317float3 RotateXYZToRec2020(...)— line 301float3 RotateXYZToRec709(...)— line 312float3 SceneUIComposition(...)— line 855float T(...)— line 578
Macros
GTS_APPROX_PQ— line 447HDR_COLORSPACE_CONVERSION— line 8HDR_ENCODING— line 9HDROUTPUT_INCLUDED— line 3ISS_APPROX_PQ— line 446LIN_TO_PQ_FOR_LUT— line 510MAX_PQ_VALUE— line 35OETF_CHOICE— line 449PQ_C1— line 39PQ_C2— line 40PQ_C3— line 41PQ_M— line 38PQ_N— line 37PRECISE_PQ— line 445RANGE_REDUCTION— line 568SDR_REF_WHITE— line 453SDR_REF_WHITE— line 455
Includes
Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/HDROutputDefines.cs.hlsl— line 5 (Include)
<CORE>/ShaderLibrary/ImageBasedLighting.hlsl
Functions
uint BinarySearchRow(...)— line 588float3 ComputeViewFacingNormal(...)— line 73real3 GetAnisotropicModifiedNormal(...)— line 81void GetGGXAnisotropicModifiedNormalAndRoughness(...)— line 92uint GetIBLRuntimeFilterSampleCount(...)— line 394real3 GetSpecularDominantDir(...)— line 105void ImportanceSampleAnisoGGX(...)— line 292void ImportanceSampleGGX(...)— line 265void ImportanceSampleLambert(...)— line 234float InfluenceFadeNormalWeight(...)— line 693real4 IntegrateGGXAndDisneyDiffuseFGD(...)— line 339float4 IntegrateLD(...)— line 419real4 IntegrateLD_MIS(...)— line 608real4 IntegrateLDCharlie(...)— line 535real MipmapLevelToPerceptualRoughness(...)— line 61real PerceptualRoughnessToMipmapLevel(...)— line 27real PerceptualRoughnessToMipmapLevel(...)— line 34real PerceptualRoughnessToMipmapLevel(...)— line 44void SampleAnisoGGXDir(...)— line 167void SampleAnisoGGXVisibleNormal(...)— line 187void SampleGGXDir(...)— line 127void SampleGGXVisibleNormal(...)— line 222
Macros
UNITY_IMAGE_BASED_LIGHTING_HLSL_INCLUDED— line 2UNITY_SPECCUBE_LOD_STEPS— line 16
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/BSDF.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Random.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/Sampling.hlsl— line 12 (Include)
<CORE>/ShaderLibrary/Macros.hlsl
Functions
float FunctionName(...)— line 55uint FunctionName(...)— line 56int FunctionName(...)— line 57float FunctionName(...)— line 60float2 FunctionName(...)— line 61float3 FunctionName(...)— line 62float4 FunctionName(...)— line 63min16float FunctionName(...)— line 66min16float2 FunctionName(...)— line 67min16float3 FunctionName(...)— line 68min16float4 FunctionName(...)— line 69float FunctionName(...)— line 70float2 FunctionName(...)— line 71float3 FunctionName(...)— line 72float4 FunctionName(...)— line 73min16float FunctionName(...)— line 76min16float2 FunctionName(...)— line 77min16float3 FunctionName(...)— line 78min16float4 FunctionName(...)— line 79int FunctionName(...)— line 82int2 FunctionName(...)— line 83int3 FunctionName(...)— line 84int4 FunctionName(...)— line 85uint FunctionName(...)— line 86uint2 FunctionName(...)— line 87uint3 FunctionName(...)— line 88uint4 FunctionName(...)— line 89float FunctionName(...)— line 92float2 FunctionName(...)— line 93float3 FunctionName(...)— line 94float4 FunctionName(...)— line 95min16float FunctionName(...)— line 98min16float2 FunctionName(...)— line 99min16float3 FunctionName(...)— line 100min16float4 FunctionName(...)— line 101float FunctionName(...)— line 102float2 FunctionName(...)— line 103float3 FunctionName(...)— line 104float4 FunctionName(...)— line 105min16float FunctionName(...)— line 108min16float2 FunctionName(...)— line 109min16float3 FunctionName(...)— line 110min16float4 FunctionName(...)— line 111int FunctionName(...)— line 114int2 FunctionName(...)— line 115int3 FunctionName(...)— line 116int4 FunctionName(...)— line 117uint FunctionName(...)— line 118uint2 FunctionName(...)— line 119uint3 FunctionName(...)— line 120uint4 FunctionName(...)— line 121float FunctionName(...)— line 124float2 FunctionName(...)— line 125float3 FunctionName(...)— line 126float4 FunctionName(...)— line 127min16float FunctionName(...)— line 130min16float2 FunctionName(...)— line 131min16float3 FunctionName(...)— line 132min16float4 FunctionName(...)— line 133float FunctionName(...)— line 134float2 FunctionName(...)— line 135float3 FunctionName(...)— line 136float4 FunctionName(...)— line 137min16float FunctionName(...)— line 140min16float2 FunctionName(...)— line 141min16float3 FunctionName(...)— line 142min16float4 FunctionName(...)— line 143int FunctionName(...)— line 146int2 FunctionName(...)— line 147int3 FunctionName(...)— line 148int4 FunctionName(...)— line 149uint FunctionName(...)— line 150uint2 FunctionName(...)— line 151uint3 FunctionName(...)— line 152uint4 FunctionName(...)— line 153void FunctionName(...)— line 156void FunctionName(...)— line 157void FunctionName(...)— line 158void FunctionName(...)— line 159void FunctionName(...)— line 160void FunctionName(...)— line 161void FunctionName(...)— line 162void FunctionName(...)— line 163void FunctionName(...)— line 164void FunctionName(...)— line 165void FunctionName(...)— line 166void FunctionName(...)— line 167void FunctionName(...)— line 168void FunctionName(...)— line 169void FunctionName(...)— line 170void FunctionName(...)— line 171void FunctionName(...)— line 172void FunctionName(...)— line 173void FunctionName(...)— line 174void FunctionName(...)— line 175
Macros
CALL_MERGE_NAME— line 7CENTIMETERS_PER_METER— line 37COMPARE_DEVICE_DEPTH_CLOSER— line 184COMPARE_DEVICE_DEPTH_CLOSER— line 187COMPARE_DEVICE_DEPTH_CLOSEREQUAL— line 185COMPARE_DEVICE_DEPTH_CLOSEREQUAL— line 188FLT_EPS— line 42FLT_INF— line 40FLT_MAX— line 45FLT_MIN— line 43FLT_NAN— line 41FOUR_PI— line 25GENERATE_INT_FLOAT_1_ARG— line 54GET_TEXELSIZE_NAME— line 181HALF_EPS— line 47HALF_MAX— line 50HALF_MIN— line 48HALF_MIN_SQRT— line 49HALF_PI— line 29INT_MAX— line 52INV_FOUR_PI— line 28INV_HALF_PI— line 30INV_PI— line 26INV_SQRT2— line 32INV_TWO_PI— line 27LOG2_E— line 31MERGE_NAME— line 6METERS_PER_CENTIMETER— line 38METERS_PER_MILLIMETER— line 36MILLIMETERS_PER_METER— line 35PI— line 23PI_DIV_FOUR— line 33SAMPLE_TEXTURECUBE_ARRAY_LOD_ABSTRACT— line 15SAMPLE_TEXTURECUBE_ARRAY_LOD_ABSTRACT— line 20TEMPLATE_1_FLT— line 59TEMPLATE_1_FLT_HALF— line 65TEMPLATE_1_HALF— line 75TEMPLATE_1_INT— line 81TEMPLATE_2_FLT— line 91TEMPLATE_2_FLT_HALF— line 97TEMPLATE_2_HALF— line 107TEMPLATE_2_INT— line 113TEMPLATE_3_FLT— line 123TEMPLATE_3_FLT_HALF— line 129TEMPLATE_3_HALF— line 139TEMPLATE_3_INT— line 145TEMPLATE_SWAP— line 155TEXTURECUBE_ARRAY_ABSTRACT— line 12TEXTURECUBE_ARRAY_ABSTRACT— line 17TEXTURECUBE_ARRAY_ARGS_ABSTRACT— line 14TEXTURECUBE_ARRAY_ARGS_ABSTRACT— line 19TEXTURECUBE_ARRAY_PARAM_ABSTRACT— line 13TEXTURECUBE_ARRAY_PARAM_ABSTRACT— line 18TRANSFORM_TEX— line 180TWO_PI— line 24UINT_MAX— line 51UNITY_MACROS_INCLUDED— line 2
<CORE>/ShaderLibrary/MetaPass.hlsl
Functions
else if(...)— line 71else if(...)— line 156else if(...)— line 167else if(...)— line 172void UnityEditorVizData(...)— line 66void UnityEditorVizData(...)— line 79half4 UnityMetaFragment(...)— line 119float4 UnityMetaVertexPosition(...)— line 87float4 UnityMetaVertexPosition(...)— line 110float2 UnityMetaVizUV(...)— line 56
Structs
UnityMetaInput— line 21
Macros
EDITORVIZ_PBR_VALIDATION_ALBEDO— line 35EDITORVIZ_PBR_VALIDATION_METALSPECULAR— line 36EDITORVIZ_SHOWLIGHTMASK— line 38EDITORVIZ_TEXTURE— line 37unity_EditorViz_ChannelSelect— line 50unity_EditorViz_Color— line 51unity_EditorViz_LightType— line 52UNITY_META_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl— line 5 (Include)
<CORE>/ShaderLibrary/MostRepresentativePoint.hlsl
Functions
float3 ClosestPointLine(...)— line 62float3 ClosestPointRectangle(...)— line 46float3 ClosestPointSegment(...)— line 69float FlatAngleSegment(...)— line 36float SolidAngleRectangle(...)— line 6float SolidAngleRightPyramid(...)— line 27
Macros
UNITY_AREA_MRP_INCLUDED— line 2
<CORE>/ShaderLibrary/NormalSurfaceGradient.hlsl
Functions
real2 ConvertTangentSpaceNormalToHeightMapGradient(...)— line 66real3 SurfaceGradientFromPerturbedNormal(...)— line 31real3 SurfaceGradientFromTangentSpaceNormalAndFromTBN(...)— line 72real3 SurfaceGradientFromTBN(...)— line 22real3 SurfaceGradientFromTriplanarProjection(...)— line 49real3 SurfaceGradientFromVolumeGradient(...)— line 41void SurfaceGradientGenBasisTB(...)— line 6real3 SurfaceGradientResolveNormal(...)— line 61real2 UnpackDerivativeNormalAG(...)— line 88real2 UnpackDerivativeNormalRGB(...)— line 79real2 UnpackDerivativeNormalRGorAG(...)— line 97
Macros
NORMAL_SURFACE_GRADIENT_HLSL— line 2
<CORE>/ShaderLibrary/Packing.hlsl
Functions
uint FindBiggestComponent(...)— line 296real Pack2Byte(...)— line 395real PackByte(...)— line 358float PackFloat2To8(...)— line 562float3 PackFloat2To888(...)— line 538uint3 PackFloat2To888UInt(...)— line 527real PackFloatInt(...)— line 421real PackFloatInt10bit(...)— line 456real PackFloatInt16bit(...)— line 466real PackFloatInt8bit(...)— line 446real2 PackFloatToR8G8(...)— line 511uint PackFloatToUInt(...)— line 481real PackInt(...)— line 344real2 PackNormalHemiOctEncode(...)— line 86real3 PackNormalMaxComponent(...)— line 12float2 PackNormalOctQuadEncode(...)— line 57real2 PackNormalOctRectEncode(...)— line 25real2 PackNormalTetraEncode(...)— line 128real4 PackQuat(...)— line 307real PackShort(...)— line 370real PackShortHi(...)— line 389real PackShortLo(...)— line 382real4 PackToLogLuv(...)— line 236uint PackToR10G10B10A2(...)— line 492uint PackToR11G11B10f(...)— line 272float2 PackToR5G6B5(...)— line 592uint PackToR7G7B6(...)— line 608real2 Unpack2Byte(...)— line 404float2 Unpack888ToFloat2(...)— line 555float2 Unpack888UIntToFloat2(...)— line 544float2 Unpack8ToFloat2(...)— line 573uint UnpackByte(...)— line 364real UnpackFloatFromR8G8(...)— line 518void UnpackFloatInt(...)— line 431void UnpackFloatInt10bit(...)— line 461void UnpackFloatInt16bit(...)— line 471void UnpackFloatInt8bit(...)— line 451real3 UnpackFromLogLuv(...)— line 254real4 UnpackFromR10G10B10A2(...)— line 500float3 UnpackFromR11G11B10f(...)— line 280float3 UnpackFromR5G6B5(...)— line 600float3 UnpackFromR7G7B6(...)— line 616float4 UnpackFromR8G8B8A8(...)— line 587uint UnpackInt(...)— line 351real3 UnpackNormal(...)— line 207real3 UnpackNormalAG(...)— line 181real3 UnpackNormalHemiOctEncode(...)— line 94real3 UnpackNormalMapRGorAG(...)— line 199real3 UnpackNormalMaxComponent(...)— line 17float3 UnpackNormalOctQuadEncode(...)— line 71real3 UnpackNormalOctRectEncode(...)— line 40real3 UnpackNormalRGB(...)— line 168real3 UnpackNormalRGBNoScale(...)— line 176real3 UnpackNormalScale(...)— line 220real3 UnpackNormalTetraEncode(...)— line 159real4 UnpackQuat(...)— line 324uint UnpackShort(...)— line 376real UnpackUIntToFloat(...)— line 486
Macros
UNITY_PACKING_INCLUDED— line 2
<CORE>/ShaderLibrary/ParallaxMapping.hlsl
Functions
half3 GetViewDirectionTangentSpace(...)— line 5float2 ParallaxMapping(...)— line 39float2 ParallaxMappingChannel(...)— line 46half2 ParallaxOffset1Step(...)— line 30
Macros
UNIVERSAL_PARALLAX_MAPPING_INCLUDED— line 2
<CORE>/ShaderLibrary/PerPixelDisplacement.hlsl
Macros
POM_SECANT_METHOD— line 63POM_USER_DATA_ARGUMENTS— line 15POM_USER_DATA_PARAMETERS— line 11
<CORE>/ShaderLibrary/PhysicalCamera.hlsl
Functions
float ComputeEV100(...)— line 12float ComputeEV100FromAvgLuminance(...)— line 24float ComputeEV100FromAvgLuminance(...)— line 30float ComputeISO(...)— line 60float ComputeLuminanceAdaptation(...)— line 66float ConvertEV100ToExposure(...)— line 42float ConvertEV100ToExposure(...)— line 54
Macros
UNITY_PHYSICAL_CAMERA_INCLUDED— line 2
<CORE>/ShaderLibrary/Random.hlsl
Functions
float ConstructFloat(...)— line 44float ConstructFloat(...)— line 55float GenerateHashedRandomFloat(...)— line 62float GenerateHashedRandomFloat(...)— line 67float GenerateHashedRandomFloat(...)— line 72float GenerateHashedRandomFloat(...)— line 77float Hash(...)— line 4float2 InitRandom(...)— line 82float InterleavedGradientNoise(...)— line 93uint JenkinsHash(...)— line 16uint JenkinsHash(...)— line 27uint JenkinsHash(...)— line 32uint JenkinsHash(...)— line 37uint XorShift(...)— line 102
Macros
UNITY_RANDOM_INCLUDED— line 2
<CORE>/ShaderLibrary/Refraction.hlsl
Functions
RefractionModelResult RefractionModelBox(...)— line 51RefractionModelResult RefractionModelSphere(...)— line 15
Structs
RefractionModelResult— line 8
Macros
UNITY_REFRACTION_INCLUDED— line 2
<CORE>/ShaderLibrary/Sampling/Fibonacci.hlsl
Functions
real2 Fibonacci2d(...)— line 248real2 Fibonacci2dSeq(...)— line 11real2 Golden2dSeq(...)— line 23real2 SampleDiskFibonacci(...)— line 282real2 SampleDiskGolden(...)— line 275real2 SampleHemisphereFibonacci(...)— line 289real2 SampleSphereFibonacci(...)— line 296
Macros
GOLDEN_ANGLE— line 20GOLDEN_RATIO— line 19UNITY_FIBONACCI_INCLUDED— line 2
<CORE>/ShaderLibrary/Sampling/Hammersley.hlsl
Functions
real2 Hammersley2d(...)— line 421real2 Hammersley2dSeq(...)— line 28uint ReverseBits32(...)— line 9real VanDerCorputBase2(...)— line 23
Macros
UNITY_HAMMERSLEY_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/Runtime/ShaderLibrary/Sampling/Hammersley.cs.hlsl— line 34 (Include)
<CORE>/ShaderLibrary/Sampling/SampleUVMapping.hlsl
Structs
UVMapping— line 13
Macros
__SAMPLEUVMAPPING_HLSL__— line 5ADD_FUNC_SUFFIX— line 38ADD_FUNC_SUFFIX— line 45ADD_FUNC_SUFFIX— line 52SAMPLE_TEXTURE_FUNC— line 39SAMPLE_TEXTURE_FUNC— line 46SAMPLE_TEXTURE_FUNC— line 53SAMPLE_UVMAPPING_NORMALMAP— line 63SAMPLE_UVMAPPING_NORMALMAP_AG— line 67SAMPLE_UVMAPPING_NORMALMAP_AG_BIAS— line 69SAMPLE_UVMAPPING_NORMALMAP_AG_LOD— line 68SAMPLE_UVMAPPING_NORMALMAP_BIAS— line 65SAMPLE_UVMAPPING_NORMALMAP_LOD— line 64SAMPLE_UVMAPPING_NORMALMAP_RGB— line 71SAMPLE_UVMAPPING_NORMALMAP_RGB_BIAS— line 73SAMPLE_UVMAPPING_NORMALMAP_RGB_LOD— line 72SAMPLE_UVMAPPING_TEXTURE2D— line 59SAMPLE_UVMAPPING_TEXTURE2D_BIAS— line 61SAMPLE_UVMAPPING_TEXTURE2D_LOD— line 60UV_MAPPING_PLANAR— line 10UV_MAPPING_TRIPLANAR— line 11UV_MAPPING_UVSET— line 9
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/NormalSurfaceGradient.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingInternal.hlsl— line 40 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingInternal.hlsl— line 47 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingInternal.hlsl— line 54 (Include)
<CORE>/ShaderLibrary/Sampling/SampleUVMappingInternal.hlsl
Functions
real4 ADD_FUNC_SUFFIX(...)— line 7
Macros
ADD_NORMAL_FUNC_SUFFIX— line 32ADD_NORMAL_FUNC_SUFFIX— line 49ADD_NORMAL_FUNC_SUFFIX— line 58UNPACK_DERIVATIVE_FUNC— line 35UNPACK_DERIVATIVE_FUNC— line 38UNPACK_DERIVATIVE_FUNC— line 41UNPACK_DERIVATIVE_FUNC— line 51UNPACK_DERIVATIVE_FUNC— line 60UNPACK_NORMAL_FUNC— line 34UNPACK_NORMAL_FUNC— line 37UNPACK_NORMAL_FUNC— line 40UNPACK_NORMAL_FUNC— line 50UNPACK_NORMAL_FUNC— line 59
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingNormalInternal.hlsl— line 43 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingNormalInternal.hlsl— line 52 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/SampleUVMappingNormalInternal.hlsl— line 61 (Include)
<CORE>/ShaderLibrary/Sampling/SampleUVMappingNormalInternal.hlsl
Functions
real3 ADD_FUNC_SUFFIX(...)— line 1else if(...)— line 39
<CORE>/ShaderLibrary/Sampling/Sampling.hlsl
Functions
real3 ConvertEquiarealToCubemap(...)— line 44real3 CubemapTexelToDirection(...)— line 100real2 CubemapTexelToNVC(...)— line 53void SampleCone(...)— line 301real3 SampleConeStrata(...)— line 314real3 SampleConeUniform(...)— line 139void SampleCylinder(...)— line 231void SampleDisk(...)— line 280real2 SampleDiskCubic(...)— line 128real2 SampleDiskUniform(...)— line 116void SampleHemisphere(...)— line 208real3 SampleHemisphereCosine(...)— line 156real3 SampleHemisphereCosine(...)— line 172real3 SampleHemisphereUniform(...)— line 181void SampleRectangle(...)— line 260void SampleSphere(...)— line 189real3 SampleSphereUniform(...)— line 147real3 SphericalToCartesian(...)— line 20real3 SphericalToCartesian(...)— line 27real3 TransformGLtoDX(...)— line 38
Macros
UNITY_SAMPLING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/Fibonacci.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/Hammersley.hlsl— line 13 (Include)
<CORE>/ShaderLibrary/ScreenCoordOverride.hlsl
Functions
float2 ScreenCoordApplyScaleBias(...)— line 4float2 ScreenCoordRemoveScaleBias(...)— line 9
Macros
SCREEN_COORD_APPLY_SCALEBIAS— line 16SCREEN_COORD_APPLY_SCALEBIAS— line 20SCREEN_COORD_REMOVE_SCALEBIAS— line 17SCREEN_COORD_REMOVE_SCALEBIAS— line 21SCREEN_SIZE_OVERRIDE— line 18SCREEN_SIZE_OVERRIDE— line 22UNITY_SCREEN_COORD_OVERRIDE_INCLUDED— line 2
<CORE>/ShaderLibrary/SDF2D.hlsl
Functions
float CircleSDF(...)— line 6float EllipseSDF(...)— line 17float RectangleSDF(...)— line 11
Macros
UNITY_SDF2D_INCLUDED— line 2
<CORE>/ShaderLibrary/ShaderDebugPrint.hlsl
Functions
int ShaderDebugFrameNumber(...)— line 51int ShaderDebugMouseButtonLeft(...)— line 47int ShaderDebugMouseButtonRight(...)— line 48int2 ShaderDebugMouseCoords(...)— line 43
Macros
PRINT_MOUSE— line 204PRINT_MOUSE_BUTTON— line 253PRINT_MOUSE_BUTTON_WITH_TAG— line 259PRINT_MOUSE_WITH_TAG— line 210PRINT1— line 80PRINT2— line 98PRINT3— line 117PRINT4— line 137SHADER_DEBUG_PRINT_INCLUDED— line 2
<CORE>/ShaderLibrary/Shadow/ShadowSamplingTent.hlsl
Functions
void SampleShadow_ComputeSamples_Tent_3x3(...)— line 109void SampleShadow_ComputeSamples_Tent_5x5(...)— line 189void SampleShadow_ComputeSamples_Tent_7x7(...)— line 257void SampleShadow_GetTexelAreas_Tent_3x3(...)— line 27void SampleShadow_GetTexelWeights_Tent_3x3(...)— line 53void SampleShadow_GetTexelWeights_Tent_5x5(...)— line 65void SampleShadow_GetTexelWeights_Tent_7x7(...)— line 88real SampleShadow_GetTriangleTexelArea(...)— line 15
Macros
SampleShadow_ComputeSamples_Tent_Filter_5x5— line 144SampleShadow_ComputeSamples_Tent_Filter_7x7— line 196SHADOW_SAMPLING_TENT_INCLUDED— line 2
<CORE>/ShaderLibrary/SixWayLighting.hlsl
Functions
real3 ComputeDensityScales(...)— line 6real3 GetSixWayDiffuseContributions(...)— line 39real3 GetTransmissionWithAbsorption(...)— line 15real3 GetTransmissionWithAbsorption(...)— line 21
Macros
ABSORPTION_EPSILON— line 4UNITY_SIX_WAY_COMMON_INCLUDED— line 2
<CORE>/ShaderLibrary/SpaceFillingCurves.hlsl
Functions
uint Compact1By1(...)— line 30uint Compact1By2(...)— line 42uint2 DecodeMorton2D(...)— line 62uint3 DecodeMorton3D(...)— line 67uint2 DeinterleaveQuad(...)— line 77uint EncodeMorton2D(...)— line 52uint EncodeMorton3D(...)— line 57uint InterleaveQuad(...)— line 72uint Part1By1(...)— line 6uint Part1By2(...)— line 18
Macros
UNITY_SPACE_FILLING_CURVES_INCLUDED— line 2
<CORE>/ShaderLibrary/SpaceTransforms.hlsl
Functions
real3x3 CreateTangentToWorld(...)— line 228float3 GetAbsolutePositionWS(...)— line 54float3 GetCameraRelativePositionWS(...)— line 63float4x4 GetObjectToWorldMatrix(...)— line 11real GetOddNegativeScale(...)— line 71float4x4 GetPrevObjectToWorldMatrix(...)— line 21float4x4 GetPrevWorldToObjectMatrix(...)— line 26float4x4 GetViewToHClipMatrix(...)— line 48float4x4 GetViewToWorldMatrix(...)— line 36float4x4 GetWorldToHClipMatrix(...)— line 42float4x4 GetWorldToObjectMatrix(...)— line 16float4x4 GetWorldToViewMatrix(...)— line 31float4 TransformObjectToHClip(...)— line 108real3 TransformObjectToTangent(...)— line 332float3 TransformObjectToWorld(...)— line 79float3 TransformObjectToWorldDir(...)— line 127float3 TransformObjectToWorldNormal(...)— line 199real3 TransformTangentToObject(...)— line 324real3 TransformTangentToWorld(...)— line 239real3 TransformTangentToWorldDir(...)— line 295float3 TransformViewToWorld(...)— line 102real3 TransformViewToWorldDir(...)— line 165real3 TransformViewToWorldNormal(...)— line 182float4 TransformWorldToHClip(...)— line 115real3 TransformWorldToHClipDir(...)— line 189float3 TransformWorldToObject(...)— line 88float3 TransformWorldToObjectDir(...)— line 141float3 TransformWorldToObjectNormal(...)— line 214real3 TransformWorldToTangent(...)— line 253real3 TransformWorldToTangentDir(...)— line 283float3 TransformWorldToView(...)— line 97real3 TransformWorldToViewDir(...)— line 155real3 TransformWorldToViewNormal(...)— line 175float4 TransformWViewToHClip(...)— line 121
Macros
UNITY_SPACE_TRANSFORMS_INCLUDED— line 2
<CORE>/ShaderLibrary/SphericalHarmonics.hlsl
Functions
void ConvolveZonal(...)— line 169void GetCornetteShanksPhaseFunction(...)— line 160void PackSH(...)— line 193half3 SampleSH4_L1(...)— line 90float3 SampleSH4_L1(...)— line 144half3 SampleSH9(...)— line 67float3 SampleSH9(...)— line 107float3 SampleSH9(...)— line 130real3 SHEvalLinearL0L1(...)— line 27real3 SHEvalLinearL1(...)— line 40real3 SHEvalLinearL2(...)— line 50
Macros
kClampedCosine0— line 19kClampedCosine1— line 20kClampedCosine2— line 21kInvClampedCosine1— line 22kSHBasis0— line 9kSHBasis1— line 10kSHBasis2— line 11kSHBasis3— line 12kSHBasis4— line 13UNITY_SPHERICAL_HARMONICS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 5 (Include)
<CORE>/ShaderLibrary/Tessellation.hlsl
Functions
real4 CalcTriTessFactorsFromEdgeTessFactors(...)— line 57real3 GetDistanceBasedTessFactor(...)— line 35real3 GetScreenSpaceTessFactor(...)— line 19real3 PhongTessellation(...)— line 5
Macros
TESSELLATION_INTERPOLATE_BARY— line 1
<CORE>/ShaderLibrary/Texture.hlsl
Functions
float2 GetTransformedUV(...)— line 34UnitySamplerState UnityBuildSamplerStateStructInternal(...)— line 13UnityTexture2DArray UnityBuildTexture2DArrayStructInternal(...)— line 110UnityTexture2D UnityBuildTexture2DStructInternal(...)— line 66UnityTexture2D UnityBuildTexture2DStructNoTexelSizeInternal(...)— line 78UnityTexture3D UnityBuildTexture3DStructInternal(...)— line 171UnityTextureCube UnityBuildTextureCubeStructInternal(...)— line 144
Structs
UnitySamplerState— line 6UnityTexture2D— line 20UnityTexture2DArray— line 89UnityTexture3D— line 153UnityTextureCube— line 119
Macros
UNITY_TEXTURE_INCLUDED— line 2UnityBuildSamplerStateStruct— line 11UnityBuildTexture2DArrayStruct— line 109UnityBuildTexture2DStruct— line 64UnityBuildTexture2DStructNoScale— line 65UnityBuildTexture2DStructNoScaleNoTexelSize— line 77UnityBuildTexture2DStructNoTexelSize— line 76UnityBuildTexture3DStruct— line 170UnityBuildTextureCubeStruct— line 143
<CORE>/ShaderLibrary/TextureStack.hlsl
Functions
VTPropertyWithTextureType AddTextureType(...)— line 438float4 ApplyTextureType(...)— line 449void Frag(...)— line 88GraniteTilesetConstantBuffer GetConstantBuffer(...)— line 200float4 GetPackedVTFeedback(...)— line 298else if(...)— line 456StackInfo MakeStackInfo(...)— line 363StackInfo PrepareVT(...)— line 282StackInfo PrepareVT(...)— line 404float4 SampleVTFallbackToTexture(...)— line 378float4 SampleVTLayer(...)— line 291
Structs
StackInfo— line 21StackInfo— line 124StackInfo— line 345VTProperty— line 131VTProperty— line 350VTPropertyWithTextureType— line 23VTPropertyWithTextureType— line 432
Macros
DECLARE_BUILD_PROPERTIES— line 218DECLARE_BUILD_PROPERTIES— line 308DECLARE_STACK— line 251DECLARE_STACK— line 328DECLARE_STACK_BASE— line 163DECLARE_STACK_CB— line 160DECLARE_STACK_CB— line 340DECLARE_STACK_LAYER— line 215DECLARE_STACK2— line 256DECLARE_STACK2— line 331DECLARE_STACK3— line 262DECLARE_STACK3— line 334DECLARE_STACK4— line 269DECLARE_STACK4— line 337GetPackedVTFeedback— line 419GetResolveOutput— line 279GetResolveOutput— line 417GR_LOOKUP— line 141GR_LOOKUP— line 144GR_LOOKUP_LOD— line 142GR_LOOKUP_LOD— line 145GRA_HLSL_5— line 4GRA_NO_UNORM— line 9GRA_PACK_RESOLVE_OUTPUT— line 7GRA_ROW_MAJOR— line 5GRA_TEXTURE_ARRAY_SUPPORT— line 6jj— line 213jj2— line 212PackResolveOutput— line 280PackResolveOutput— line 418PrepareStack— line 277PrepareStack— line 371RESOLVE_SCALE_OVERRIDE— line 150SampleStack— line 278SampleStack— line 374SampleVTLayer— line 413SampleVTLayerWithTextureType— line 468TEXTURESTACK_include— line 2TEXTURETYPE_DEFAULT— line 428TEXTURETYPE_NORMALOBJECTSPACE— line 430TEXTURETYPE_NORMALTANGENTSPACE— line 429VIRTUAL_TEXTURING_SHADER_ENABLED— line 303VT_CACHE_SAMPLER— line 154
Includes
Packing.hlsl— line 12 (Include)VirtualTexturing.hlsl— line 11 (Include)
<CORE>/ShaderLibrary/TextureXR.hlsl
Macros
COORD_TEXTURE2D_X— line 55COORD_TEXTURE2D_X— line 81FRAMEBUFFER_INPUT_X_FLOAT— line 140FRAMEBUFFER_INPUT_X_FLOAT— line 180FRAMEBUFFER_INPUT_X_FLOAT— line 197FRAMEBUFFER_INPUT_X_FLOAT— line 212FRAMEBUFFER_INPUT_X_FLOAT_MS— line 159FRAMEBUFFER_INPUT_X_FLOAT_MS— line 186FRAMEBUFFER_INPUT_X_FLOAT_MS— line 202FRAMEBUFFER_INPUT_X_FLOAT_MS— line 218FRAMEBUFFER_INPUT_X_HALF— line 137FRAMEBUFFER_INPUT_X_HALF— line 179FRAMEBUFFER_INPUT_X_HALF— line 196FRAMEBUFFER_INPUT_X_HALF— line 211FRAMEBUFFER_INPUT_X_HALF_MS— line 163FRAMEBUFFER_INPUT_X_HALF_MS— line 185FRAMEBUFFER_INPUT_X_HALF_MS— line 203FRAMEBUFFER_INPUT_X_HALF_MS— line 217FRAMEBUFFER_INPUT_X_INT— line 143FRAMEBUFFER_INPUT_X_INT— line 181FRAMEBUFFER_INPUT_X_INT— line 198FRAMEBUFFER_INPUT_X_INT— line 213FRAMEBUFFER_INPUT_X_INT_MS— line 167FRAMEBUFFER_INPUT_X_INT_MS— line 187FRAMEBUFFER_INPUT_X_INT_MS— line 204FRAMEBUFFER_INPUT_X_INT_MS— line 219FRAMEBUFFER_INPUT_X_UINT— line 146FRAMEBUFFER_INPUT_X_UINT— line 182FRAMEBUFFER_INPUT_X_UINT— line 199FRAMEBUFFER_INPUT_X_UINT— line 214FRAMEBUFFER_INPUT_X_UINT_MS— line 171FRAMEBUFFER_INPUT_X_UINT_MS— line 188FRAMEBUFFER_INPUT_X_UINT_MS— line 205FRAMEBUFFER_INPUT_X_UINT_MS— line 220GATHER_ALPHA_TEXTURE2D_X— line 77GATHER_ALPHA_TEXTURE2D_X— line 103GATHER_BLUE_TEXTURE2D_X— line 76GATHER_BLUE_TEXTURE2D_X— line 102GATHER_GREEN_TEXTURE2D_X— line 75GATHER_GREEN_TEXTURE2D_X— line 101GATHER_RED_TEXTURE2D_X— line 74GATHER_RED_TEXTURE2D_X— line 100GATHER_TEXTURE2D_X— line 73GATHER_TEXTURE2D_X— line 99INDEX_TEXTURE2D_ARRAY_X— line 56INDEX_TEXTURE2D_ARRAY_X— line 82LOAD_FRAMEBUFFER_INPUT_X— line 149LOAD_FRAMEBUFFER_INPUT_X— line 183LOAD_FRAMEBUFFER_INPUT_X— line 200LOAD_FRAMEBUFFER_INPUT_X— line 215LOAD_FRAMEBUFFER_INPUT_X_MS— line 175LOAD_FRAMEBUFFER_INPUT_X_MS— line 189LOAD_FRAMEBUFFER_INPUT_X_MS— line 206LOAD_FRAMEBUFFER_INPUT_X_MS— line 221LOAD_TEXTURE2D_X— line 68LOAD_TEXTURE2D_X— line 94LOAD_TEXTURE2D_X_LOD— line 70LOAD_TEXTURE2D_X_LOD— line 96LOAD_TEXTURE2D_X_MSAA— line 69LOAD_TEXTURE2D_X_MSAA— line 95RENDERPASS_DECLARE_FALLBACK_MS_X— line 152RENDERPASS_DECLARE_FALLBACK_X— line 130RW_TEXTURE2D_X— line 66RW_TEXTURE2D_X— line 92SAMPLE_TEXTURE2D_X— line 71SAMPLE_TEXTURE2D_X— line 97SAMPLE_TEXTURE2D_X_LOD— line 72SAMPLE_TEXTURE2D_X_LOD— line 98SLICE_ARRAY_INDEX— line 50SLICE_ARRAY_INDEX— line 52SLICE_ARRAY_INDEX— line 79TEXTURE2D_X— line 58TEXTURE2D_X— line 84TEXTURE2D_X_ARGS— line 60TEXTURE2D_X_ARGS— line 86TEXTURE2D_X_FLOAT— line 62TEXTURE2D_X_FLOAT— line 88TEXTURE2D_X_HALF— line 61TEXTURE2D_X_HALF— line 87TEXTURE2D_X_MSAA— line 64TEXTURE2D_X_MSAA— line 90TEXTURE2D_X_PARAM— line 59TEXTURE2D_X_PARAM— line 85TYPED_TEXTURE2D_X— line 67TYPED_TEXTURE2D_X— line 93UNITY_STEREO_ASSIGN_COMPUTE_EYE_INDEX— line 122UNITY_STEREO_INSTANCING_ENABLED— line 30UNITY_STEREO_INSTANCING_ENABLED— line 35unity_StereoEyeIndex— line 110UNITY_TEXTURE2D_X_ARRAY_SUPPORTED— line 11UNITY_TEXTUREXR_INCLUDED— line 2UNITY_XR_ASSIGN_VIEW_INDEX— line 116UNITY_XR_ASSIGN_VIEW_INDEX— line 118USE_TEXTURE2D_X_AS_ARRAY— line 25USING_STEREO_MATRICES— line 40
<CORE>/ShaderLibrary/Threading.hlsl
Functions
uint CountBits(...)— line 99Wave GetWave(...)— line 119uint2 RemapLaneTo8x16(...)— line 151
Structs
Group— line 113GroupBallot— line 95Wave— line 49
Macros
_THREADING_ENABLE_WAVE_EMULATION— line 44_THREADING_GROUP_BALLOT_DWORDS— line 45_THREADING_IS_HW_SUPPORTED— line 43DECLARE_API_FOR_TYPE— line 63DECLARE_API_FOR_TYPE_GROUP— line 160THREADING— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 31 (Include)ThreadingEmuImpl.hlsl— line 195 (Include)ThreadingSM6Impl.hlsl— line 197 (Include)
<CORE>/ShaderLibrary/ThreadingEmuImpl.hlsl
Macros
DEFINE_API_FOR_TYPE— line 79DEFINE_API_FOR_TYPE_GROUP— line 220EMULATED_GROUP_PREFIX— line 193EMULATED_GROUP_REDUCE— line 167EMULATED_GROUP_REDUCE_CMP— line 180EMULATED_WAVE_PREFIX— line 43EMULATED_WAVE_REDUCE— line 17EMULATED_WAVE_REDUCE_CMP— line 30THREADING_EMU_IMPL— line 2THREADING_WAVE_SIZE— line 8
<CORE>/ShaderLibrary/ThreadingSM6Impl.hlsl
Macros
DEFINE_API_FOR_TYPE— line 19DEFINE_API_FOR_TYPE_GROUP— line 103EMULATED_GROUP_PREFIX— line 76EMULATED_GROUP_REDUCE— line 50EMULATED_GROUP_REDUCE_CMP— line 63THREADING_SM6_IMPL— line 2
<CORE>/ShaderLibrary/UnityDOTSInstancing.hlsl
Functions
uint ComputeDOTSInstanceDataAddress(...)— line 355uint ComputeDOTSInstanceDataAddressOverridden(...)— line 368uint ComputeDOTSInstanceOffset(...)— line 350uint DOTSInstanceData_Load(...)— line 391uint DOTSInstanceData_Load(...)— line 441uint2 DOTSInstanceData_Load2(...)— line 397uint2 DOTSInstanceData_Load2(...)— line 445uint3 DOTSInstanceData_Load3(...)— line 408uint3 DOTSInstanceData_Load3(...)— line 449uint4 DOTSInstanceData_Load4(...)— line 403uint4 DOTSInstanceData_Load4(...)— line 453uint DOTSInstanceData_Select(...)— line 376uint2 DOTSInstanceData_Select2(...)— line 385uint GetDOTSIndirectVisibleIndex(...)— line 244int GetDOTSInstanceCrossfadeSnorm8(...)— line 338uint GetDOTSInstanceIndex(...)— line 249bool IsDOTSInstancedProperty(...)— line 343uint LoadDOTSIndirectInstanceIndex(...)— line 303float2x4 LoadDOTSInstancedData_float2x4(...)— line 626float2x4 LoadDOTSInstancedData_float2x4(...)— line 653float2x4 LoadDOTSInstancedData_float2x4(...)— line 659float4x4 LoadDOTSInstancedData_float4x4(...)— line 570float4x4 LoadDOTSInstancedData_float4x4(...)— line 641float4x4 LoadDOTSInstancedData_float4x4_from_float3x4(...)— line 597float4x4 LoadDOTSInstancedData_float4x4_from_float3x4(...)— line 647half LoadDOTSInstancedData_half(...)— line 513half4 LoadDOTSInstancedData_half4(...)— line 526float4 LoadDOTSInstancedData_LightData(...)— line 694float4 LoadDOTSInstancedData_LODFade(...)— line 703float3 LoadDOTSInstancedData_MeshLocalBoundCenter(...)— line 670float3 LoadDOTSInstancedData_MeshLocalBoundExtent(...)— line 675min16float LoadDOTSInstancedData_min16float(...)— line 539min16float LoadDOTSInstancedData_min16float(...)— line 557min16float4 LoadDOTSInstancedData_min16float4(...)— line 548min16float4 LoadDOTSInstancedData_min16float4(...)— line 563float4 LoadDOTSInstancedData_MotionVectorsParams(...)— line 680real4 LoadDOTSInstancedData_ProbesOcclusion(...)— line 758float3 LoadDOTSInstancedData_RendererBounds_Max(...)— line 760float3 LoadDOTSInstancedData_RendererBounds_Min(...)— line 759float4 LoadDOTSInstancedData_RenderingLayer(...)— line 665float4 LoadDOTSInstancedData_SelectionValue(...)— line 762real4 LoadDOTSInstancedData_SHAb(...)— line 753real4 LoadDOTSInstancedData_SHAg(...)— line 752real4 LoadDOTSInstancedData_SHAr(...)— line 751real4 LoadDOTSInstancedData_SHBb(...)— line 756real4 LoadDOTSInstancedData_SHBg(...)— line 755real4 LoadDOTSInstancedData_SHBr(...)— line 754real4 LoadDOTSInstancedData_SHC(...)— line 757float4 LoadDOTSInstancedData_WorldTransformParams(...)— line 688float2x4 LoadDOTSInstancedDataOverridden_float2x4(...)— line 633float4x4 LoadDOTSInstancedDataOverridden_float4x4(...)— line 583float4x4 LoadDOTSInstancedDataOverridden_float4x4_from_float3x4(...)— line 611half LoadDOTSInstancedDataOverridden_half(...)— line 519half4 LoadDOTSInstancedDataOverridden_half4(...)— line 532min16float LoadDOTSInstancedDataOverridden_min16float(...)— line 543min16float4 LoadDOTSInstancedDataOverridden_min16float4(...)— line 552void SetupDOTSInstanceSelectMasks(...)— line 267void SetupDOTSInstanceSelectMasks(...)— line 291void SetupDOTSRendererBounds(...)— line 712void SetupDOTSSHCoeffs(...)— line 724void SetupDOTSVisibleInstancingData(...)— line 314
Structs
DOTSVisibleData— line 206
Macros
DEFINE_DOTS_LOAD_INSTANCE_SCALAR— line 459DEFINE_DOTS_LOAD_INSTANCE_VECTOR— line 477UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP— line 172UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP_WITH_CUSTOM_DEFAULT— line 174UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP_WITH_DEFAULT— line 173UNITY_ACCESS_DOTS_INSTANCED_PROP— line 154UNITY_ACCESS_DOTS_INSTANCED_PROP_WITH_CUSTOM_DEFAULT— line 166UNITY_ACCESS_DOTS_INSTANCED_PROP_WITH_DEFAULT— line 160UNITY_ACCESS_DOTS_INSTANCED_SELECTION_VALUE— line 794UNITY_DOTS_INSTANCED_METADATA_NAME— line 129UNITY_DOTS_INSTANCED_PROP— line 145UNITY_DOTS_INSTANCED_PROP— line 147UNITY_DOTS_INSTANCED_PROP_IS_OVERRIDE_DISABLED— line 150UNITY_DOTS_INSTANCED_PROP_IS_OVERRIDE_ENABLED— line 151UNITY_DOTS_INSTANCED_PROP_IS_OVERRIDE_REQUIRED— line 152UNITY_DOTS_INSTANCED_PROP_OVERRIDE_DISABLED— line 135UNITY_DOTS_INSTANCED_PROP_OVERRIDE_MODE_NAME— line 130UNITY_DOTS_INSTANCED_PROP_OVERRIDE_REQUIRED— line 141UNITY_DOTS_INSTANCED_PROP_OVERRIDE_SUPPORTED— line 138UNITY_DOTS_INSTANCING_CONCAT_WITH_METADATA— line 117UNITY_DOTS_INSTANCING_CONCAT2— line 115UNITY_DOTS_INSTANCING_CONCAT4— line 116UNITY_DOTS_INSTANCING_END— line 133UNITY_DOTS_INSTANCING_INCLUDED— line 2UNITY_DOTS_INSTANCING_START— line 132UNITY_DOTS_INSTANCING_TYPESPEC_float— line 39UNITY_DOTS_INSTANCING_TYPESPEC_float1— line 40UNITY_DOTS_INSTANCING_TYPESPEC_float1x2— line 44UNITY_DOTS_INSTANCING_TYPESPEC_float1x3— line 48UNITY_DOTS_INSTANCING_TYPESPEC_float1x4— line 52UNITY_DOTS_INSTANCING_TYPESPEC_float2— line 41UNITY_DOTS_INSTANCING_TYPESPEC_float2x2— line 45UNITY_DOTS_INSTANCING_TYPESPEC_float2x3— line 49UNITY_DOTS_INSTANCING_TYPESPEC_float2x4— line 53UNITY_DOTS_INSTANCING_TYPESPEC_float3— line 42UNITY_DOTS_INSTANCING_TYPESPEC_float3x2— line 46UNITY_DOTS_INSTANCING_TYPESPEC_float3x3— line 50UNITY_DOTS_INSTANCING_TYPESPEC_float3x4— line 54UNITY_DOTS_INSTANCING_TYPESPEC_float4— line 43UNITY_DOTS_INSTANCING_TYPESPEC_float4x2— line 47UNITY_DOTS_INSTANCING_TYPESPEC_float4x3— line 51UNITY_DOTS_INSTANCING_TYPESPEC_float4x4— line 55UNITY_DOTS_INSTANCING_TYPESPEC_half— line 90UNITY_DOTS_INSTANCING_TYPESPEC_half1— line 91UNITY_DOTS_INSTANCING_TYPESPEC_half1x2— line 95UNITY_DOTS_INSTANCING_TYPESPEC_half1x3— line 99UNITY_DOTS_INSTANCING_TYPESPEC_half1x4— line 103UNITY_DOTS_INSTANCING_TYPESPEC_half2— line 92UNITY_DOTS_INSTANCING_TYPESPEC_half2x2— line 96UNITY_DOTS_INSTANCING_TYPESPEC_half2x3— line 100UNITY_DOTS_INSTANCING_TYPESPEC_half2x4— line 104UNITY_DOTS_INSTANCING_TYPESPEC_half3— line 93UNITY_DOTS_INSTANCING_TYPESPEC_half3x2— line 97UNITY_DOTS_INSTANCING_TYPESPEC_half3x3— line 101UNITY_DOTS_INSTANCING_TYPESPEC_half3x4— line 105UNITY_DOTS_INSTANCING_TYPESPEC_half4— line 94UNITY_DOTS_INSTANCING_TYPESPEC_half4x2— line 98UNITY_DOTS_INSTANCING_TYPESPEC_half4x3— line 102UNITY_DOTS_INSTANCING_TYPESPEC_half4x4— line 106UNITY_DOTS_INSTANCING_TYPESPEC_int— line 56UNITY_DOTS_INSTANCING_TYPESPEC_int1— line 57UNITY_DOTS_INSTANCING_TYPESPEC_int1x2— line 61UNITY_DOTS_INSTANCING_TYPESPEC_int1x3— line 65UNITY_DOTS_INSTANCING_TYPESPEC_int1x4— line 69UNITY_DOTS_INSTANCING_TYPESPEC_int2— line 58UNITY_DOTS_INSTANCING_TYPESPEC_int2x2— line 62UNITY_DOTS_INSTANCING_TYPESPEC_int2x3— line 66UNITY_DOTS_INSTANCING_TYPESPEC_int2x4— line 70UNITY_DOTS_INSTANCING_TYPESPEC_int3— line 59UNITY_DOTS_INSTANCING_TYPESPEC_int3x2— line 63UNITY_DOTS_INSTANCING_TYPESPEC_int3x3— line 67UNITY_DOTS_INSTANCING_TYPESPEC_int3x4— line 71UNITY_DOTS_INSTANCING_TYPESPEC_int4— line 60UNITY_DOTS_INSTANCING_TYPESPEC_int4x2— line 64UNITY_DOTS_INSTANCING_TYPESPEC_int4x3— line 68UNITY_DOTS_INSTANCING_TYPESPEC_int4x4— line 72UNITY_DOTS_INSTANCING_TYPESPEC_min16float— line 107UNITY_DOTS_INSTANCING_TYPESPEC_min16float4— line 108UNITY_DOTS_INSTANCING_TYPESPEC_SH— line 109UNITY_DOTS_INSTANCING_TYPESPEC_uint— line 73UNITY_DOTS_INSTANCING_TYPESPEC_uint1— line 74UNITY_DOTS_INSTANCING_TYPESPEC_uint1x2— line 78UNITY_DOTS_INSTANCING_TYPESPEC_uint1x3— line 82UNITY_DOTS_INSTANCING_TYPESPEC_uint1x4— line 86UNITY_DOTS_INSTANCING_TYPESPEC_uint2— line 75UNITY_DOTS_INSTANCING_TYPESPEC_uint2x2— line 79UNITY_DOTS_INSTANCING_TYPESPEC_uint2x3— line 83UNITY_DOTS_INSTANCING_TYPESPEC_uint2x4— line 87UNITY_DOTS_INSTANCING_TYPESPEC_uint3— line 76UNITY_DOTS_INSTANCING_TYPESPEC_uint3x2— line 80UNITY_DOTS_INSTANCING_TYPESPEC_uint3x3— line 84UNITY_DOTS_INSTANCING_TYPESPEC_uint3x4— line 88UNITY_DOTS_INSTANCING_TYPESPEC_uint4— line 77UNITY_DOTS_INSTANCING_TYPESPEC_uint4x2— line 81UNITY_DOTS_INSTANCING_TYPESPEC_uint4x3— line 85UNITY_DOTS_INSTANCING_TYPESPEC_uint4x4— line 89UNITY_SETUP_DOTS_MATERIAL_PROPERTY_CACHES— line 176
<CORE>/ShaderLibrary/UnityInstancing.hlsl
Functions
void UnitySetupInstanceID(...)— line 189
Macros
DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 128DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 136DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 141DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 147DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 154DEFAULT_UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 163DEFAULT_UNITY_SETUP_INSTANCE_ID— line 230DEFAULT_UNITY_SETUP_INSTANCE_ID— line 233DEFAULT_UNITY_SETUP_INSTANCE_ID— line 235DEFAULT_UNITY_SETUP_INSTANCE_ID— line 239DEFAULT_UNITY_SETUP_INSTANCE_ID— line 242DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 130DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 138DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 143DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 149DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 157DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 159DEFAULT_UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 165DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 129DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 137DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 142DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 148DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 155DEFAULT_UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 164DEFAULT_UNITY_VERTEX_INPUT_INSTANCE_ID— line 99DEFAULT_UNITY_VERTEX_INPUT_INSTANCE_ID— line 103DEFAULT_UNITY_VERTEX_INPUT_INSTANCE_ID— line 106DEFAULT_UNITY_VERTEX_INPUT_INSTANCE_ID— line 112DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 127DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 135DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 140DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 146DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 153DEFAULT_UNITY_VERTEX_OUTPUT_STEREO— line 162UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP— line 308UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP_WITH_CUSTOM_DEFAULT— line 314UNITY_ACCESS_DOTS_AND_TRADITIONAL_INSTANCED_PROP_WITH_DEFAULT— line 311UNITY_ACCESS_DOTS_INSTANCED_PROP— line 307UNITY_ACCESS_DOTS_INSTANCED_PROP_WITH_CUSTOM_DEFAULT— line 313UNITY_ACCESS_DOTS_INSTANCED_PROP_WITH_DEFAULT— line 310UNITY_ACCESS_INSTANCED_PROP— line 276UNITY_ACCESS_INSTANCED_PROP— line 295UNITY_ACCESS_INSTANCED_PROP— line 300UNITY_ACCESS_INSTANCED_PROP— line 500UNITY_ANY_INSTANCING_ENABLED— line 51UNITY_ANY_INSTANCING_ENABLED— line 53UNITY_BUILTINS_WITH_WORLDTOOBJECTARRAY— line 467UNITY_BUILTINS_WITH_WORLDTOOBJECTARRAY— line 469UNITY_DEFINE_INSTANCED_PROP— line 275UNITY_DEFINE_INSTANCED_PROP— line 294UNITY_DEFINE_INSTANCED_PROP— line 299UNITY_DEFINE_INSTANCED_PROP— line 493UNITY_DEFINE_INSTANCED_PROP— line 497UNITY_DOTS_INSTANCED_PROP— line 305UNITY_DOTS_INSTANCING_ENABLED— line 38UNITY_DOTS_INSTANCING_END— line 304UNITY_DOTS_INSTANCING_START— line 303UNITY_DOTS_INSTANCING_UNIFORM_BUFFER— line 42UNITY_DOTS_MATRIX_I_M— line 441UNITY_DOTS_MATRIX_M— line 440UNITY_DOTS_PREV_MATRIX_I_M— line 443UNITY_DOTS_PREV_MATRIX_M— line 442unity_DynamicLightmapST— line 404UNITY_GET_INSTANCE_ID— line 100UNITY_GET_INSTANCE_ID— line 104UNITY_GET_INSTANCE_ID— line 107UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO— line 173UNITY_INSTANCED_ARRAY_SIZE— line 259UNITY_INSTANCED_ARRAY_SIZE— line 261UNITY_INSTANCED_ARRAY_SIZE— line 263UNITY_INSTANCED_ARRAY_SIZE— line 266UNITY_INSTANCED_ARRAY_SIZE— line 268UNITY_INSTANCING_BUFFER_END— line 274UNITY_INSTANCING_BUFFER_END— line 293UNITY_INSTANCING_BUFFER_END— line 298UNITY_INSTANCING_BUFFER_END— line 492UNITY_INSTANCING_BUFFER_END— line 496UNITY_INSTANCING_BUFFER_START— line 273UNITY_INSTANCING_BUFFER_START— line 292UNITY_INSTANCING_BUFFER_START— line 297UNITY_INSTANCING_BUFFER_START— line 491UNITY_INSTANCING_BUFFER_START— line 495UNITY_INSTANCING_CBUFFER_SCOPE_BEGIN— line 72UNITY_INSTANCING_CBUFFER_SCOPE_BEGIN— line 75UNITY_INSTANCING_CBUFFER_SCOPE_END— line 73UNITY_INSTANCING_CBUFFER_SCOPE_END— line 76UNITY_INSTANCING_ENABLED— line 32UNITY_INSTANCING_INCLUDED— line 2UNITY_INSTANCING_SUPPORT_FLEXIBLE_ARRAY_SIZE— line 18unity_LightmapST— line 400unity_LODFade— line 364unity_LODFade— line 380UNITY_MATRIX_I_M— line 447UNITY_MATRIX_I_M— line 452UNITY_MATRIX_I_M— line 474UNITY_MATRIX_I_M— line 479UNITY_MATRIX_M— line 446UNITY_MATRIX_M— line 451UNITY_MATRIX_M— line 473UNITY_MATRIX_M— line 478UNITY_PREV_MATRIX_I_M— line 449UNITY_PREV_MATRIX_I_M— line 454UNITY_PREV_MATRIX_I_M— line 476UNITY_PREV_MATRIX_I_M— line 481UNITY_PREV_MATRIX_M— line 448UNITY_PREV_MATRIX_M— line 453UNITY_PREV_MATRIX_M— line 475UNITY_PREV_MATRIX_M— line 480unity_ProbesOcclusion— line 424UNITY_PROCEDURAL_INSTANCING_ENABLED— line 35unity_RendererBounds_Max— line 392unity_RendererBounds_Min— line 391unity_RendererUserValue— line 370unity_RendererUserValue— line 386unity_RenderingLayer— line 368unity_RenderingLayer— line 384UNITY_SETUP_INSTANCE_ID— line 248UNITY_SETUP_INSTANCE_ID— line 250UNITY_SETUP_INSTANCE_ID— line 281UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX— line 179unity_SHAb— line 416unity_SHAg— line 415unity_SHAr— line 414unity_SHBb— line 419unity_SHBg— line 418unity_SHBr— line 417unity_SHC— line 420UNITY_STEREO_INSTANCING_ENABLED— line 47UNITY_SUPPORT_INSTANCING— line 5UNITY_SUPPORT_INSTANCING— line 9UNITY_SUPPORT_STEREO_INSTANCING— line 13UNITY_TRANSFER_INSTANCE_ID— line 237UNITY_TRANSFER_INSTANCE_ID— line 240UNITY_TRANSFER_INSTANCE_ID— line 243UNITY_TRANSFER_VERTEX_OUTPUT_STEREO— line 176UNITY_USE_DYNAMICLIGHTMAPST_ARRAY— line 337UNITY_USE_LIGHTMAPST_ARRAY— line 334UNITY_USE_LODFADE_ARRAY— line 325UNITY_USE_PROBESOCCLUSION_ARRAY— line 350UNITY_USE_RENDERER_BOUNDS— line 342UNITY_USE_RENDERINGLAYER_ARRAY— line 329UNITY_USE_SHCOEFFS_ARRAYS— line 347UNITY_VERTEX_INPUT_INSTANCE_ID— line 116UNITY_VERTEX_OUTPUT_STEREO— line 170UNITY_WORLDTOOBJECTARRAY_CB— line 319UNITY_WORLDTOOBJECTARRAY_CB— line 321
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityDOTSInstancing.hlsl— line 278 (Include)
<CORE>/ShaderLibrary/Version.hlsl
Macros
SHADER_LIBRARY_VERSION_MAJOR— line 4SHADER_LIBRARY_VERSION_MINOR— line 5VERSION_EQUAL— line 9VERSION_GREATER_EQUAL— line 7VERSION_LOWER— line 8
<CORE>/ShaderLibrary/VertexCubeSlicing.hlsl
Functions
Macros
VERTEX_CUBE_SLICING— line 2
<CORE>/ShaderLibrary/VirtualTexturing.hlsl
Functions
else if(...)— line 55else if(...)— line 72else if(...)— line 128else if(...)— line 133int VirtualTexturingLookup(...)— line 34int VirtualTexturingSample(...)— line 181
Structs
VtInputParameters— line 20
Macros
VtAddressMode_Clamp— line 4VtAddressMode_Udim— line 5VtAddressMode_Wrap— line 3VtFilter_Anisotropic— line 7VtLevel_Automatic— line 9VtLevel_Bias— line 11VtLevel_Derivatives— line 12VtLevel_Lod— line 10VtSampleQuality_High— line 18VtSampleQuality_Low— line 17VtUvSpace_PreTransformed— line 15VtUvSpace_Regular— line 14
Includes
GraniteShaderLibBase.hlsl— line 1 (Include)
<CORE>/ShaderLibrary/VolumeRendering.hlsl
Functions
float ApplyExponentialFadeFactor(...)— line 420float ComputeHeightFogMultiplier(...)— line 128float ComputeVolumeFadeFactor(...)— line 432real CornetteShanksPhaseFunction(...)— line 301real CornetteShanksPhasePartAsymmetrical(...)— line 285real CornetteShanksPhasePartConstant(...)— line 271real CornetteShanksPhasePartSymmetrical(...)— line 279real CornetteShanksPhasePartVarying(...)— line 293real4 DelinearizeRGBA(...)— line 77real4 DelinearizeRGBD(...)— line 90float ExtinctionFromMeanFreePath(...)— line 450real HenyeyGreensteinPhaseFunction(...)— line 227real HenyeyGreensteinPhasePartConstant(...)— line 211real HenyeyGreensteinPhasePartVarying(...)— line 218void ImportanceSampleExponentialMedium(...)— line 333void ImportanceSampleHomogeneousMedium(...)— line 315void ImportanceSamplePunctualLight(...)— line 350real ImportanceSampleRayleighPhase(...)— line 399real IsotropicPhaseFunction(...)— line 200real4 LinearizeRGBA(...)— line 51real4 LinearizeRGBD(...)— line 64float OpacityFromOpticalDepth(...)— line 22float3 OpacityFromOpticalDepth(...)— line 27float OpticalDepthFromOpacity(...)— line 32float3 OpticalDepthFromOpacity(...)— line 37float OpticalDepthHeightFog(...)— line 137float OpticalDepthHeightFog(...)— line 162real OpticalDepthHomogeneousMedium(...)— line 105real RayleighPhaseFunction(...)— line 205bool SampleHenyeyGreenstein(...)— line 234real3 TransmittanceColorAtDistanceToAbsorption(...)— line 415float TransmittanceFromOpticalDepth(...)— line 12float3 TransmittanceFromOpticalDepth(...)— line 17float TransmittanceHeightFog(...)— line 180float TransmittanceHeightFog(...)— line 188real TransmittanceHomogeneousMedium(...)— line 110real TransmittanceIntegralHomogeneousMedium(...)— line 116
Macros
UNITY_VOLUME_RENDERING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl— line 4 (Include)
<URP>/ShaderLibrary/AmbientOcclusion.hlsl
Functions
AmbientOcclusionFactor CreateAmbientOcclusionFactor(...)— line 55AmbientOcclusionFactor CreateAmbientOcclusionFactor(...)— line 63AmbientOcclusionFactor GetScreenSpaceAmbientOcclusion(...)— line 25half SampleAmbientOcclusion(...)— line 19
Structs
AmbientOcclusionFactor— line 13
Macros
AMBIENT_OCCLUSION_INCLUDED— line 2sampler_ScreenSpaceOcclusionTexture— line 11
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 5 (Include)
<URP>/ShaderLibrary/BRDF.hlsl
Functions
half3 ConvertF0ForClearCoat15(...)— line 104BRDFData CreateClearCoatBRDFData(...)— line 144half3 DirectBDRF(...)— line 223half3 DirectBRDF(...)— line 243half DirectBRDFSpecular(...)— line 179half3 EnvironmentBRDF(...)— line 163half3 EnvironmentBRDFClearCoat(...)— line 171half3 EnvironmentBRDFSpecular(...)— line 157[branch] if(...)— line 227void InitializeBRDFData(...)— line 82void InitializeBRDFData(...)— line 99void InitializeBRDFDataClearCoat(...)— line 109void InitializeBRDFDataDirect(...)— line 50void InitializeBRDFDataDirect(...)— line 76half MetallicFromReflectivity(...)— line 44half OneMinusReflectivityMetallic(...)— line 33half ReflectivitySpecular(...)— line 28
Structs
BRDFData— line 11
Macros
kDielectricSpec— line 9UNIVERSAL_BRDF_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/BSDF.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Deprecated.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 7 (Include)
<URP>/ShaderLibrary/Clustering.hlsl
Functions
ClusterIterator ClusterInit(...)— line 26bool ClusterNext(...)— line 113UNITY_BRANCH if(...)— line 31[loop] while(...)— line 117
Structs
ClusterIterator— line 16
Macros
CLUSTER_HAS_REFLECTION_PROBES— line 9UNIVERSAL_CLUSTERING_INCLUDED— line 2URP_FP_DISABLE_TILING— line 13URP_FP_DISABLE_ZBINNING— line 12
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 4 (Include)
<URP>/ShaderLibrary/Core.hlsl
Structs
VertexNormalInputs— line 267VertexPositionInputs— line 259
Macros
_ADDITIONAL_LIGHTS— line 20FORCE_VIRTUAL_TEXTURING_OFF— line 6FRAMEBUFFER_INPUT_X_FLOAT— line 86FRAMEBUFFER_INPUT_X_FLOAT— line 115FRAMEBUFFER_INPUT_X_FLOAT— line 128FRAMEBUFFER_INPUT_X_FLOAT— line 163FRAMEBUFFER_INPUT_X_FLOAT_MS— line 99FRAMEBUFFER_INPUT_X_FLOAT_MS— line 122FRAMEBUFFER_INPUT_X_FLOAT_MS— line 135FRAMEBUFFER_INPUT_X_FLOAT_MS— line 170FRAMEBUFFER_INPUT_X_HALF— line 83FRAMEBUFFER_INPUT_X_HALF— line 114FRAMEBUFFER_INPUT_X_HALF— line 127FRAMEBUFFER_INPUT_X_HALF— line 162FRAMEBUFFER_INPUT_X_HALF_MS— line 102FRAMEBUFFER_INPUT_X_HALF_MS— line 121FRAMEBUFFER_INPUT_X_HALF_MS— line 134FRAMEBUFFER_INPUT_X_HALF_MS— line 169FRAMEBUFFER_INPUT_X_INT— line 89FRAMEBUFFER_INPUT_X_INT— line 116FRAMEBUFFER_INPUT_X_INT— line 129FRAMEBUFFER_INPUT_X_INT— line 164FRAMEBUFFER_INPUT_X_INT_MS— line 105FRAMEBUFFER_INPUT_X_INT_MS— line 123FRAMEBUFFER_INPUT_X_INT_MS— line 136FRAMEBUFFER_INPUT_X_INT_MS— line 171FRAMEBUFFER_INPUT_X_UINT— line 92FRAMEBUFFER_INPUT_X_UINT— line 117FRAMEBUFFER_INPUT_X_UINT— line 130FRAMEBUFFER_INPUT_X_UINT— line 165FRAMEBUFFER_INPUT_X_UINT_MS— line 108FRAMEBUFFER_INPUT_X_UINT_MS— line 124FRAMEBUFFER_INPUT_X_UINT_MS— line 137FRAMEBUFFER_INPUT_X_UINT_MS— line 172GATHER_ALPHA_TEXTURE2D_X— line 150GATHER_ALPHA_TEXTURE2D_X— line 184GATHER_BLUE_TEXTURE2D_X— line 149GATHER_BLUE_TEXTURE2D_X— line 183GATHER_GREEN_TEXTURE2D_X— line 148GATHER_GREEN_TEXTURE2D_X— line 182GATHER_RED_TEXTURE2D_X— line 147GATHER_RED_TEXTURE2D_X— line 181GATHER_TEXTURE2D_X— line 146GATHER_TEXTURE2D_X— line 180LOAD_FRAMEBUFFER_INPUT_X— line 97LOAD_FRAMEBUFFER_INPUT_X— line 119LOAD_FRAMEBUFFER_INPUT_X— line 132LOAD_FRAMEBUFFER_INPUT_X— line 167LOAD_FRAMEBUFFER_INPUT_X_MS— line 111LOAD_FRAMEBUFFER_INPUT_X_MS— line 125LOAD_FRAMEBUFFER_INPUT_X_MS— line 138LOAD_FRAMEBUFFER_INPUT_X_MS— line 173LOAD_FRAMEBUFFER_X_INPUT— line 95LOAD_FRAMEBUFFER_X_INPUT— line 118LOAD_FRAMEBUFFER_X_INPUT— line 131LOAD_FRAMEBUFFER_X_INPUT— line 166LOAD_TEXTURE2D_X— line 141LOAD_TEXTURE2D_X— line 175LOAD_TEXTURE2D_X_LOD— line 143LOAD_TEXTURE2D_X_LOD— line 177LOAD_TEXTURE2D_X_MSAA— line 142LOAD_TEXTURE2D_X_MSAA— line 176RENDERPASS_DECLARE_FALLBACK_X— line 76SAMPLE_TEXTURE2D— line 197SAMPLE_TEXTURE2D_ARRAY— line 218SAMPLE_TEXTURE2D_ARRAY_BIAS— line 223SAMPLE_TEXTURE2D_BIAS— line 202SAMPLE_TEXTURE2D_GRAD— line 210SAMPLE_TEXTURE2D_X— line 144SAMPLE_TEXTURE2D_X— line 178SAMPLE_TEXTURE2D_X_LOD— line 145SAMPLE_TEXTURE2D_X_LOD— line 179SAMPLE_TEXTURECUBE— line 231SAMPLE_TEXTURECUBE_ARRAY— line 245SAMPLE_TEXTURECUBE_ARRAY_BIAS— line 251SAMPLE_TEXTURECUBE_BIAS— line 236SLICE_ARRAY_INDEX— line 51SLICE_ARRAY_INDEX— line 153TEXTURE2D_X— line 53TEXTURE2D_X— line 155TEXTURE2D_X_ARGS— line 56TEXTURE2D_X_ARGS— line 158TEXTURE2D_X_FLOAT— line 58TEXTURE2D_X_FLOAT— line 160TEXTURE2D_X_HALF— line 57TEXTURE2D_X_HALF— line 159TEXTURE2D_X_PARAM— line 55TEXTURE2D_X_PARAM— line 157TYPED_TEXTURE2D_X— line 54TYPED_TEXTURE2D_X— line 156UNITY_Z_0_FAR_FROM_CLIPSPACE— line 34UNITY_Z_0_FAR_FROM_CLIPSPACE— line 38UNITY_Z_0_FAR_FROM_CLIPSPACE— line 42UNITY_Z_0_FAR_FROM_CLIPSPACE— line 45UNIVERSAL_PIPELINE_CORE_INCLUDED— line 2USE_CLUSTER_LIGHT_LOOP— line 14USE_CLUSTER_LIGHT_LOOP— line 16VT_GLOBAL_MIP_BIAS_MULTIPLIER— line 256
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 24 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl— line 27 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Packing.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Version.hlsl— line 26 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Deprecated.hlsl— line 275 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ForwardPlusKeyword.deprecated.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 28 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl— line 274 (Include)
<URP>/ShaderLibrary/DBuffer.hlsl
Functions
void ApplyDecal(...)— line 120void ApplyDecalToBaseColor(...)— line 163void ApplyDecalToBaseColorAndNormal(...)— line 176void ApplyDecalToSurfaceData(...)— line 191void DecodeFromDBuffer(...)— line 91void EncodeIntoDBuffer(...)— line 72
Macros
_DBUFFER— line 11DBufferType0— line 14DBufferType1— line 15DBufferType2— line 16DECLARE_DBUFFER_TEXTURE— line 25DECLARE_DBUFFER_TEXTURE— line 44DECLARE_DBUFFER_TEXTURE— line 61DECODE_FROM_DBUFFER— line 36DECODE_FROM_DBUFFER— line 53DECODE_FROM_DBUFFER— line 68ENCODE_INTO_DBUFFER— line 35ENCODE_INTO_DBUFFER— line 52ENCODE_INTO_DBUFFER— line 67FETCH_DBUFFER— line 30FETCH_DBUFFER— line 48FETCH_DBUFFER— line 64OUTPUT_DBUFFER— line 20OUTPUT_DBUFFER— line 40OUTPUT_DBUFFER— line 58UNIVERSAL_DBUFFER_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DecalInput.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 5 (Include)
<URP>/ShaderLibrary/Debug/Debugging2D.hlsl
Functions
bool CalculateColorForDebugMipmapStreaming(...)— line 76bool CalculateDebugColorForRenderingSettings(...)— line 81bool CalculateDebugColorLightingSettings(...)— line 94bool CalculateDebugColorMaterialSettings(...)— line 30bool CalculateDebugColorValidationSettings(...)— line 117bool CanDebugOverrideOutputColor(...)— line 132else if(...)— line 87else if(...)— line 138else if(...)— line 142else if(...)— line 146void SetupDebugData(...)— line 14void SetupDebugDataTexture(...)— line 20
Macros
SETUP_DEBUG_DATA_2D— line 12SETUP_DEBUG_DATA_2D— line 160SETUP_DEBUG_TEXTURE_DATA_2D— line 159SETUP_DEBUG_TEXTURE_DATA_2D_NO_TS— line 11SETUP_DEBUG_TEXTURE_DATA_2D_NO_TS— line 158UNIVERSAL_DEBUGGING2D_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingCommon.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/InputData2D.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/SurfaceData2D.hlsl— line 6 (Include)
<URP>/ShaderLibrary/Debug/Debugging3D.hlsl
Functions
bool CalculateColorForDebug(...)— line 213bool CalculateColorForDebugMaterial(...)— line 155bool CalculateColorForDebugMipmapStreaming(...)— line 208half4 CalculateDebugLightingComplexityColor(...)— line 252half3 CalculateDebugShadowCascadeColor(...)— line 237bool CalculateValidationColorForDebug(...)— line 116bool CalculateValidationMetallic(...)— line 97bool CanDebugOverrideOutputColor(...)— line 289bool CanDebugOverrideOutputColor(...)— line 340float3 GetRenderingLayerMasksDebugColor(...)— line 134else if(...)— line 66else if(...)— line 103else if(...)— line 219else if(...)— line 223else if(...)— line 227else if(...)— line 296else if(...)— line 347void SetupDebugDataBrdf(...)— line 37void SetupDebugDataTerrain(...)— line 43void SetupDebugDataTexture(...)— line 22bool UpdateSurfaceAndInputDataForDebug(...)— line 50[loop] while(...)— line 258[loop] while(...)— line 263
Macros
SETUP_DEBUG_TEXTURE_DATA— line 17SETUP_DEBUG_TEXTURE_DATA— line 389SETUP_DEBUG_TEXTURE_DATA_FOR_TERRAIN— line 20SETUP_DEBUG_TEXTURE_DATA_FOR_TERRAIN— line 392SETUP_DEBUG_TEXTURE_DATA_FOR_TEX— line 19SETUP_DEBUG_TEXTURE_DATA_FOR_TEX— line 391SETUP_DEBUG_TEXTURE_DATA_NO_UV— line 18SETUP_DEBUG_TEXTURE_DATA_NO_UV— line 390TERRAIN_STREAM_INFO— line 16UNIVERSAL_DEBUGGING3D_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/BRDF.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingCommon.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GlobalIllumination.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 13 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 14 (Include)
<URP>/ShaderLibrary/Debug/DebuggingCommon.hlsl
Functions
half4 BlitScreenSpaceDigit(...)— line 137bool CalculateColorForDebugMipmapStreaming(...)— line 173bool CalculateColorForDebugSceneOverride(...)— line 123bool CalculateValidationAlbedo(...)— line 85UNITY_LOOP for(...)— line 145half3 GetDebugColor(...)— line 59void GetHatchedColor(...)— line 159void GetHatchedColor(...)— line 167uint GetMipMapLevel(...)— line 73else if(...)— line 93else if(...)— line 111bool IsAlphaDiscardEnabled(...)— line 257bool IsFogEnabled(...)— line 266bool IsLightingFeatureEnabled(...)— line 282bool IsOnlyAOLightingFeatureEnabled(...)— line 291bool TryGetDebugColorInvalidMode(...)— line 65
Macros
UNDO_TRANSFORM_TEX— line 57UNDO_TRANSFORM_TEX— line 253UNIVERSAL_DEBUGGING_COMMON_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Debug.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreaming.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebugViewEnums.cs.hlsl— line 5 (Include)
<URP>/ShaderLibrary/Debug/DebuggingFullscreen.hlsl
Functions
bool CalculateDebugColorRenderingSettings(...)— line 35bool CalculateDebugColorValidationSettings(...)— line 141bool CanDebugOverrideOutputColor(...)— line 208else if(...)— line 111else if(...)— line 116else if(...)— line 151else if(...)— line 155else if(...)— line 174else if(...)— line 178else if(...)— line 182else if(...)— line 186half4 RemapSourceRange(...)— line 23
Macros
sampler_DebugTexture— line 16
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Debug.hlsl— line 3 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingCommon.hlsl— line 2 (Include)
<URP>/ShaderLibrary/Debug/DebugViewEnums.cs.hlsl
Macros
DEBUGFULLSCREENMODE_ADDITIONAL_LIGHTS_COOKIE_ATLAS— line 15DEBUGFULLSCREENMODE_ADDITIONAL_LIGHTS_SHADOW_MAP— line 13DEBUGFULLSCREENMODE_DEPTH— line 11DEBUGFULLSCREENMODE_MAIN_LIGHT_SHADOW_MAP— line 14DEBUGFULLSCREENMODE_MOTION_VECTOR— line 12DEBUGFULLSCREENMODE_NONE— line 10DEBUGFULLSCREENMODE_REFLECTION_PROBE_ATLAS— line 16DEBUGFULLSCREENMODE_STP— line 17DEBUGLIGHTINGFEATUREFLAGS_ADDITIONAL_LIGHTS— line 25DEBUGLIGHTINGFEATUREFLAGS_AMBIENT_OCCLUSION— line 28DEBUGLIGHTINGFEATUREFLAGS_EMISSION— line 27DEBUGLIGHTINGFEATUREFLAGS_GLOBAL_ILLUMINATION— line 23DEBUGLIGHTINGFEATUREFLAGS_MAIN_LIGHT— line 24DEBUGLIGHTINGFEATUREFLAGS_NONE— line 22DEBUGLIGHTINGFEATUREFLAGS_VERTEX_LIGHTING— line 26DEBUGLIGHTINGMODE_GLOBAL_ILLUMINATION— line 39DEBUGLIGHTINGMODE_LIGHTING_WITH_NORMAL_MAPS— line 36DEBUGLIGHTINGMODE_LIGHTING_WITHOUT_NORMAL_MAPS— line 35DEBUGLIGHTINGMODE_NONE— line 33DEBUGLIGHTINGMODE_REFLECTIONS— line 37DEBUGLIGHTINGMODE_REFLECTIONS_WITH_SMOOTHNESS— line 38DEBUGLIGHTINGMODE_SHADOW_CASCADES— line 34DEBUGMATERIALMODE_ALBEDO— line 45DEBUGMATERIALMODE_ALPHA— line 47DEBUGMATERIALMODE_AMBIENT_OCCLUSION— line 49DEBUGMATERIALMODE_EMISSION— line 50DEBUGMATERIALMODE_LIGHTING_COMPLEXITY— line 53DEBUGMATERIALMODE_METALLIC— line 54DEBUGMATERIALMODE_NONE— line 44DEBUGMATERIALMODE_NORMAL_TANGENT_SPACE— line 52DEBUGMATERIALMODE_NORMAL_WORLD_SPACE— line 51DEBUGMATERIALMODE_RENDERING_LAYER_MASKS— line 56DEBUGMATERIALMODE_SMOOTHNESS— line 48DEBUGMATERIALMODE_SPECULAR— line 46DEBUGMATERIALMODE_SPRITE_MASK— line 55DEBUGMATERIALVALIDATIONMODE_ALBEDO— line 62DEBUGMATERIALVALIDATIONMODE_METALLIC— line 63DEBUGMATERIALVALIDATIONMODE_NONE— line 61DEBUGMIPINFOMODE_MIP_COUNT— line 73DEBUGMIPINFOMODE_MIP_RATIO— line 74DEBUGMIPINFOMODE_MIP_STREAMING_ACTIVITY— line 71DEBUGMIPINFOMODE_MIP_STREAMING_PERFORMANCE— line 69DEBUGMIPINFOMODE_MIP_STREAMING_PRIORITY— line 72DEBUGMIPINFOMODE_MIP_STREAMING_STATUS— line 70DEBUGMIPINFOMODE_NONE— line 68DEBUGMIPMAPMODETERRAINTEXTURE_CONTROL— line 79DEBUGMIPMAPMODETERRAINTEXTURE_LAYER0— line 80DEBUGMIPMAPMODETERRAINTEXTURE_LAYER1— line 81DEBUGMIPMAPMODETERRAINTEXTURE_LAYER2— line 82DEBUGMIPMAPMODETERRAINTEXTURE_LAYER3— line 83DEBUGMIPMAPSTATUSMODE_MATERIAL— line 88DEBUGMIPMAPSTATUSMODE_TEXTURE— line 89DEBUGPOSTPROCESSINGMODE_AUTO— line 95DEBUGPOSTPROCESSINGMODE_DISABLED— line 94DEBUGPOSTPROCESSINGMODE_ENABLED— line 96DEBUGSCENEOVERRIDEMODE_NONE— line 101DEBUGSCENEOVERRIDEMODE_OVERDRAW— line 102DEBUGSCENEOVERRIDEMODE_SHADED_WIREFRAME— line 105DEBUGSCENEOVERRIDEMODE_SOLID_WIREFRAME— line 104DEBUGSCENEOVERRIDEMODE_WIREFRAME— line 103DEBUGVALIDATIONMODE_HIGHLIGHT_NAN_INF_NEGATIVE— line 111DEBUGVALIDATIONMODE_HIGHLIGHT_OUTSIDE_OF_RANGE— line 112DEBUGVALIDATIONMODE_NONE— line 110DEBUGVERTEXATTRIBUTEMODE_COLOR— line 126DEBUGVERTEXATTRIBUTEMODE_NONE— line 117DEBUGVERTEXATTRIBUTEMODE_NORMAL— line 128DEBUGVERTEXATTRIBUTEMODE_TANGENT— line 127DEBUGVERTEXATTRIBUTEMODE_TEXCOORD0— line 118DEBUGVERTEXATTRIBUTEMODE_TEXCOORD1— line 119DEBUGVERTEXATTRIBUTEMODE_TEXCOORD2— line 120DEBUGVERTEXATTRIBUTEMODE_TEXCOORD3— line 121DEBUGVERTEXATTRIBUTEMODE_TEXCOORD4— line 122DEBUGVERTEXATTRIBUTEMODE_TEXCOORD5— line 123DEBUGVERTEXATTRIBUTEMODE_TEXCOORD6— line 124DEBUGVERTEXATTRIBUTEMODE_TEXCOORD7— line 125DEBUGVIEWENUMS_CS_HLSL— line 6HDRDEBUGMODE_GAMUT_CLIP— line 135HDRDEBUGMODE_GAMUT_VIEW— line 134HDRDEBUGMODE_NONE— line 133HDRDEBUGMODE_VALUES_ABOVE_PAPER_WHITE— line 136PIXELVALIDATIONCHANNELS_A— line 145PIXELVALIDATIONCHANNELS_B— line 144PIXELVALIDATIONCHANNELS_G— line 143PIXELVALIDATIONCHANNELS_R— line 142PIXELVALIDATIONCHANNELS_RGB— line 141
<URP>/ShaderLibrary/DecalInput.hlsl
Structs
DecalSurfaceData— line 4
Macros
UNIVERSAL_DECAL_INPUT_INCLUDED— line 2
<URP>/ShaderLibrary/DeclareDepthTexture.hlsl
Functions
float LoadSceneDepth(...)— line 23float SampleSceneDepth(...)— line 12float SampleSceneDepth(...)— line 18
Macros
sampler_CameraDepthTexture— line 10UNITY_DECLARE_DEPTH_TEXTURE_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)
<URP>/ShaderLibrary/DeclareNormalsTexture.hlsl
Functions
float3 LoadSceneNormals(...)— line 31float3 SampleSceneNormals(...)— line 12float3 SampleSceneNormals(...)— line 26
Macros
sampler_CameraNormalsTexture— line 10UNITY_DECLARE_NORMALS_TEXTURE_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)
<URP>/ShaderLibrary/DeclareOpaqueTexture.hlsl
Functions
float3 LoadSceneColor(...)— line 16float3 SampleSceneColor(...)— line 10
Macros
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)
<URP>/ShaderLibrary/DeclareRenderingLayerTexture.hlsl
Functions
uint LoadSceneRenderingLayer(...)— line 7
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)
<URP>/ShaderLibrary/Deprecated.hlsl
Macros
MAX_PUNCTUAL_LIGHT_SHADOW_SLICES_IN_UBO— line 6UNIVERSAL_DEPRECATED_INCLUDED— line 2
<URP>/ShaderLibrary/DOTS.hlsl
Macros
UNIVERSAL_DOTS_PRAGMAS_INCLUDED— line 2
<URP>/ShaderLibrary/Fog.hlsl
Includes
Packages/com.unity.render-pipelines.universal-config/Runtime/ShaderConfig.cs.hlsl— line 3 (Include)
<URP>/ShaderLibrary/ForwardPlusKeyword.deprecated.hlsl
Macros
_CLUSTER_LIGHT_LOOP— line 20FORWARD_PLUS_SUBTRACTIVE_LIGHT_CHECK— line 18UNIVERSAL_FORWARD_PLUS_KEYWORD_DEPRECATED_INCLUDED— line 2USE_FORWARD_PLUS— line 17
<URP>/ShaderLibrary/GBufferCommon.hlsl
Functions
float PackGBufferMaterialFlags(...)— line 108half3 PackGBufferNormal(...)— line 120half3 PackGBufferNormal(...)— line 136uint UnpackGBufferMaterialFlags(...)— line 113half3 UnpackGBufferNormal(...)— line 127half3 UnpackGBufferNormal(...)— line 139
Structs
GBufferData— line 86
Macros
GBUFFER_FBFETCH_AVAILABLE— line 19GBUFFER_FEATURE_DEPTH— line 23GBUFFER_FEATURE_RENDERING_LAYERS— line 35GBUFFER_FEATURE_SHADOWMASK— line 27GBUFFER_FEATURE_SHADOWMASK— line 29GBUFFER_FEATURE_SHADOWMASK— line 31GBUFFER_IDX_AFTER— line 45GBUFFER_IDX_AFTER_0— line 46GBUFFER_IDX_AFTER_1— line 47GBUFFER_IDX_AFTER_2— line 48GBUFFER_IDX_AFTER_3— line 49GBUFFER_IDX_AFTER_4— line 50GBUFFER_IDX_AFTER_5— line 51GBUFFER_IDX_AFTER_6— line 52GBUFFER_IDX_AFTER_7— line 53GBUFFER_IDX_R_DEPTH— line 61GBUFFER_IDX_R_RENDERING_LAYERS— line 64GBUFFER_IDX_R_RENDERING_LAYERS— line 75GBUFFER_IDX_RGB_BASECOLOR_A_FLAGS— line 40GBUFFER_IDX_RGB_NORMALS_A_SMOOTHNESS— line 42GBUFFER_IDX_RGB_SPECULAR_R_METALLIC_A_OCCLUSION— line 41GBUFFER_IDX_RGBA_SHADOWMASK— line 67GBUFFER_IDX_RGBA_SHADOWMASK— line 71GBUFFER_IDX_RGBA_SHADOWMASK— line 78GBUFFER_IDX_RGBA_SHADOWMASK— line 82kMaterialFlagReceiveShadowsOff— line 11kMaterialFlagSpecularHighlightsOff— line 12kMaterialFlagSpecularSetup— line 14kMaterialFlagSubtractiveMixedLighting— line 13UNIVERSAL_GBUFFERCOMMON_INCLUDED— line 4
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Packing.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)
<URP>/ShaderLibrary/GBufferInput.hlsl
Functions
BRDFData GBufferDataToBRDFData(...)— line 149SurfaceData GBufferDataToSurfaceData(...)— line 133UNITY_BRANCH if(...)— line 164void LoadGBuffers(...)— line 63GBufferData UnpackGBuffers(...)— line 104
Macros
GBUFFER_TEX2D_NAME— line 36UNIVERSAL_GBUFFERINPUT_INCLUDED— line 4
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/BRDF.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferCommon.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 8 (Include)
<URP>/ShaderLibrary/GBufferOutput.hlsl
Functions
GBufferFragOutput PackGBuffersBRDFData(...)— line 76GBufferFragOutput PackGBuffersSurfaceData(...)— line 38
Structs
GBufferFragOutput— line 14
Macros
DECL_OPT_GBUFFER_TARGET— line 11DECL_SV_TARGET— line 10UNIVERSAL_GBUFFEROUTPUT_INCLUDED— line 4
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferCommon.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 7 (Include)
<URP>/ShaderLibrary/GlobalIllumination.hlsl
Functions
half3 BoxProjectedCubemapDirection(...)— line 239half3 BoxProjectedCubemapDirection(...)— line 260half3 CalculateIrradianceFromReflectionProbes(...)— line 287half CalculateProbeVolumeSqrMagnitude(...)— line 281float CalculateProbeWeight(...)— line 274float3 GetReflectionProbeCenter(...)— line 229float3 GetRotatedPoint(...)— line 234half3 GlobalIllumination(...)— line 508half3 GlobalIllumination(...)— line 542half3 GlobalIllumination(...)— line 551half3 GlobalIllumination(...)— line 557half3 GlobalIllumination(...)— line 586half3 GlossyEnvironmentReflection(...)— line 420half3 GlossyEnvironmentReflection(...)— line 458half3 GlossyEnvironmentReflection(...)— line 464void MixRealtimeAndBakedGI(...)— line 592void MixRealtimeAndBakedGI(...)— line 600void MixRealtimeAndBakedGI(...)— line 605half3 SampleLightmap(...)— line 174half3 SampleLightmap(...)— line 204half3 SampleProbeSHVertex(...)— line 138half3 SampleProbeSHVertex(...)— line 149half3 SampleProbeVolumePixel(...)— line 105half3 SampleProbeVolumePixel(...)— line 131half3 SampleProbeVolumeVertex(...)— line 80half3 SampleScreenSpaceGI(...)— line 21half3 SampleSHPixel(...)— line 60half3 SampleSHVertex(...)— line 45half3 SubtractDirectMainLightFromLightmap(...)— line 480[loop] while(...)— line 295
Macros
_MIXED_LIGHTING_SUBTRACTIVE— line 31_REFLECTION_PROBE_BLENDING— line 35_REFLECTION_PROBE_BOX_PROJECTION— line 39AMBIENT_PROBE_BUFFER— line 8LIGHTMAP_INDIRECTION_NAME— line 160LIGHTMAP_INDIRECTION_NAME— line 168LIGHTMAP_NAME— line 159LIGHTMAP_NAME— line 167LIGHTMAP_SAMPLE_EXTRA_ARGS— line 162LIGHTMAP_SAMPLE_EXTRA_ARGS— line 170LIGHTMAP_SAMPLER_NAME— line 161LIGHTMAP_SAMPLER_NAME— line 169SAMPLE_GI— line 212SAMPLE_GI— line 214SAMPLE_GI— line 216SAMPLE_GI— line 218SAMPLE_GI— line 221SAMPLE_GI— line 223SAMPLE_GI— line 226UNIVERSAL_GLOBAL_ILLUMINATION_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeVolume.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/AmbientProbe.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ImageBasedLighting.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Packing.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 6 (Include)
<URP>/ShaderLibrary/Input.hlsl
Structs
InputData— line 43
Macros
_InvCameraViewProj— line 107MAX_LIGHTS_PER_TILE— line 30MAX_LIGHTS_PER_TILE— line 34MAX_LIGHTS_PER_TILE— line 38MAX_REFLECTION_PROBES— line 32MAX_REFLECTION_PROBES— line 36MAX_REFLECTION_PROBES— line 40MAX_TILE_VEC4S— line 31MAX_TILE_VEC4S— line 35MAX_TILE_VEC4S— line 39MAX_VISIBLE_LIGHTS— line 19MAX_VISIBLE_LIGHTS— line 22MAX_VISIBLE_LIGHTS— line 24MAX_VISIBLE_LIGHTS_SSBO— line 9MAX_VISIBLE_LIGHTS_UBO— line 8MAX_ZBIN_VEC4S— line 28samplerurp_ReflProbes_Atlas— line 193UNITY_MATRIX_I_M— line 210UNITY_MATRIX_I_P— line 214UNITY_MATRIX_I_V— line 212UNITY_MATRIX_I_VP— line 216UNITY_MATRIX_IT_MV— line 219UNITY_MATRIX_M— line 209UNITY_MATRIX_MV— line 217UNITY_MATRIX_MVP— line 220UNITY_MATRIX_P— line 213UNITY_MATRIX_T_MV— line 218UNITY_MATRIX_V— line 211UNITY_MATRIX_VP— line 215UNITY_PREV_MATRIX_I_M— line 222UNITY_PREV_MATRIX_M— line 221UNIVERSAL_INPUT_INCLUDED— line 2URP_FP_DIRECTIONAL_LIGHTS_COUNT— line 148URP_FP_PROBES_BEGIN— line 145URP_FP_TILE_COUNT— line 156URP_FP_TILE_COUNT_X— line 152URP_FP_TILE_SCALE— line 151URP_FP_WORDS_PER_TILE— line 153URP_FP_ZBIN_COUNT— line 155URP_FP_ZBIN_OFFSET— line 144URP_FP_ZBIN_SCALE— line 143USE_STRUCTURED_BUFFER_FOR_LIGHT_DATA— line 12
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/SpaceTransforms.hlsl— line 237 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl— line 229 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Deprecated.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderTypes.cs.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 228 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UniversalDOTSInstancing.hlsl— line 230 (Include)Packages/com.unity.render-pipelines.universal-config/Runtime/ShaderConfig.cs.hlsl— line 6 (Include)Packages/com.unity.visualeffectgraph/Shaders/VFXMatricesOverride.hlsl— line 234 (Include)
<URP>/ShaderLibrary/LightCookie/LightCookie.hlsl
Functions
float2 ComputeLightCookieUVDirectional(...)— line 16float2 ComputeLightCookieUVPoint(...)— line 53float2 ComputeLightCookieUVSpot(...)— line 38else if(...)— line 101real3 SampleAdditionalLightCookie(...)— line 84real3 SampleMainLightCookie(...)— line 71
Macros
REQUIRES_WORLD_SPACE_POS_INTERPOLATOR— line 11UNIVERSAL_LIGHT_COOKIE_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LightCookie/LightCookieInput.hlsl— line 7 (Include)
<URP>/ShaderLibrary/LightCookie/LightCookieInput.hlsl
Functions
float4 GetLightCookieAtlasUVRect(...)— line 49int GetLightCookieLightType(...)— line 58float4x4 GetLightCookieWorldToLightMatrix(...)— line 40bool IsAdditionalLightsCookieAtlasTextureAlphaFormat(...)— line 82bool IsAdditionalLightsCookieAtlasTextureRGBFormat(...)— line 77bool IsLightCookieEnabled(...)— line 106bool IsMainLightCookieEnabled(...)— line 101bool IsMainLightCookieTextureAlphaFormat(...)— line 72bool IsMainLightCookieTextureRGBFormat(...)— line 67real4 SampleAdditionalLightsCookieAtlasTexture(...)— line 94real4 SampleMainLightCookieTexture(...)— line 89
Macros
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LightCookie/LightCookieTypes.hlsl— line 5 (Include)
<URP>/ShaderLibrary/LightCookie/LightCookieTypes.hlsl
Macros
UNIVERSAL_LIGHT_COOKIE_TYPES_INCLUDED— line 2URP_LIGHT_COOKIE_FORMAT_ALPHA— line 10URP_LIGHT_COOKIE_FORMAT_NONE— line 8URP_LIGHT_COOKIE_FORMAT_RED— line 11URP_LIGHT_COOKIE_FORMAT_RGB— line 9
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityTypes.hlsl— line 4 (Include)
<URP>/ShaderLibrary/Lighting.hlsl
Functions
half3 CalculateBlinnPhong(...)— line 255half4 CalculateFinalColor(...)— line 199half4 CalculateFinalColor(...)— line 206half3 CalculateLightingColor(...)— line 160LightingData CreateLightingData(...)— line 242[loop] for(...)— line 332[loop] for(...)— line 430[branch] if(...)— line 58half3 LightingLambert(...)— line 32half3 LightingPhysicallyBased(...)— line 48half3 LightingPhysicallyBased(...)— line 83half3 LightingPhysicallyBased(...)— line 89half3 LightingPhysicallyBased(...)— line 100half3 LightingPhysicallyBased(...)— line 110half3 LightingPhysicallyBased(...)— line 116half3 LightingSpecular(...)— line 38half4 UniversalFragmentBakedLit(...)— line 484half4 UniversalFragmentBakedLit(...)— line 507half4 UniversalFragmentBlinnPhong(...)— line 398half4 UniversalFragmentBlinnPhong(...)— line 463half4 UniversalFragmentPBR(...)— line 282half4 UniversalFragmentPBR(...)— line 376half3 VertexLighting(...)— line 126
Structs
LightingData— line 151
Macros
DECLARE_LIGHTMAP_OR_SH— line 12DECLARE_LIGHTMAP_OR_SH— line 17OUTPUT_LIGHTMAP_UV— line 13OUTPUT_LIGHTMAP_UV— line 18OUTPUT_SH— line 15OUTPUT_SH— line 26OUTPUT_SH4— line 14OUTPUT_SH4— line 20OUTPUT_SH4— line 22UNIVERSAL_LIGHTING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/AmbientOcclusion.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/BRDF.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging3D.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GlobalIllumination.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 7 (Include)
<URP>/ShaderLibrary/LODCrossFade.hlsl
Functions
half CopySign(...)— line 10void LODFadeCrossFade(...)— line 15
Macros
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl— line 4 (Include)
<URP>/ShaderLibrary/MetaInput.hlsl
Functions
float4 MetaVertexPosition(...)— line 10
Macros
MetaFragment— line 9MetaInput— line 8UNIVERSAL_META_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/MetaPass.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 5 (Include)
<URP>/ShaderLibrary/MotionVectorsCommon.hlsl
Functions
void ApplyMotionVectorZBias(...)— line 9float3 CalcAswNdcMotionVectorFromCsPositions(...)— line 59float2 CalcNdcMotionVectorFromCsPositions(...)— line 13UNITY_BRANCH if(...)— line 27
Macros
Includes
<URP>/ShaderLibrary/NormalReconstruction.hlsl
Functions
float GetRawDepth(...)— line 14half3 ReconstructNormalDerivative(...)— line 35half3 ReconstructNormalDerivative(...)— line 56half3 ReconstructNormalTap3(...)— line 66half3 ReconstructNormalTap4(...)— line 87half3 ReconstructNormalTap5(...)— line 107half3 ReconstructNormalTap9(...)— line 136float3 ViewSpacePosAtPixelPosition(...)— line 29float3 ViewSpacePosAtPixelPosition(...)— line 50float3 ViewSpacePosAtScreenUV(...)— line 23float3 ViewSpacePosAtScreenUV(...)— line 43
Macros
unity_eyeIndex— line 7unity_eyeIndex— line 9UNIVERSAL_NORMAL_RECONSTRUCTION— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 4 (Include)
<URP>/ShaderLibrary/ObjectMotionVectors.hlsl
Functions
float4 frag(...)— line 95Varyings vert(...)— line 58
Structs
Attributes— line 31Varyings— line 44
Macros
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 16 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 20 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 12 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 24 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl— line 27 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 21 (Include)
<URP>/ShaderLibrary/Particles.hlsl
Functions
half3 AlphaModulateAndPremultiply(...)— line 127half4 BlendTexture(...)— line 147half CameraFade(...)— line 121half3 Distortion(...)— line 138half4 GetParticleColor(...)— line 172void GetParticleTexcoords(...)— line 184void GetParticleTexcoords(...)— line 232void InitParticleParams(...)— line 23half4 MixParticleColor(...)— line 63half3 SampleNormalTS(...)— line 158float SoftParticles(...)— line 87float SoftParticles(...)— line 104
Structs
ParticleParams— line 13
Macros
ALBEDO_MUL— line 49ALBEDO_MUL— line 51SOFT_PARTICLE_MUL_ALBEDO— line 55SOFT_PARTICLE_MUL_ALBEDO— line 57SOFT_PARTICLE_MUL_ALBEDO— line 59UNIVERSAL_PARTICLES_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 9 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareOpaqueTexture.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ParticlesInstancing.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 5 (Include)
<URP>/ShaderLibrary/ParticlesInstancing.hlsl
Functions
void ParticleInstancingMatrices(...)— line 25void ParticleInstancingSetup(...)— line 55void ParticleInstancingSetup(...)— line 62
Structs
DefaultParticleInstanceData— line 14
Macros
UNITY_PARTICLE_INSTANCE_DATA— line 11UNITY_PARTICLE_INSTANCING_ENABLED— line 5UNIVERSAL_PARTICLESINSTANCING_INCLUDED— line 2
<URP>/ShaderLibrary/ProbeVolumeVariants.hlsl
Macros
<URP>/ShaderLibrary/RealtimeLights.hlsl
Functions
half AngleAttenuation(...)— line 62half4 CalculateShadowMask(...)— line 284float DistanceAttenuation(...)— line 47Light GetAdditionalLight(...)— line 224Light GetAdditionalLight(...)— line 234Light GetAdditionalLight(...)— line 257int GetAdditionalLightsCount(...)— line 271Light GetAdditionalPerObjectLight(...)— line 137Light GetMainLight(...)— line 81Light GetMainLight(...)— line 102Light GetMainLight(...)— line 109Light GetMainLight(...)— line 122int GetPerObjectLightIndex(...)— line 184uint GetPerObjectLightIndexOffset(...)— line 173[loop] while(...)— line 31
Structs
Light— line 12
Macros
CLUSTER_LIGHT_LOOP_SUBTRACTIVE_LIGHT_CHECK— line 22CLUSTER_LIGHT_LOOP_SUBTRACTIVE_LIGHT_CHECK— line 24LIGHT_LOOP_BEGIN— line 28LIGHT_LOOP_BEGIN— line 36LIGHT_LOOP_END— line 34LIGHT_LOOP_END— line 38UNIVERSAL_REALTIME_LIGHTS_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/AmbientOcclusion.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LightCookie/LightCookie.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 7 (Include)
<URP>/ShaderLibrary/RenderingLayers.hlsl
Macros
<URP>/ShaderLibrary/ShaderGraphFunctions.hlsl
Functions
float3x3 BuildTangentToWorld(...)— line 111float3 shadergraph_LWBakedGI(...)— line 56void shadergraph_LWFog(...)— line 95float3 shadergraph_LWReflectionProbe(...)— line 85float3 shadergraph_LWSampleSceneColor(...)— line 38float shadergraph_LWSampleSceneDepth(...)— line 29float3 shadergraph_LWSampleSceneNormals(...)— line 47float3 shadergraph_RendererBoundsWS_Max(...)— line 142float3 shadergraph_RendererBoundsWS_Min(...)— line 137float3 shadergraph_URPMainLightDirection(...)— line 132
Macros
SHADERGRAPH_AMBIENT_EQUATOR— line 11SHADERGRAPH_AMBIENT_GROUND— line 12SHADERGRAPH_AMBIENT_SKY— line 10SHADERGRAPH_BAKED_GI— line 7SHADERGRAPH_FOG— line 9SHADERGRAPH_MAIN_LIGHT_DIRECTION— line 13SHADERGRAPH_REFLECTION_PROBE— line 8SHADERGRAPH_RENDERER_BOUNDS_MAX— line 15SHADERGRAPH_RENDERER_BOUNDS_MIN— line 14SHADERGRAPH_SAMPLE_SCENE_COLOR— line 5SHADERGRAPH_SAMPLE_SCENE_DEPTH— line 4SHADERGRAPH_SAMPLE_SCENE_NORMAL— line 6UNITY_GRAPHFUNCTIONS_LW_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 18 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareNormalsTexture.hlsl— line 26 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareOpaqueTexture.hlsl— line 22 (Include)Packages/com.unity.shadergraph/ShaderGraphLibrary/Functions.hlsl— line 149 (Include)
<URP>/ShaderLibrary/ShaderTypes.cs.hlsl
Structs
LightData— line 9
Macros
SHADERTYPES_CS_HLSL— line 6
<URP>/ShaderLibrary/ShaderVariablesFunctions.deprecated.hlsl
Functions
float4 ComputeScreenPos(...)— line 9
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 4 (Include)
<URP>/ShaderLibrary/ShaderVariablesFunctions.hlsl
Functions
half AlphaClip(...)— line 194real AlphaDiscard(...)— line 229half3 AlphaModulate(...)— line 256half3 AlphaPremultiply(...)— line 269real ComputeFogFactor(...)— line 349real ComputeFogFactorZ0ToFar(...)— line 315half ComputeFogIntensity(...)— line 355float ComputeFogIntensity(...)— line 422uint EncodeMeshRenderingLayer(...)— line 612float3 GetCameraPositionWS(...)— line 54float GetCurrentExposureMultiplier(...)— line 619float3 GetCurrentViewPosition(...)— line 70void GetLeftHandedViewSpaceMatrices(...)— line 144uint GetMeshRenderingLayer(...)— line 607float2 GetNormalizedScreenSpaceUV(...)— line 563float2 GetNormalizedScreenSpaceUV(...)— line 570half3 GetObjectSpaceNormalizeViewDir(...)— line 111float4 GetScaledScreenParams(...)— line 43VertexNormalInputs GetVertexNormalInputs(...)— line 22VertexNormalInputs GetVertexNormalInputs(...)— line 31VertexPositionInputs GetVertexPositionInputs(...)— line 8float3 GetViewForwardDir(...)— line 89half3 GetWorldSpaceNormalizeViewDir(...)— line 126float3 GetWorldSpaceViewDir(...)— line 96real InitializeInputDataFog(...)— line 387bool IsAlphaToMaskAvailable(...)— line 179bool IsPerspectiveProjection(...)— line 49bool IsSurfaceTypeOpaque(...)— line 160bool IsSurfaceTypeTransparent(...)— line 166half LinearDepthToEyeDepth(...)— line 524float LinearDepthToEyeDepth(...)— line 533half3 MixFog(...)— line 513float3 MixFog(...)— line 518half3 MixFogColor(...)— line 452float3 MixFogColor(...)— line 483half3 NormalizeNormalPerPixel(...)— line 294float3 NormalizeNormalPerPixel(...)— line 304half3 NormalizeNormalPerVertex(...)— line 284float3 NormalizeNormalPerVertex(...)— line 289half OutputAlpha(...)— line 239uint Select4(...)— line 581half SharpenAlphaStrict(...)— line 186void TransformNormalizedScreenUV(...)— line 556void TransformScreenUV(...)— line 542void TransformScreenUV(...)— line 549uint URP_FirstBitLow(...)— line 595
Macros
_FOG_FRAGMENT— line 386FIRST_BIT_LOW— line 600FIRST_BIT_LOW— line 602UNITY_SHADER_VARIABLES_FUNCTIONS_INCLUDED— line 2UnityStereoTransformScreenSpaceTex— line 605
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingCommon.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.deprecated.hlsl— line 4 (Include)
<URP>/ShaderLibrary/Shadows.deprecated.hlsl
Macros
sampler_AdditionalLightsShadowmapTexture— line 8sampler_MainLightShadowmapTexture— line 7sampler_ScreenSpaceShadowmapTexture— line 6UNIVERSAL_SHADOWS_DEPRECATED_INCLUDED— line 2
<URP>/ShaderLibrary/Shadows.hlsl
Functions
half AdditionalLightRealtimeShadow(...)— line 396half AdditionalLightRealtimeShadow(...)— line 425half AdditionalLightRealtimeShadow(...)— line 614half AdditionalLightShadow(...)— line 497float3 ApplyShadowBias(...)— line 533float4 ApplyShadowClamping(...)— line 544float ApplyShadowFade(...)— line 580half BakedShadow(...)— line 465half BakedShadow(...)— line 620half ComputeCascadeIndex(...)— line 342half GetAdditionalLightShadowFade(...)— line 443half4 GetAdditionalLightShadowParams(...)— line 197ShadowSamplingData GetAdditionalLightShadowSamplingData(...)— line 166half GetAdditionalLightShadowStrenth(...)— line 593half GetMainLightShadowFade(...)— line 434half4 GetMainLightShadowParams(...)— line 186ShadowSamplingData GetMainLightShadowSamplingData(...)— line 151half GetMainLightShadowStrength(...)— line 587float4 GetShadowCoord(...)— line 524float GetShadowFade(...)— line 570else if(...)— line 294half IsDirectionalLight(...)— line 125half IsPointLight(...)— line 130half IsSpotLight(...)— line 120half MainLightRealtimeShadow(...)— line 372half MainLightRealtimeShadow(...)— line 385half MainLightShadow(...)— line 477half MixRealtimeAndBakedShadows(...)— line 456half SampleScreenSpaceShadowmap(...)— line 218real SampleShadowmap(...)— line 306real SampleShadowmap(...)— line 607real SampleShadowmapFiltered(...)— line 286real SampleShadowmapFilteredHighQuality(...)— line 262real SampleShadowmapFilteredLowQuality(...)— line 234real SampleShadowmapFilteredMediumQuality(...)— line 245float4 TransformWorldToShadowCoord(...)— line 356
Structs
ShadowSamplingData— line 143
Macros
_MainLightShadowData— line 567ADDITIONAL_LIGHT_CALCULATE_SHADOWS— line 23BEYOND_SHADOW_FAR— line 135CALCULATE_BAKED_SHADOWS— line 58MAIN_LIGHT_CALCULATE_SHADOWS— line 15MAX_SHADOW_CASCADES— line 11REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR— line 18REQUIRES_WORLD_SPACE_POS_INTERPOLATOR— line 55SAMPLE_SHADOWMASK— line 45SAMPLE_SHADOWMASK— line 47SAMPLE_SHADOWMASK— line 50SAMPLE_SHADOWMASK— line 52SHADOWMASK_NAME— line 31SHADOWMASK_NAME— line 38SHADOWMASK_SAMPLE_EXTRA_ARGS— line 33SHADOWMASK_SAMPLE_EXTRA_ARGS— line 40SHADOWMASK_SAMPLER_NAME— line 32SHADOWMASK_SAMPLER_NAME— line 39SOFT_SHADOW_QUALITY_HIGH— line 141SOFT_SHADOW_QUALITY_LOW— line 139SOFT_SHADOW_QUALITY_MEDIUM— line 140SOFT_SHADOW_QUALITY_OFF— line 138UNIVERSAL_SHADOWS_INCLUDED— line 2
Includes
Core.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/GlobalSamplers.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Shadow/ShadowSamplingTent.hlsl— line 5 (Include)Shadows.deprecated.hlsl— line 9 (Include)
<URP>/ShaderLibrary/SixWayLighting.hlsl
Functions
half3 ComputeGIColor(...)— line 81LightingData CreateLightingData(...)— line 26void GatherDiffuseGIData(...)— line 49void SampleAPVSixWay(...)— line 38half3 SixWayLightBlend(...)— line 104half4 UniversalFragmentSixWay(...)— line 124
Structs
SixWaySurfaceData— line 12
Macros
SIXWAY_LIGHTING_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/SixWayLighting.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/AmbientOcclusion.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/BRDF.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging3D.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GlobalIllumination.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 7 (Include)
<URP>/ShaderLibrary/SSAO.hlsl
Functions
half4 Blur(...)— line 456half BlurSmall(...)— line 484half CompareNormal(...)— line 168half EncodeAO(...)— line 159half4 FinalBlur(...)— line 528half GaussianBlur(...)— line 543float GetLinearEyeDepth(...)— line 224half GetPackedAO(...)— line 154half3 GetPackedNormal(...)— line 149half GetRandomVal(...)— line 179float2 GetScreenSpacePosition(...)— line 173half4 HorizontalBlur(...)— line 510half4 HorizontalGaussianBlur(...)— line 572UNITY_BRANCH if(...)— line 243UNITY_BRANCH if(...)— line 365UNITY_BRANCH if(...)— line 411half4 KawaseBlur(...)— line 641half KawaseBlurFilter(...)— line 604half4 PackAONormal(...)— line 142half3 PickSamplePoint(...)— line 185half3 ReconstructNormal(...)— line 276half3 ReconstructViewPos(...)— line 240float SampleAndGetLinearEyeDepth(...)— line 233float SampleDepth(...)— line 219half3 SampleNormal(...)— line 335half4 SSAO(...)— line 348half4 VerticalBlur(...)— line 519half4 VerticalGaussianBlur(...)— line 583
Macros
ADJUSTED_DEPTH_UV— line 217BlueNoiseOffset— line 38BlueNoiseScale— line 37DOWNSAMPLE— line 32FALLOFF— line 33INTENSITY— line 30RADIUS— line 31SAMPLE_BASEMAP— line 100SAMPLE_BASEMAP_R— line 101SAMPLE_BLUE_NOISE— line 102SCREEN_PARAMS— line 99unity_eyeIndex— line 136unity_eyeIndex— line 138UNIVERSAL_SSAO_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareNormalsTexture.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl— line 6 (Include)
<URP>/ShaderLibrary/SurfaceData.hlsl
Structs
SurfaceData— line 5
Macros
UNIVERSAL_SURFACE_DATA_INCLUDED— line 2
<URP>/ShaderLibrary/SurfaceInput.hlsl
Functions
half Alpha(...)— line 21half4 SampleAlbedoAlpha(...)— line 34half3 SampleEmission(...)— line 53half3 SampleNormal(...)— line 39
Macros
UNIVERSAL_INPUT_SURFACE_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Packing.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 5 (Include)
<URP>/ShaderLibrary/UnityGBuffer.deprecated.hlsl
Functions
BRDFData BRDFDataFromGbuffer(...)— line 77GBufferFragOutput BRDFDataToGbuffer(...)— line 50InputData InputDataFromGbufferAndWorldPosition(...)— line 115float PackMaterialFlags(...)— line 135half3 PackNormal(...)— line 147SurfaceData SurfaceDataFromGbuffer(...)— line 56GBufferFragOutput SurfaceDataToGbuffer(...)— line 44uint UnpackMaterialFlags(...)— line 141half3 UnpackNormal(...)— line 153
Structs
FragmentOutput— line 20
Macros
DECL_OPT_GBUFFER_TARGET— line 17DECL_SV_TARGET— line 16kLightingInvalid— line 8kLightingLit— line 11kLightingSimpleLit— line 14UNIVERSAL_GBUFFERUTIL_INCLUDED— line 3
Includes
<URP>/ShaderLibrary/UnityGBuffer.hlsl
Includes
UnityGBuffer.deprecated.hlsl— line 2 (Include)
<URP>/ShaderLibrary/UnityInput.hlsl
Functions
float4x4 OptimizeProjectionMatrix(...)— line 301
Macros
_NonJitteredViewProjMatrix— line 285_PrevViewProjMatrix— line 284_ViewProjMatrix— line 286_WorldSpaceCameraPos— line 34glstate_matrix_projection— line 22unity_CameraInvProjection— line 31unity_CameraProjection— line 30unity_CameraToWorld— line 33UNITY_DECLARE_MULTIVIEW— line 204UNITY_LIGHTMODEL_AMBIENT— line 37unity_MatrixInvP— line 25unity_MatrixInvV— line 24unity_MatrixInvVP— line 27unity_MatrixV— line 23unity_MatrixVP— line 26UNITY_STEREO_INSTANCING_ENABLED— line 9UNITY_STEREO_MULTIVIEW_ENABLED— line 13unity_StereoEyeIndex— line 210UNITY_VIEWID— line 205unity_WorldToCamera— line 32UNIVERSAL_SHADER_VARIABLES_INCLUDED— line 4USING_STEREO_MATRICES— line 17
<URP>/ShaderLibrary/UnityTypes.hlsl
Macros
UNIVERSAL_UNITY_TYPES_HLSL— line 2URP_LIGHT_TYPE_AREA— line 17URP_LIGHT_TYPE_DIRECTIONAL— line 14URP_LIGHT_TYPE_DISC— line 19URP_LIGHT_TYPE_POINT— line 15URP_LIGHT_TYPE_RECTANGLE— line 18URP_LIGHT_TYPE_SPOT— line 13URP_TEXTURE_WRAP_MODE_CLAMP— line 6URP_TEXTURE_WRAP_MODE_MIRROR— line 7URP_TEXTURE_WRAP_MODE_MIRROR_ONCE— line 8URP_TEXTURE_WRAP_MODE_NONE— line 10URP_TEXTURE_WRAP_MODE_REPEAT— line 5
<URP>/ShaderLibrary/UniversalDOTSInstancing.hlsl
Macros
unity_DynamicLightmapST— line 29unity_LightData— line 39unity_LightmapIndex— line 28unity_LightmapST— line 27unity_LODFade— line 25unity_MotionVectorsParams— line 42unity_ProbesOcclusion— line 38unity_RendererBounds_Max— line 44unity_RendererBounds_Min— line 43unity_RendererUserValue— line 30unity_RenderingLayer— line 41unity_SelectionID— line 65unity_SelectionID— line 69UNITY_SETUP_DOTS_RENDER_BOUNDS— line 47UNITY_SETUP_DOTS_RENDER_BOUNDS— line 70UNITY_SETUP_DOTS_SH_COEFFS— line 46unity_SHAb— line 33unity_SHAg— line 32unity_SHAr— line 31unity_SHBb— line 36unity_SHBg— line 35unity_SHBr— line 34unity_SHC— line 37unity_SpecCube0_HDR— line 26unity_WorldTransformParams— line 40UNIVERSAL_DOTS_INSTANCING_INCLUDED— line 2
<URP>/ShaderLibrary/UniversalMetaPass.hlsl
Functions
half4 UniversalFragmentMeta(...)— line 37Varyings UniversalVertexMeta(...)— line 26
Structs
Attributes— line 6Varyings— line 16
Macros
UNIVERSAL_META_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/MetaInput.hlsl— line 4 (Include)
<URP>/ShaderLibrary/Unlit.hlsl
Functions
half4 UniversalFragmentUnlit(...)— line 9half4 UniversalFragmentUnlit(...)— line 28
Macros
UNLIT_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging3D.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceData.hlsl— line 7 (Include)
<URP>/ShaderLibrary/VisualEffectVertex.hlsl
Functions
void VertVFX(...)— line 2
<URP>/Shaders/2D/Include/2DCommon.hlsl
Functions
half4 CommonUnlitFragment(...)— line 22Varyings CommonUnlitVertex(...)— line 8
Macros
_2D_COMMON— line 2
<URP>/Shaders/2D/Include/CombinedShapeLightShared.hlsl
Functions
half4 CombinedShapeLightShared(...)— line 10
Macros
COMBINED_SHAPE_LIGHT_PASS— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging2D.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/LightingUtility.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShapeLightVariables.hlsl— line 5 (Include)
<URP>/Shaders/2D/Include/Core2D.hlsl
Functions
void SetUpSpriteInstanceProperties(...)— line 101float3 UnityFlipSprite(...)— line 65float3 UnitySkinSprite(...)— line 70
Macros
COMMON_2D_INPUTS— line 19COMMON_2D_LIT_OUTPUTS— line 14COMMON_2D_NORMALS_INPUTS— line 41COMMON_2D_NORMALS_OUTPUTS— line 45COMMON_2D_OUTPUTS— line 31COMMON_2D_OUTPUTS— line 36COMMON_2D_OUTPUTS_SHARED— line 25INPUT_CORE_2D_INCLUDED— line 2UNITY_SKINNED_VERTEX_COMPUTE— line 54UNITY_SKINNED_VERTEX_COMPUTE— line 59UNITY_SKINNED_VERTEX_INPUTS— line 53UNITY_SKINNED_VERTEX_INPUTS— line 58unity_SpriteColor— line 97unity_SpriteFlip— line 98
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging2D.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/InputData2D.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/SurfaceData2D.hlsl— line 8 (Include)
<URP>/Shaders/2D/Include/InputData2D.hlsl
Functions
void InitializeInputData(...)— line 22void InitializeInputData(...)— line 30
Structs
InputData2D— line 5
Macros
INPUT_DATA_2D_INCLUDED— line 3
<URP>/Shaders/2D/Include/LightingUtility.hlsl
Functions
PerLight2D GetPerLight2D(...)— line 169FragmentOutput ToFragmentOutput(...)— line 112
Structs
FragmentOutput— line 96PerLight2D— line 146
Macros
_L2D_COLOR— line 176_L2D_COLOR— line 204_L2D_FALLOFF_DISTANCE— line 179_L2D_FALLOFF_DISTANCE— line 207_L2D_FALLOFF_INTENSITY— line 178_L2D_FALLOFF_INTENSITY— line 206_L2D_INNER_ANGLE— line 181_L2D_INNER_ANGLE— line 209_L2D_INNER_RADIUS_MULT— line 182_L2D_INNER_RADIUS_MULT— line 210_L2D_INVMATRIX— line 175_L2D_INVMATRIX— line 203_L2D_LIGHT_TYPE— line 185_L2D_LIGHT_TYPE— line 213_L2D_OUTER_ANGLE— line 180_L2D_OUTER_ANGLE— line 208_L2D_POSITION— line 177_L2D_POSITION— line 205_L2D_SHADOW_INTENSITY— line 184_L2D_SHADOW_INTENSITY— line 212_L2D_VOLUME_OPACITY— line 183_L2D_VOLUME_OPACITY— line 211APPLY_NORMALS_LIGHTING— line 17APPLY_NORMALS_LIGHTING— line 31APPLY_NORMALS_LIGHTING— line 47APPLY_SHADOWS— line 58LIGHT_OFFSET— line 132NORMALS_LIGHTING_COORDS— line 6NORMALS_LIGHTING_COORDS— line 23NORMALS_LIGHTING_COORDS— line 44NORMALS_LIGHTING_VARIABLES— line 40NORMALS_LIGHTING_VARIABLES— line 45SHADOW_COORDS— line 50SHADOW_VARIABLES— line 53SHAPE_LIGHT— line 69TRANSFER_NORMALS_LIGHTING— line 10TRANSFER_NORMALS_LIGHTING— line 27TRANSFER_NORMALS_LIGHTING— line 46TRANSFER_SHADOWS— line 66UNITY_LIGHT2D_DATA— line 163UNITY_LIGHT2D_DATA— line 189USE_DEFAULT_LIGHT_TYPE— line 93USE_STRUCTURED_BUFFER_FOR_LIGHT2D_DATA— line 2
<URP>/Shaders/2D/Include/Lit2DCommon.hlsl
Functions
half4 CommonLitFragment(...)— line 32Varyings CommonLitVertex(...)— line 16
Macros
_LIT_2D_COMMON— line 2
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/CombinedShapeLightShared.hlsl— line 4 (Include)
<URP>/Shaders/2D/Include/Normals2DCommon.hlsl
Functions
half4 CommonNormalsFragment(...)— line 27Varyings CommonNormalsVertex(...)— line 13
Macros
_NORMALS_2D_COMMON— line 2
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/NormalsRenderingShared.hlsl— line 4 (Include)
<URP>/Shaders/2D/Include/NormalsRenderingShared.hlsl
Functions
half4 NormalsRenderingShared(...)— line 4
Macros
NORMALS_RENDERING_PASS— line 2
<URP>/Shaders/2D/Include/ShadowProjectVertex.hlsl
Functions
float AngleFromDir(...)— line 30float2 CalculateShadowValue(...)— line 43float3 DirFromAngle(...)— line 38Varyings ProjectShadow(...)— line 99float4 ProjectShadowVertexToWS(...)— line 61float3 SoftShadowDir(...)— line 52
Structs
Attributes— line 9Varyings— line 15
Macros
Deg2Rad— line 5MIN_SHADOW_Y— line 7SHADOW_PROJECT_VERTEX— line 2ToFloat— line 4
<URP>/Shaders/2D/Include/ShapeLightShared.hlsl
Macros
SHAPE_LIGHT_PRAGMAS— line 2
<URP>/Shaders/2D/Include/ShapeLightVariables.hlsl
Macros
SHAPE_LIGHT_VARIABLES— line 2
<URP>/Shaders/2D/Include/SpriteMaskShared.hlsl
Functions
half4 MaskRenderingFragment(...)— line 34Varyings MaskRenderingVertex(...)— line 24
Structs
Attributes— line 12Varyings— line 18
Macros
SPRITE_MASK_SHARED— line 3
<URP>/Shaders/2D/Include/SurfaceData2D.hlsl
Functions
void InitializeSurfaceData(...)— line 16void InitializeSurfaceData(...)— line 26void InitializeSurfaceData(...)— line 33
Structs
SurfaceData2D— line 5
Macros
SURFACE_DATA_2D_INCLUDED— line 3
<URP>/Shaders/2D/Light2D.shader
Functions
FragmentOutput frag(...)— line 228FragmentOutput frag_point(...)— line 184FragmentOutput frag_shape(...)— line 150Varyings vert(...)— line 119Varyings vert_point(...)— line 100Varyings vert_shape(...)— line 74
Structs
Attributes— line 34Varyings— line 41
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 31 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/LightingUtility.hlsl— line 32 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShapeLightShared.hlsl— line 30 (IncludeWithPragmas)
<URP>/Shaders/2D/Mesh2D-Lit-Default.shader
Functions
half4 LitFragment(...)— line 61Varyings LitVertex(...)— line 56half4 NormalsRenderingFragment(...)— line 100Varyings NormalsRenderingVertex(...)— line 95half4 UnlitFragment(...)— line 139Varyings UnlitVertex(...)— line 134
Structs
Attributes— line 42Attributes— line 81Attributes— line 120Varyings— line 47Varyings— line 86Varyings— line 125
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/2DCommon.hlsl— line 132 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 31 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 73 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 112 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Lit2DCommon.hlsl— line 54 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Normals2DCommon.hlsl— line 93 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShapeLightShared.hlsl— line 36 (IncludeWithPragmas)
<URP>/Shaders/2D/Mesh2D-Unlit-Default.shader
Functions
half4 UnlitFragment(...)— line 61Varyings UnlitVertex(...)— line 56
Structs
Attributes— line 42Varyings— line 47
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/2DCommon.hlsl— line 54 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 34 (Include)
<URP>/Shaders/2D/RenderAs2D-Flattening.shader
Functions
half4 ColorFragment(...)— line 69Varyings ColorVertex(...)— line 55half4 NormalsRenderingFragment(...)— line 130Varyings NormalsRenderingVertex(...)— line 114float4 UnlitFragment(...)— line 175Varyings UnlitVertex(...)— line 165
Structs
Attributes— line 42Attributes— line 87Attributes— line 152Varyings— line 48Varyings— line 97Varyings— line 158
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 37 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 82 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 147 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/NormalsRenderingShared.hlsl— line 128 (Include)
<URP>/Shaders/2D/Shadow2D-Projected.shader
Functions
half4 frag(...)— line 49half4 frag(...)— line 97Varyings vert(...)— line 44Varyings vert(...)— line 92
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 37 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 84 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShadowProjectVertex.hlsl— line 38 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShadowProjectVertex.hlsl— line 85 (Include)
<URP>/Shaders/2D/Shadow2D-Shadow-Geometry.shader
Functions
half4 frag(...)— line 47Varyings vert(...)— line 40
Structs
Attributes— line 30Varyings— line 35
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 28 (Include)
<URP>/Shaders/2D/Shadow2D-Shadow-Sprite.shader
Functions
half4 frag(...)— line 59Varyings vert(...)— line 50
Structs
Attributes— line 32Varyings— line 39
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 30 (Include)
<URP>/Shaders/2D/Shadow2D-Unshadow-Geometry.shader
Functions
half4 frag(...)— line 57half4 frag(...)— line 105Varyings vert(...)— line 49Varyings vert(...)— line 98
Structs
Attributes— line 34Attributes— line 88Varyings— line 40Varyings— line 93
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 32 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 86 (Include)
<URP>/Shaders/2D/Shadow2D-Unshadow-Sprite.shader
Functions
half4 frag(...)— line 66half4 frag(...)— line 131Varyings vert(...)— line 57Varyings vert(...)— line 122
Structs
Attributes— line 38Attributes— line 103Varyings— line 45Varyings— line 110
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 36 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 101 (Include)
<URP>/Shaders/2D/Sprite-Lit-Default.shader
Functions
half4 LitFragment(...)— line 74Varyings LitVertex(...)— line 62half4 NormalsRenderingFragment(...)— line 127Varyings NormalsRenderingVertex(...)— line 115half4 UnlitFragment(...)— line 179Varyings UnlitVertex(...)— line 168
Structs
Attributes— line 42Attributes— line 95Attributes— line 144Varyings— line 49Varyings— line 102Varyings— line 151
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/2DCommon.hlsl— line 157 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 30 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 86 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 139 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Lit2DCommon.hlsl— line 55 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Normals2DCommon.hlsl— line 108 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/ShapeLightShared.hlsl— line 35 (IncludeWithPragmas)
<URP>/Shaders/2D/Sprite-Mask.shader
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/SpriteMaskShared.hlsl— line 38 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/SpriteMaskShared.hlsl— line 48 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/SpriteMaskShared.hlsl— line 58 (Include)
<URP>/Shaders/2D/Sprite-Unlit-Default.shader
Functions
half4 UnlitFragment(...)— line 67Varyings UnlitVertex(...)— line 56
Structs
Attributes— line 32Varyings— line 39
Includes
Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/2DCommon.hlsl— line 45 (Include)Packages/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl— line 27 (Include)
<URP>/Shaders/BakedLit.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 345BUMP_SCALE_NOT_SUPPORTED— line 228
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 98 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 139 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 184 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 233 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 93 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 322 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 348 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 81 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 82 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 179 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 224 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitDepthNormalsPass.hlsl— line 189 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitForwardPass.hlsl— line 104 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 103 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 143 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 188 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 237 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 269 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 304 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 321 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitInput.hlsl— line 347 (Include)Packages/com.unity.render-pipelines.universal/Shaders/BakedLitMetaPass.hlsl— line 270 (Include)Packages/com.unity.render-pipelines.universal/Shaders/DepthNormalsPass.hlsl— line 238 (Include)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 144 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 305 (Include)
<URP>/Shaders/BakedLitDepthNormalsPass.hlsl
Functions
void DepthNormalsFragment(...)— line 57Varyings DepthNormalsVertex(...)— line 33
Structs
Attributes— line 9Varyings— line 19
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/BakedLitForwardPass.hlsl
Functions
void BakedLitForwardPassFragment(...)— line 135Varyings BakedLitForwardPassVertex(...)— line 98void InitializeBakedGIData(...)— line 83void InitializeInputData(...)— line 42
Structs
Attributes— line 7Varyings— line 18
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 2 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 4 (Include)
<URP>/Shaders/BakedLitInput.hlsl
Functions
Macros
_BaseColor— line 46_Cutoff— line 47_Glossiness— line 48_Metallic— line 49_Surface— line 50UNITY_SETUP_DOTS_MATERIAL_PROPERTY_CACHES— line 44UNIVERSAL_BAKEDLIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 4 (Include)
<URP>/Shaders/BakedLitMetaPass.hlsl
Macros
Includes
Packages/com.unity.render-pipelines.universal/Shaders/UnlitMetaPass.hlsl— line 4 (Include)
<URP>/Shaders/BRGPicking.shader
Functions
half4 Frag(...)— line 71half4 Frag(...)— line 132Varyings Vert(...)— line 57Varyings Vert(...)— line 120
Structs
Attributes— line 45Attributes— line 106Varyings— line 51Varyings— line 113
Macros
SCENEPICKINGPASS— line 39SCENESELECTIONPASS— line 97
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 43 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 102 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl— line 103 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 104 (Include)
<URP>/Shaders/CameraMotionVectors.shader
Functions
half4 frag(...)— line 58UNITY_BRANCH if(...)— line 70UNITY_BRANCH if(...)— line 91Varyings vert(...)— line 41
Structs
Attributes— line 26Varyings— line 32
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 24 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 23 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 20 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 21 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 22 (Include)
<URP>/Shaders/ComplexLit.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 525
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 153 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 176 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 216 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 313 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 356 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 407 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 169 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 502 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 528 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 170 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 307 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 154 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 293 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 398 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 361 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitDepthNormalsPass.hlsl— line 412 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitForwardPass.hlsl— line 181 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitGBufferPass.hlsl— line 318 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 180 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 227 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 317 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 360 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 411 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 450 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 485 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 501 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 527 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitMetaPass.hlsl— line 451 (Include)Packages/com.unity.render-pipelines.universal/Shaders/ShadowCasterPass.hlsl— line 228 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 486 (Include)
<URP>/Shaders/Debug/DebugReplacement.shader
Functions
half4 frag(...)— line 84Varyings vert(...)— line 65
Structs
Attributes— line 32Varyings— line 49
Macros
DEBUG_DISPLAY— line 18
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 29 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 20 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging3D.hlsl— line 21 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 25 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 30 (Include)
<URP>/Shaders/Debug/HDRDebugView.shader
Functions
half4 Frag(...)— line 209half4 Frag(...)— line 232else if(...)— line 122else if(...)— line 126else if(...)— line 158UNITY_BRANCH if(...)— line 241bool IsInCIExyMapping(...)— line 52void RenderDebugHDR(...)— line 79float2 RGBtoxy(...)— line 31float3 uvToGamut(...)— line 37float3 ValuesAbovePaperWhite(...)— line 57
Macros
_MaxNits— line 28_MinNits— line 27_PaperWhite— line 29_SizePerDim— line 207
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 18 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ACES.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 13 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Debug.hlsl— line 17 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 16 (Include)
<URP>/Shaders/DepthNormalsPass.hlsl
Functions
void DepthNormalsFragment(...)— line 49Varyings DepthNormalsVertex(...)— line 31
Structs
Attributes— line 10Varyings— line 19
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 8 (Include)
<URP>/Shaders/DepthOnlyPass.hlsl
Functions
half DepthOnlyFragment(...)— line 40Varyings DepthOnlyVertex(...)— line 26
Structs
Attributes— line 9Varyings— line 16
Macros
UNIVERSAL_DEPTH_ONLY_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/Lit.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 524
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 152 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 289 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 175 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 213 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 311 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 354 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 404 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 480 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 168 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 501 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 527 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 169 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 305 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 153 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 290 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 399 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 359 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitDepthNormalsPass.hlsl— line 409 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitForwardPass.hlsl— line 178 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitGBufferPass.hlsl— line 316 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 177 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 227 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 315 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 358 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 408 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 447 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 484 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 500 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl— line 526 (Include)Packages/com.unity.render-pipelines.universal/Shaders/LitMetaPass.hlsl— line 448 (Include)Packages/com.unity.render-pipelines.universal/Shaders/ShadowCasterPass.hlsl— line 228 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 485 (Include)
<URP>/Shaders/LitDepthNormalsPass.hlsl
Functions
void DepthNormalsFragment(...)— line 91Varyings DepthNormalsVertex(...)— line 57
Structs
Attributes— line 25Varyings— line 34
Macros
_DETAIL— line 10REQUIRES_TANGENT_SPACE_VIEW_DIR_INTERPOLATOR— line 14REQUIRES_UV_INTERPOLATOR— line 22REQUIRES_WORLD_SPACE_TANGENT_INTERPOLATOR— line 18UNIVERSAL_FORWARD_LIT_DEPTH_NORMALS_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/LitForwardPass.hlsl
Functions
void InitializeBakedGIData(...)— line 132void InitializeInputData(...)— line 72void LitPassFragment(...)— line 223Varyings LitPassVertex(...)— line 158
Structs
Attributes— line 20Varyings— line 31
Macros
REQUIRES_TANGENT_SPACE_VIEW_DIR_INTERPOLATOR— line 11REQUIRES_WORLD_SPACE_TANGENT_INTERPOLATOR— line 15UNIVERSAL_FORWARD_LIT_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 7 (Include)
<URP>/Shaders/LitGBufferPass.hlsl
Functions
void InitializeBakedGIData(...)— line 113void InitializeInputData(...)— line 73GBufferFragOutput LitGBufferPassFragment(...)— line 199Varyings LitGBufferPassVertex(...)— line 139
Structs
Attributes— line 24Varyings— line 35
Macros
REQUIRES_TANGENT_SPACE_VIEW_DIR_INTERPOLATOR— line 15REQUIRES_WORLD_SPACE_TANGENT_INTERPOLATOR— line 19UNIVERSAL_LIT_GBUFFER_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 7 (Include)
<URP>/Shaders/LitInput.hlsl
Functions
half3 ApplyDetailAlbedo(...)— line 215half3 ApplyDetailNormal(...)— line 233void ApplyPerPixelDisplacement(...)— line 194void InitializeStandardLitSurfaceData(...)— line 252half2 SampleClearCoat(...)— line 179half4 SampleMetallicSpecGloss(...)— line 137half SampleOcclusion(...)— line 165half3 ScaleDetailAlbedo(...)— line 204void SetupDOTSLitMaterialPropertyCaches(...)— line 84
Macros
_BaseColor— line 105_BumpScale— line 111_ClearCoatMask— line 114_ClearCoatSmoothness— line 115_Cutoff— line 108_DETAIL— line 12_DetailAlbedoMapScale— line 116_DetailNormalMapScale— line 117_EmissionColor— line 107_Metallic— line 110_OcclusionStrength— line 113_Parallax— line 112_Smoothness— line 109_SpecColor— line 106_Surface— line 118SAMPLE_METALLICSPECULAR— line 132SAMPLE_METALLICSPECULAR— line 134UNITY_SETUP_DOTS_MATERIAL_PROPERTY_CACHES— line 103UNIVERSAL_LIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ParallaxMapping.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 6 (Include)
<URP>/Shaders/LitMetaPass.hlsl
Functions
half4 UniversalFragmentMetaLit(...)— line 6
Macros
UNIVERSAL_LIT_META_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/UniversalMetaPass.hlsl— line 4 (Include)
<URP>/Shaders/Nature/SpeedTree7.shader
Macros
DEPTH_ONLY— line 93DEPTH_ONLY— line 122DEPTH_ONLY— line 201ENABLE_WIND— line 64ENABLE_WIND— line 92ENABLE_WIND— line 121ENABLE_WIND— line 170ENABLE_WIND— line 200ENABLE_WIND— line 228GBUFFER— line 172SCENESELECTIONPASS— line 94SHADOW_CASTER— line 123SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 68VERTEX_COLOR— line 65VERTEX_COLOR— line 171
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 53 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 54 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 55 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 160 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 161 (IncludeWithPragmas)SpeedTree7Input.hlsl— line 71 (Include)SpeedTree7Input.hlsl— line 96 (Include)SpeedTree7Input.hlsl— line 131 (Include)SpeedTree7Input.hlsl— line 174 (Include)SpeedTree7Input.hlsl— line 203 (Include)SpeedTree7Input.hlsl— line 230 (Include)SpeedTree7Passes.hlsl— line 72 (Include)SpeedTree7Passes.hlsl— line 97 (Include)SpeedTree7Passes.hlsl— line 132 (Include)SpeedTree7Passes.hlsl— line 175 (Include)SpeedTree7Passes.hlsl— line 204 (Include)SpeedTree7Passes.hlsl— line 231 (Include)
<URP>/Shaders/Nature/SpeedTree7Billboard.shader
Macros
DEPTH_ONLY— line 79DEPTH_ONLY— line 140ENABLE_WIND— line 51ENABLE_WIND— line 78ENABLE_WIND— line 115ENABLE_WIND— line 139ENABLE_WIND— line 164GBUFFER— line 116SHADOW_CASTER— line 80SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 54
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 41 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 42 (IncludeWithPragmas)SpeedTree7BillboardInput.hlsl— line 57 (Include)SpeedTree7BillboardInput.hlsl— line 82 (Include)SpeedTree7BillboardInput.hlsl— line 118 (Include)SpeedTree7BillboardInput.hlsl— line 142 (Include)SpeedTree7BillboardInput.hlsl— line 166 (Include)SpeedTree7BillboardPasses.hlsl— line 58 (Include)SpeedTree7BillboardPasses.hlsl— line 83 (Include)SpeedTree7BillboardPasses.hlsl— line 119 (Include)SpeedTree7BillboardPasses.hlsl— line 143 (Include)SpeedTree7BillboardPasses.hlsl— line 167 (Include)
<URP>/Shaders/Nature/SpeedTree7BillboardInput.hlsl
Macros
_Surface— line 25SPEEDTREE_ALPHATEST— line 6SPEEDTREE_PI— line 4unity_BillboardCameraPosition— line 15unity_BillboardCameraXZAngle— line 16UNIVERSAL_SPEEDTREE7BILLBOARD_INPUT_INCLUDED— line 2
Includes
SpeedTree7CommonInput.hlsl— line 9 (Include)
<URP>/Shaders/Nature/SpeedTree7BillboardPasses.hlsl
Functions
void InitializeData(...)— line 7half4 SpeedTree7FragDepthNormalBillboard(...)— line 175SpeedTreeVertexOutput SpeedTree7Vert(...)— line 68SpeedTreeVertexDepthOutput SpeedTree7VertDepth(...)— line 115SpeedTreeVertexDepthNormalOutput SpeedTree7VertDepthNormalBillboard(...)— line 142
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)SpeedTree7CommonPasses.hlsl— line 5 (Include)
<URP>/Shaders/Nature/SpeedTree7CommonInput.hlsl
Macros
_ALPHATEST_ON— line 5_NORMALMAP— line 9SPEEDTREE_8_WIND— line 26UNIVERSAL_SPEEDTREE7COMMON_INPUT_INCLUDED— line 2WIND_QUALITY_BEST— line 21WIND_QUALITY_BETTER— line 20WIND_QUALITY_FAST— line 19WIND_QUALITY_FASTEST— line 18WIND_QUALITY_NONE— line 17WIND_QUALITY_PALM— line 22
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 13 (Include)SpeedTreeWind.cginc— line 27 (Include)
<URP>/Shaders/Nature/SpeedTree7CommonPasses.hlsl
Functions
void InitializeInputData(...)— line 91half4 SpeedTree7FragDepth(...)— line 228half4 SpeedTree7FragDepthNormal(...)— line 253
Structs
SpeedTreeVertexDepthNormalOutput— line 69SpeedTreeVertexDepthOutput— line 60SpeedTreeVertexInput— line 12SpeedTreeVertexOutput— line 26
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl— line 6 (Include)SpeedTreeUtility.hlsl— line 7 (Include)
<URP>/Shaders/Nature/SpeedTree7Input.hlsl
Macros
_Surface— line 27GEOM_TYPE_BRANCH— line 7SPEEDTREE_ALPHATEST— line 12SPEEDTREE_Y_UP— line 4UNIVERSAL_SPEEDTREE7_INPUT_INCLUDED— line 2
Includes
SpeedTree7CommonInput.hlsl— line 21 (Include)
<URP>/Shaders/Nature/SpeedTree7Passes.hlsl
Functions
void InitializeData(...)— line 7SpeedTreeVertexOutput SpeedTree7Vert(...)— line 101SpeedTreeVertexDepthOutput SpeedTree7VertDepth(...)— line 170SpeedTreeVertexDepthNormalOutput SpeedTree7VertDepthNormal(...)— line 200
Macros
UNIVERSAL_SPEEDTREE7_PASSES_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)SpeedTree7CommonPasses.hlsl— line 5 (Include)
<URP>/Shaders/Nature/SpeedTree8.shader
Macros
DEPTH_ONLY— line 118DEPTH_ONLY— line 198DEPTH_ONLY— line 234EFFECT_BACKSIDE_NORMALS— line 87EFFECT_BACKSIDE_NORMALS— line 168EFFECT_BACKSIDE_NORMALS— line 264ENABLE_WIND— line 86ENABLE_WIND— line 117ENABLE_WIND— line 167ENABLE_WIND— line 197ENABLE_WIND— line 233ENABLE_WIND— line 263GBUFFER— line 169SCENESELECTIONPASS— line 119SHADOW_CASTER— line 199SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 90
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 70 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 71 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 72 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 154 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 155 (IncludeWithPragmas)SpeedTree8Input.hlsl— line 93 (Include)SpeedTree8Input.hlsl— line 121 (Include)SpeedTree8Input.hlsl— line 171 (Include)SpeedTree8Input.hlsl— line 207 (Include)SpeedTree8Input.hlsl— line 236 (Include)SpeedTree8Input.hlsl— line 266 (Include)SpeedTree8Passes.hlsl— line 94 (Include)SpeedTree8Passes.hlsl— line 122 (Include)SpeedTree8Passes.hlsl— line 172 (Include)SpeedTree8Passes.hlsl— line 208 (Include)SpeedTree8Passes.hlsl— line 237 (Include)SpeedTree8Passes.hlsl— line 267 (Include)
<URP>/Shaders/Nature/SpeedTree8Input.hlsl
Macros
_ALPHATEST_ON— line 8_NORMALMAP— line 5_Surface— line 67GEOM_TYPE_BRANCH— line 62GEOM_TYPE_FACINGLEAF— line 65GEOM_TYPE_FROND— line 63GEOM_TYPE_LEAF— line 64SPEEDTREE_8_WIND— line 16SPEEDTREE_Y_UP— line 15UNIVERSAL_SPEEDTREE8_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 11 (Include)SpeedTreeWind.cginc— line 17 (Include)
<URP>/Shaders/Nature/SpeedTree8Passes.hlsl
Functions
void InitializeData(...)— line 98void InitializeInputData(...)— line 322half4 SpeedTree8FragDepth(...)— line 505half4 SpeedTree8FragDepthNormal(...)— line 562SpeedTreeVertexOutput SpeedTree8Vert(...)— line 227SpeedTreeVertexDepthOutput SpeedTree8VertDepth(...)— line 288SpeedTreeVertexDepthNormalOutput SpeedTree8VertDepthNormal(...)— line 528
Structs
SpeedTreeDepthNormalFragmentInput— line 82SpeedTreeFragmentInput— line 90SpeedTreeVertexDepthNormalOutput— line 63SpeedTreeVertexDepthOutput— line 53SpeedTreeVertexInput— line 12SpeedTreeVertexOutput— line 26
Macros
UNIVERSAL_SPEEDTREE8_PASSES_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 9 (Include)Packages/com.unity.shadergraph/ShaderGraphLibrary/Nature/SpeedTreeCommon.hlsl— line 6 (Include)SpeedTreeUtility.hlsl— line 7 (Include)
<URP>/Shaders/Nature/SpeedTreeUtility.hlsl
Functions
uint2 ComputeFadeMaskSeed(...)— line 4
Macros
UNIVERSAL_SPEEDTREE_UTILITY— line 2
<URP>/Shaders/ObjectMotionVectorFallback.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 33
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 13 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 34 (IncludeWithPragmas)
<URP>/Shaders/Particles/ParticlesDepthNormalsPass.hlsl
Functions
half4 DepthNormalsFragment(...)— line 48VaryingsDepthNormalsParticle DepthNormalsVertex(...)— line 6
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesDepthOnlyPass.hlsl
Functions
half DepthOnlyFragment(...)— line 33VaryingsDepthOnlyParticle DepthOnlyVertex(...)— line 6
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesEditorPass.hlsl
Functions
void fragParticleSceneClip(...)— line 39half4 fragParticleSceneHighlight(...)— line 60half4 fragParticleScenePicking(...)— line 66VaryingsParticle vertParticleEditor(...)— line 17
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 5 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesInput.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesInput.hlsl
Structs
AttributesDepthNormalsParticle— line 100AttributesDepthOnlyParticle— line 66AttributesParticle— line 6VaryingsDepthNormalsParticle— line 124VaryingsDepthOnlyParticle— line 83VaryingsParticle— line 25
Macros
UNIVERSAL_PARTICLES_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesLit.shader
Macros
PARTICLES_EDITOR_META_PASS— line 341PARTICLES_EDITOR_META_PASS— line 386
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 148 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 158 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 231 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 274 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 315 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 358 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 403 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 149 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 150 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthNormalsPass.hlsl— line 320 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthOnlyPass.hlsl— line 279 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 363 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 408 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitForwardPass.hlsl— line 163 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitGbufferPass.hlsl— line 236 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 162 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 235 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 278 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 319 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 362 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 407 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesLitInput.hlsl— line 441 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 442 (Include)
<URP>/Shaders/Particles/ParticlesLitForwardPass.hlsl
Functions
void InitializeInputData(...)— line 7half4 ParticlesLitFragment(...)— line 121VaryingsParticle ParticlesLitVertex(...)— line 66
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 5 (Include)
<URP>/Shaders/Particles/ParticlesLitGbufferPass.hlsl
Functions
void InitializeInputData(...)— line 7GBufferFragOutput ParticlesGBufferFragment(...)— line 112VaryingsParticle ParticlesGBufferVertex(...)— line 66
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesLitInput.hlsl
Functions
void InitializeParticleLitSurfaceData(...)— line 90void InitializeParticleLitSurfaceData(...)— line 128half4 SampleAlbedo(...)— line 42half4 SampleAlbedo(...)— line 66
Macros
ALBEDO_MUL— line 37ALBEDO_MUL— line 39CAMERA_INV_FADE_DISTANCE— line 33CAMERA_NEAR_FADE— line 32SOFT_PARTICLE_INV_FADE_DISTANCE— line 30SOFT_PARTICLE_NEAR_FADE— line 29UNIVERSAL_PARTICLES_LIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 25 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesInput.hlsl— line 5 (Include)
<URP>/Shaders/Particles/ParticlesSimpleLit.shader
Macros
BUMP_SCALE_NOT_SUPPORTED— line 162BUMP_SCALE_NOT_SUPPORTED— line 238PARTICLES_EDITOR_META_PASS— line 348PARTICLES_EDITOR_META_PASS— line 393
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 148 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 158 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 234 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 281 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 322 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 365 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 410 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 149 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 150 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 227 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthNormalsPass.hlsl— line 327 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthOnlyPass.hlsl— line 286 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 370 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 415 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitForwardPass.hlsl— line 167 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitGBufferPass.hlsl— line 243 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 166 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 242 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 285 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 326 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 369 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 414 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesSimpleLitInput.hlsl— line 449 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 450 (Include)
<URP>/Shaders/Particles/ParticlesSimpleLitForwardPass.hlsl
Functions
void InitializeInputData(...)— line 7half4 ParticlesLitFragment(...)— line 119VaryingsParticle ParticlesLitVertex(...)— line 65
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 5 (IncludeWithPragmas)
<URP>/Shaders/Particles/ParticlesSimpleLitGBufferPass.hlsl
Functions
void InitializeInputData(...)— line 8void InitializeParticleSimpleLitSurfaceData(...)— line 63GBufferFragOutput ParticlesLitGBufferFragment(...)— line 145VaryingsParticle ParticlesLitGBufferVertex(...)— line 95
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 6 (IncludeWithPragmas)
<URP>/Shaders/Particles/ParticlesSimpleLitInput.hlsl
Functions
half4 SampleAlbedo(...)— line 36half4 SampleAlbedo(...)— line 59half4 SampleSpecularSmoothness(...)— line 82
Macros
_BumpScale— line 34CAMERA_INV_FADE_DISTANCE— line 32CAMERA_NEAR_FADE— line 31SOFT_PARTICLE_INV_FADE_DISTANCE— line 29SOFT_PARTICLE_NEAR_FADE— line 28UNIVERSAL_PARTICLES_SIMPLE_LIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 24 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesInput.hlsl— line 5 (Include)
<URP>/Shaders/Particles/ParticlesUnlit.shader
Macros
PARTICLES_EDITOR_META_PASS— line 235PARTICLES_EDITOR_META_PASS— line 280
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 118 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 164 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 208 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 252 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 297 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 116 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 117 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthNormalsPass.hlsl— line 213 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesDepthOnlyPass.hlsl— line 169 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 257 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesEditorPass.hlsl— line 302 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitForwardPass.hlsl— line 125 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitInput.hlsl— line 124 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitInput.hlsl— line 168 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitInput.hlsl— line 212 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitInput.hlsl— line 256 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesUnlitInput.hlsl— line 301 (IncludeWithPragmas)
<URP>/Shaders/Particles/ParticlesUnlitForwardPass.hlsl
Functions
half4 fragParticleUnlit(...)— line 138void InitializeInputData(...)— line 7void InitializeSurfaceData(...)— line 54VaryingsParticle vertParticleUnlit(...)— line 88
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 5 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Unlit.hlsl— line 4 (Include)
<URP>/Shaders/Particles/ParticlesUnlitInput.hlsl
Functions
half4 SampleAlbedo(...)— line 32half4 SampleAlbedo(...)— line 58
Macros
_BumpScale— line 30CAMERA_INV_FADE_DISTANCE— line 28CAMERA_NEAR_FADE— line 27SOFT_PARTICLE_INV_FADE_DISTANCE— line 25SOFT_PARTICLE_NEAR_FADE— line 24UNIVERSAL_PARTICLES_UNLIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Particles.hlsl— line 22 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Particles/ParticlesInput.hlsl— line 5 (Include)
<URP>/Shaders/PostProcessing/Bloom.shader
Functions
half3 DecodeHDR(...)— line 38half4 EncodeHDR(...)— line 29half4 FragBlurH(...)— line 120half4 FragBlurV(...)— line 144half4 FragDualDownsample(...)— line 204half4 FragDualUpsample(...)— line 221half4 FragKawase(...)— line 184half4 FragPrefilter(...)— line 67half4 FragUpsample(...)— line 177UNITY_BRANCH if(...)— line 73half3 SampleHDR(...)— line 49half3 SamplePrefilter(...)— line 55half3 Upsample(...)— line 164
Macros
ClampMax— line 19DualHalfScatter— line 27DualScatter— line 26KawaseDistance— line 24KawaseScatter— line 25Scatter— line 18Threshold— line 20ThresholdKnee— line 21
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 10 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 9 (Include)
<URP>/Shaders/PostProcessing/BokehDepthOfField.shader
Functions
void Accumulate(...)— line 126half4 FragBlur(...)— line 146half FragCoC(...)— line 32half4 FragComposite(...)— line 194half4 FragPostBlur(...)— line 179half4 FragPrefilter(...)— line 47
Macros
COC_LUMA_WEIGHTING— line 16FocusDist— line 27MaxCoC— line 28MaxRadius— line 29RcpAspect— line 30SAMPLE_COUNT— line 12
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 9 (Include)
<URP>/Shaders/PostProcessing/CameraMotionBlur.shader
Functions
half2 ClampVelocity(...)— line 55half4 DoMotionBlur(...)— line 100half4 FragCMB(...)— line 150half4 FragCMB(...)— line 164half4 FragCMB(...)— line 178half4 FragCMB(...)— line 192half4 FragCMB(...)— line 206half4 FragCMB(...)— line 220half4 GatherSample(...)— line 93half2 GetCameraVelocity(...)— line 69half2 GetVelocity(...)— line 61VaryingsCMB VertCMB(...)— line 36
Structs
VaryingsCMB— line 29
Macros
_PrevViewProjM— line 18_ViewProjM— line 17
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Random.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 12 (Include)
<URP>/Shaders/PostProcessing/Common.hlsl
Functions
half3 ApplyColorGrading(...)— line 113half3 ApplyDithering(...)— line 188half3 ApplyFXAA(...)— line 214half3 ApplyGrain(...)— line 169half3 ApplyTonemap(...)— line 101half3 ApplyVignette(...)— line 91real3 GetLinearToSRGB(...)— line 69real4 GetLinearToSRGB(...)— line 78half GetLuminance(...)— line 42real3 GetSRGBToLinear(...)— line 51real4 GetSRGBToLinear(...)— line 60
Macros
FXAA_GATHER4_ALPHA— line 33FXAA_GREEN_AS_LUMA— line 28FXAA_HLSL_5— line 32FXAA_PC— line 24FXAA_PC— line 26FXAA_PC_CONSOLE— line 34FXAA_QUALITY__PRESET— line 29UNIVERSAL_POSTPROCESSING_COMMON_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/FXAA3_11.hlsl— line 36 (Include)
<URP>/Shaders/PostProcessing/EdgeAdaptiveSpatialUpsampling.shader
Functions
half4 FragEASU(...)— line 16
Macros
FSR_INPUT_SAMPLER— line 12FSR_INPUT_TEXTURE— line 11
Includes
Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/FSRCommon.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 7 (Include)
<URP>/Shaders/PostProcessing/FinalPost.shader
Functions
half4 FragFinalPost(...)— line 61UNITY_BRANCH if(...)— line 129
Macros
DitheringOffset— line 44DitheringScale— line 43FSR_EASU_ONE_OVER_PAPER_WHITE— line 57FSR_INPUT_SAMPLER— line 53FSR_INPUT_TEXTURE— line 52GrainIntensity— line 38GrainOffset— line 41GrainResponse— line 39GrainScale— line 40HDR_INPUT— line 20MaxNits— line 47MinNits— line 46OneOverPaperWhite— line 49PaperWhite— line 48
Includes
Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/FSRCommon.hlsl— line 58 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 17 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 16 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 21 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ScreenCoordOverride.hlsl— line 18 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 23 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 24 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.universal/Shaders/XR/XRVisibilityMeshHelper.hlsl— line 185 (Include)Packages/com.unity.render-pipelines.universal/Shaders/XR/XRVisibilityMeshHelper.hlsl— line 218 (Include)
<URP>/Shaders/PostProcessing/FXAA3_11.hlsl
Functions
FxaaFloat FxaaLuma(...)— line 740FxaaFloat FxaaLuma(...)— line 754FxaaFloat4 FxaaPixelShader(...)— line 774FxaaFloat4 FxaaPixelShader(...)— line 1315float4 FxaaPixelShader(...)— line 1440half4 FxaaPixelShader(...)— line 1680half4 FxaaPixelShader(...)— line 1985
Structs
Macros
FXAA_360— line 67FXAA_360— line 222FXAA_360_OPT— line 226FXAA_CONSOLE__PS3_EDGE_SHARPNESS— line 371FXAA_CONSOLE__PS3_EDGE_SHARPNESS— line 374FXAA_CONSOLE__PS3_EDGE_SHARPNESS— line 377FXAA_CONSOLE__PS3_EDGE_THRESHOLD— line 399FXAA_CONSOLE__PS3_EDGE_THRESHOLD— line 401FXAA_DISCARD— line 311FXAA_EARLY_EXIT— line 299FXAA_FAST_PIXEL_OFFSET— line 322FXAA_FAST_PIXEL_OFFSET— line 325FXAA_FAST_PIXEL_OFFSET— line 328FXAA_FAST_PIXEL_OFFSET— line 331FXAA_GATHER4_ALPHA— line 341FXAA_GATHER4_ALPHA— line 344FXAA_GATHER4_ALPHA— line 347FXAA_GATHER4_ALPHA— line 350FXAA_GLSL_120— line 247FXAA_GLSL_130— line 251FXAA_GREEN_AS_LUMA— line 92FXAA_GREEN_AS_LUMA— line 133FXAA_GREEN_AS_LUMA— line 285FXAA_HLSL_3— line 255FXAA_HLSL_4— line 259FXAA_HLSL_5— line 62FXAA_HLSL_5— line 263FXAA_PC— line 61FXAA_PC— line 234FXAA_PC_CONSOLE— line 243FXAA_PS3— line 71FXAA_PS3— line 218FXAA_QUALITY__P0— line 446FXAA_QUALITY__P0— line 453FXAA_QUALITY__P0— line 461FXAA_QUALITY__P0— line 470FXAA_QUALITY__P0— line 480FXAA_QUALITY__P0— line 491FXAA_QUALITY__P0— line 506FXAA_QUALITY__P0— line 513FXAA_QUALITY__P0— line 521FXAA_QUALITY__P0— line 530FXAA_QUALITY__P0— line 540FXAA_QUALITY__P0— line 551FXAA_QUALITY__P0— line 563FXAA_QUALITY__P0— line 576FXAA_QUALITY__P0— line 590FXAA_QUALITY__P0— line 605FXAA_QUALITY__P0— line 624FXAA_QUALITY__P1— line 447FXAA_QUALITY__P1— line 454FXAA_QUALITY__P1— line 462FXAA_QUALITY__P1— line 471FXAA_QUALITY__P1— line 481FXAA_QUALITY__P1— line 492FXAA_QUALITY__P1— line 507FXAA_QUALITY__P1— line 514FXAA_QUALITY__P1— line 522FXAA_QUALITY__P1— line 531FXAA_QUALITY__P1— line 541FXAA_QUALITY__P1— line 552FXAA_QUALITY__P1— line 564FXAA_QUALITY__P1— line 577FXAA_QUALITY__P1— line 591FXAA_QUALITY__P1— line 606FXAA_QUALITY__P1— line 625FXAA_QUALITY__P10— line 600FXAA_QUALITY__P10— line 615FXAA_QUALITY__P10— line 634FXAA_QUALITY__P11— line 616FXAA_QUALITY__P11— line 635FXAA_QUALITY__P2— line 448FXAA_QUALITY__P2— line 455FXAA_QUALITY__P2— line 463FXAA_QUALITY__P2— line 472FXAA_QUALITY__P2— line 482FXAA_QUALITY__P2— line 493FXAA_QUALITY__P2— line 508FXAA_QUALITY__P2— line 515FXAA_QUALITY__P2— line 523FXAA_QUALITY__P2— line 532FXAA_QUALITY__P2— line 542FXAA_QUALITY__P2— line 553FXAA_QUALITY__P2— line 565FXAA_QUALITY__P2— line 578FXAA_QUALITY__P2— line 592FXAA_QUALITY__P2— line 607FXAA_QUALITY__P2— line 626FXAA_QUALITY__P3— line 456FXAA_QUALITY__P3— line 464FXAA_QUALITY__P3— line 473FXAA_QUALITY__P3— line 483FXAA_QUALITY__P3— line 494FXAA_QUALITY__P3— line 516FXAA_QUALITY__P3— line 524FXAA_QUALITY__P3— line 533FXAA_QUALITY__P3— line 543FXAA_QUALITY__P3— line 554FXAA_QUALITY__P3— line 566FXAA_QUALITY__P3— line 579FXAA_QUALITY__P3— line 593FXAA_QUALITY__P3— line 608FXAA_QUALITY__P3— line 627FXAA_QUALITY__P4— line 465FXAA_QUALITY__P4— line 474FXAA_QUALITY__P4— line 484FXAA_QUALITY__P4— line 495FXAA_QUALITY__P4— line 525FXAA_QUALITY__P4— line 534FXAA_QUALITY__P4— line 544FXAA_QUALITY__P4— line 555FXAA_QUALITY__P4— line 567FXAA_QUALITY__P4— line 580FXAA_QUALITY__P4— line 594FXAA_QUALITY__P4— line 609FXAA_QUALITY__P4— line 628FXAA_QUALITY__P5— line 475FXAA_QUALITY__P5— line 485FXAA_QUALITY__P5— line 496FXAA_QUALITY__P5— line 535FXAA_QUALITY__P5— line 545FXAA_QUALITY__P5— line 556FXAA_QUALITY__P5— line 568FXAA_QUALITY__P5— line 581FXAA_QUALITY__P5— line 595FXAA_QUALITY__P5— line 610FXAA_QUALITY__P5— line 629FXAA_QUALITY__P6— line 486FXAA_QUALITY__P6— line 497FXAA_QUALITY__P6— line 546FXAA_QUALITY__P6— line 557FXAA_QUALITY__P6— line 569FXAA_QUALITY__P6— line 582FXAA_QUALITY__P6— line 596FXAA_QUALITY__P6— line 611FXAA_QUALITY__P6— line 630FXAA_QUALITY__P7— line 498FXAA_QUALITY__P7— line 558FXAA_QUALITY__P7— line 570FXAA_QUALITY__P7— line 583FXAA_QUALITY__P7— line 597FXAA_QUALITY__P7— line 612FXAA_QUALITY__P7— line 631FXAA_QUALITY__P8— line 571FXAA_QUALITY__P8— line 584FXAA_QUALITY__P8— line 598FXAA_QUALITY__P8— line 613FXAA_QUALITY__P8— line 632FXAA_QUALITY__P9— line 585FXAA_QUALITY__P9— line 599FXAA_QUALITY__P9— line 614FXAA_QUALITY__P9— line 633FXAA_QUALITY__PRESET— line 63FXAA_QUALITY__PRESET— line 431FXAA_QUALITY__PRESET— line 1308FXAA_QUALITY__PRESET— line 1310FXAA_QUALITY__PS— line 445FXAA_QUALITY__PS— line 452FXAA_QUALITY__PS— line 460FXAA_QUALITY__PS— line 469FXAA_QUALITY__PS— line 479FXAA_QUALITY__PS— line 490FXAA_QUALITY__PS— line 505FXAA_QUALITY__PS— line 512FXAA_QUALITY__PS— line 520FXAA_QUALITY__PS— line 529FXAA_QUALITY__PS— line 539FXAA_QUALITY__PS— line 550FXAA_QUALITY__PS— line 562FXAA_QUALITY__PS— line 575FXAA_QUALITY__PS— line 589FXAA_QUALITY__PS— line 604FXAA_QUALITY__PS— line 623FxaaBool— line 646FxaaBool— line 660FxaaDiscard— line 647FxaaDiscard— line 661FxaaFloat— line 648FxaaFloat— line 662FxaaFloat2— line 649FxaaFloat2— line 663FxaaFloat3— line 650FxaaFloat3— line 664FxaaFloat4— line 651FxaaFloat4— line 665FxaaHalf— line 652FxaaHalf— line 666FxaaHalf2— line 653FxaaHalf2— line 667FxaaHalf3— line 654FxaaHalf3— line 668FxaaHalf4— line 655FxaaHalf4— line 669FxaaInt2— line 656FxaaInt2— line 708FxaaInt2— line 715FxaaInt2— line 722FxaaSat— line 657FxaaSat— line 670FxaaTex— line 658FxaaTex— line 709FxaaTexAlpha4— line 687FxaaTexAlpha4— line 700FxaaTexGreen4— line 689FxaaTexGreen4— line 702FxaaTexOff— line 681FxaaTexOff— line 683FxaaTexOff— line 697FxaaTexOff— line 711FxaaTexOff— line 718FxaaTexOff— line 725FxaaTexOffAlpha4— line 688FxaaTexOffAlpha4— line 701FxaaTexOffGreen4— line 690FxaaTexOffGreen4— line 703FxaaTexTop— line 679FxaaTexTop— line 696FxaaTexTop— line 710FxaaTexTop— line 717FxaaTexTop— line 724lumaE— line 960lumaN— line 964lumaNW— line 963lumaS— line 961lumaSE— line 962lumaW— line 965
Includes
Fxaa3_11.h— line 78 (Include)
<URP>/Shaders/PostProcessing/GaussianDepthOfField.shader
Functions
half4 Blur(...)— line 139half4 FragBlurH(...)— line 178half4 FragBlurV(...)— line 183half FragCoC(...)— line 64half4 FragComposite(...)— line 188PrefilterOutput FragPrefilter(...)— line 81
Structs
PrefilterOutput— line 75
Macros
BLUR_KERNEL— line 26FarEnd— line 23FarStart— line 22MaxRadius— line 24
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 10 (Include)
<URP>/Shaders/PostProcessing/LensFlareDataDriven.shader
Macros
FLARE_ADDITIVE_BLEND— line 38FLARE_COMPUTE_OCCLUSION— line 174FLARE_LERP_BLEND— line 149FLARE_PREMULTIPLIED_BLEND— line 112FLARE_SCREEN_BLEND— line 75
Includes
Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl— line 39 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl— line 76 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl— line 113 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl— line 150 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl— line 175 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 31 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 68 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 105 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 142 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 171 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 33 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 70 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 107 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 144 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 34 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 71 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 108 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 145 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 172 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 35 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 72 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 109 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 146 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 36 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 73 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 110 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 147 (Include)
<URP>/Shaders/PostProcessing/LensFlareScreenSpace.shader
Macros
URP_LENS_FLARE_SCREEN_SPACE— line 30URP_LENS_FLARE_SCREEN_SPACE— line 60URP_LENS_FLARE_SCREEN_SPACE— line 90URP_LENS_FLARE_SCREEN_SPACE— line 120URP_LENS_FLARE_SCREEN_SPACE— line 151
Includes
Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareScreenSpaceCommon.hlsl— line 32 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareScreenSpaceCommon.hlsl— line 62 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareScreenSpaceCommon.hlsl— line 92 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareScreenSpaceCommon.hlsl— line 122 (Include)Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareScreenSpaceCommon.hlsl— line 153 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 23 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 53 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 83 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 113 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 144 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 55 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 85 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 115 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 146 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 26 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 56 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 86 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 116 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 147 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 27 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 57 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 87 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 117 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityInput.hlsl— line 148 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 28 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 58 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 88 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 118 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 149 (Include)
<URP>/Shaders/PostProcessing/LutBuilderHdr.shader
Functions
float3 ColorGrade(...)— line 71float EvaluateCurve(...)— line 50float4 FragLutBuilderHdr(...)— line 223float3 ProcessColorForHDR(...)— line 206float3 RotateToColorGradeOutputSpace(...)— line 56float3 Tonemap(...)— line 189
Macros
HueShift— line 48MaxNits— line 45MinNits— line 44PaperWhite— line 46RangeReductionMode— line 47
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/ACES.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 8 (Include)
<URP>/Shaders/PostProcessing/LutBuilderLdr.shader
Functions
half EvaluateCurve(...)— line 35half4 FragLutBuilderLdr(...)— line 41
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 5 (Include)
<URP>/Shaders/PostProcessing/PaniniProjection.shader
Functions
half4 FragPaniniProjection(...)— line 95float2 Panini_Generic(...)— line 55float2 Panini_UnitDistance(...)— line 13
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)
<URP>/Shaders/PostProcessing/ScalingSetup.shader
Functions
half4 FragScalingSetup(...)— line 23
Macros
_GAMMA_20— line 9HDR_INPUT— line 10OneOverPaperWhite— line 21PaperWhite— line 20
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 13 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 16 (Include)
<URP>/Shaders/PostProcessing/StopNaN.shader
Functions
half4 FragStopNaN(...)— line 11
Macros
NAN_COLOR— line 9
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)
<URP>/Shaders/PostProcessing/SubpixelMorphologicalAntialiasing.hlsl
Functions
float2 SMAAArea(...)— line 1114float2 SMAAAreaDiag(...)— line 921float4 SMAABlendingWeightCalculationPS(...)— line 1169void SMAABlendingWeightCalculationVS(...)— line 668float2 SMAACalculateDiagWeights(...)— line 940float2 SMAACalculatePredicatedThreshold(...)— line 628float2 SMAAColorEdgeDetectionPS(...)— line 765float2 SMAADecodeDiagBilinearAccess(...)— line 857float4 SMAADecodeDiagBilinearAccess(...)— line 875float2 SMAADepthEdgeDetectionPS(...)— line 836void SMAADetectHorizontalCornerPattern(...)— line 1131void SMAADetectVerticalCornerPattern(...)— line 1148void SMAAEdgeDetectionVS(...)— line 658float3 SMAAGatherNeighbours(...)— line 612float2 SMAALumaEdgeDetectionPS(...)— line 702void SMAAMovc(...)— line 640void SMAAMovc(...)— line 645float4 SMAANeighborhoodBlendingPS(...)— line 1298void SMAANeighborhoodBlendingVS(...)— line 686float2 SMAAReproject(...)— line 1278float4 SMAAResolvePS(...)— line 1370float2 SMAASearchDiag1(...)— line 883float2 SMAASearchDiag2(...)— line 895float SMAASearchLength(...)— line 1020float SMAASearchXLeft(...)— line 1042float SMAASearchXRight(...)— line 1074float SMAASearchYDown(...)— line 1098float SMAASearchYUp(...)— line 1086void SMAASeparatePS(...)— line 1428
Macros
bool2— line 597bool3— line 598bool4— line 599float2— line 591float3— line 592float4— line 593int2— line 594int3— line 595int4— line 596lerp— line 583mad— line 586mad— line 589saturate— line 584SMAA_AREATEX_MAX_DISTANCE— line 529SMAA_AREATEX_MAX_DISTANCE_DIAG— line 530SMAA_AREATEX_PIXEL_SIZE— line 531SMAA_AREATEX_SELECT— line 512SMAA_AREATEX_SELECT— line 514SMAA_AREATEX_SUBTEX_SIZE— line 532SMAA_BRANCH— line 552SMAA_BRANCH— line 568SMAA_BRANCH— line 582SMAA_CORNER_ROUNDING— line 318SMAA_CORNER_ROUNDING— line 323SMAA_CORNER_ROUNDING— line 392SMAA_CORNER_ROUNDING_NORM— line 535SMAA_DECODE_VELOCITY— line 523SMAA_DEPTH_THRESHOLD— line 351SMAA_DISABLE_CORNER_DETECTION— line 308SMAA_DISABLE_CORNER_DETECTION— line 313SMAA_DISABLE_DIAG_DETECTION— line 307SMAA_DISABLE_DIAG_DETECTION— line 312SMAA_FLATTEN— line 551SMAA_FLATTEN— line 567SMAA_FLATTEN— line 581SMAA_INCLUDE_PS— line 504SMAA_INCLUDE_VS— line 501SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR— line 404SMAA_MAX_SEARCH_STEPS— line 306SMAA_MAX_SEARCH_STEPS— line 311SMAA_MAX_SEARCH_STEPS— line 316SMAA_MAX_SEARCH_STEPS— line 321SMAA_MAX_SEARCH_STEPS— line 365SMAA_MAX_SEARCH_STEPS_DIAG— line 317SMAA_MAX_SEARCH_STEPS_DIAG— line 322SMAA_MAX_SEARCH_STEPS_DIAG— line 381SMAA_PREDICATION— line 422SMAA_PREDICATION_SCALE— line 442SMAA_PREDICATION_STRENGTH— line 451SMAA_PREDICATION_THRESHOLD— line 432SMAA_REPROJECTION— line 466SMAA_REPROJECTION_WEIGHT_SCALE— line 493SMAA_SEARCHTEX_PACKED_SIZE— line 534SMAA_SEARCHTEX_SELECT— line 519SMAA_SEARCHTEX_SIZE— line 533SMAA_THRESHOLD— line 305SMAA_THRESHOLD— line 310SMAA_THRESHOLD— line 315SMAA_THRESHOLD— line 320SMAA_THRESHOLD— line 342SMAA_UV_BASED_REPROJECTION— line 478SMAAGather— line 587SMAALoad— line 570SMAASample— line 546SMAASample— line 564SMAASample— line 578SMAASampleLevelZero— line 543SMAASampleLevelZero— line 560SMAASampleLevelZero— line 575SMAASampleLevelZeroNoRescale— line 561SMAASampleLevelZeroOffset— line 545SMAASampleLevelZeroOffset— line 563SMAASampleLevelZeroOffset— line 577SMAASampleLevelZeroPoint— line 544SMAASampleLevelZeroPoint— line 562SMAASampleLevelZeroPoint— line 576SMAASampleOffset— line 548SMAASampleOffset— line 566SMAASampleOffset— line 580SMAASamplePoint— line 547SMAASamplePoint— line 565SMAASamplePoint— line 579SMAATexture2D— line 541SMAATexture2D— line 557SMAATexture2D— line 573SMAATexture2D_Non_Array— line 558SMAATexture2DMS2— line 569SMAATexturePass2D— line 542SMAATexturePass2D— line 559SMAATexturePass2D— line 574
<URP>/Shaders/PostProcessing/SubpixelMorphologicalAntialiasing.shader
Macros
USE_FULL_PRECISION_BLIT_TEXTURE— line 51
Includes
SubpixelMorphologicalAntialiasingBridge.hlsl— line 32 (Include)SubpixelMorphologicalAntialiasingBridge.hlsl— line 54 (Include)SubpixelMorphologicalAntialiasingBridge.hlsl— line 66 (Include)
<URP>/Shaders/PostProcessing/SubpixelMorphologicalAntialiasingBridge.hlsl
Functions
float4 FragBlend(...)— line 99float4 FragEdge(...)— line 65float4 FragNeighbor(...)— line 132VaryingsBlend VertBlend(...)— line 83VaryingsEdge VertEdge(...)— line 49VaryingsNeighbor VertNeighbor(...)— line 116
Structs
VaryingsBlend— line 74VaryingsEdge— line 41VaryingsNeighbor— line 108
Macros
GAMMA_FOR_EDGE_DETECTION— line 31GAMMA_FOR_EDGE_DETECTION— line 33LinearSampler— line 27PointSampler— line 28SMAA_AREATEX_SELECT— line 25SMAA_HLSL_4_1— line 8SMAA_PRESET_HIGH— line 15SMAA_PRESET_LOW— line 11SMAA_PRESET_MEDIUM— line 13SMAA_RT_METRICS— line 24SMAA_SEARCHTEX_SELECT— line 26UNIVERSAL_POSTPROCESSING_SMAA_BRIDGE— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/SubpixelMorphologicalAntialiasing.hlsl— line 36 (Include)
<URP>/Shaders/PostProcessing/TemporalAA.hlsl
Functions
void AdjustBestDepthOffset(...)— line 46void AdjustColorBox(...)— line 156half4 ApplyHistoryColorLerp(...)— line 165half4 ClipToAABBCenter(...)— line 233half4 DoCopy(...)— line 376half4 DoTemporalAA(...)— line 285half4 FilterColor(...)— line 251float GetLuma(...)— line 62half2 GetVelocityWithOffset(...)— line 39half4 LinearToPostFxSpace(...)— line 112float PerceptualInvWeight(...)— line 81float4 PerceptualToWorking(...)— line 96float PerceptualWeight(...)— line 72half4 PostFxSpaceToLinear(...)— line 102half4 SampleBicubic5TapHalf(...)— line 179half4 SampleColorLinear(...)— line 151half4 SampleColorPoint(...)— line 146half4 SceneToWorkingSpace(...)— line 123half4 WorkingSpaceToScene(...)— line 134float4 WorkingToPerceptual(...)— line 90
Macros
TAA_GAMMA_SPACE_POST— line 15TAA_GAMMA_SPACE_POST— line 17TAA_PERCEPTUAL_SPACE— line 22TAA_YCOCG— line 10UNIVERSAL_TEMPORAL_AA— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 6 (Include)
<URP>/Shaders/PostProcessing/TemporalAA.shader
Functions
half4 TaaFrag(...)— line 27half4 TaaFrag(...)— line 44half4 TaaFrag(...)— line 59half4 TaaFrag(...)— line 74half4 TaaFrag(...)— line 91half4 TaaFrag(...)— line 112
Macros
Includes
Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 42 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 57 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 72 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 89 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/TemporalAA.hlsl— line 110 (Include)
<URP>/Shaders/PostProcessing/UberPost.shader
Functions
float2 DistortUV(...)— line 122half4 FragUberPost(...)— line 149UNITY_BRANCH if(...)— line 189UNITY_BRANCH if(...)— line 280
Macros
AlphaBias— line 115AlphaScale— line 114BLOOM— line 40BLOOM_DIRT— line 42BloomIntensity— line 84BloomTint— line 85ChromaAmount— line 82DistAxis— line 76DistCenter— line 75DistIntensity— line 80DistScale— line 79DistSigma— line 78DistTheta— line 77DitheringOffset— line 112DitheringScale— line 111GrainIntensity— line 106GrainOffset— line 109GrainResponse— line 107GrainScale— line 108HDR_INPUT— line 21LensDirtIntensity— line 88LensDirtOffset— line 87LensDirtScale— line 86LutParams— line 101MaxNits— line 118MinNits— line 117OneOverPaperWhite— line 120PaperWhite— line 119PostExposure— line 102UserLutContribution— line 104UserLutParams— line 103VignetteCenter— line 95VignetteCenterEye0— line 92VignetteCenterEye1— line 93VignetteColor— line 90VignetteIntensity— line 97VignetteRoundness— line 99VignetteSmoothness— line 98
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 28 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 24 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScalingClamping.hlsl— line 35 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 36 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 13 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 29 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ScreenCoordOverride.hlsl— line 26 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 32 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 34 (Include)Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl— line 33 (Include)Packages/com.unity.render-pipelines.universal/Shaders/XR/XRVisibilityMeshHelper.hlsl— line 351 (Include)
<URP>/Shaders/ShadowCasterPass.hlsl
Functions
float4 GetShadowPositionHClip(...)— line 33half4 ShadowPassFragment(...)— line 63Varyings ShadowPassVertex(...)— line 49
Structs
Attributes— line 16Varyings— line 24
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 5 (Include)
<URP>/Shaders/SimpleLit.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 467BUMP_SCALE_NOT_SUPPORTED— line 141BUMP_SCALE_NOT_SUPPORTED— line 268
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 117 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 137 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 185 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 264 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 311 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 358 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 118 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 444 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 469 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 119 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 242 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 120 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 243 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 353 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 316 (Include)Packages/com.unity.render-pipelines.universal/Shaders/ShadowCasterPass.hlsl— line 193 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitDepthNormalsPass.hlsl— line 363 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitForwardPass.hlsl— line 146 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitGBufferPass.hlsl— line 273 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 145 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 192 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 272 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 315 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 362 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 396 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 427 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 443 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 468 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitMetaPass.hlsl— line 397 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/Universal2D.hlsl— line 428 (Include)
<URP>/Shaders/SimpleLitDepthNormalsPass.hlsl
Functions
void DepthNormalsFragment(...)— line 71Varyings DepthNormalsVertex(...)— line 44
Structs
Attributes— line 13Varyings— line 22
Macros
REQUIRES_UV_INTERPOLATOR— line 10UNIVERSAL_SIMPLE_LIT_DEPTH_NORMALS_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/SimpleLitForwardPass.hlsl
Functions
void InitializeBakedGIData(...)— line 115void InitializeInputData(...)— line 59void LitPassFragmentSimple(...)— line 192Varyings LitPassVertexSimple(...)— line 141
Structs
Attributes— line 9Varyings— line 20
Macros
UNIVERSAL_SIMPLE_LIT_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/SimpleLitGBufferPass.hlsl
Functions
void InitializeBakedGIData(...)— line 111void InitializeInputData(...)— line 59GBufferFragOutput LitPassFragmentSimple(...)— line 180Varyings LitPassVertexSimple(...)— line 137
Structs
Attributes— line 12Varyings— line 23
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 7 (Include)
<URP>/Shaders/SimpleLitInput.hlsl
Functions
void InitializeSimpleLitSurfaceData(...)— line 72half4 SampleSpecularSmoothness(...)— line 56void SetupDOTSSimpleLitMaterialPropertyCaches(...)— line 34
Macros
_BaseColor— line 46_Cutoff— line 49_EmissionColor— line 48_SpecColor— line 47_Surface— line 50UNITY_SETUP_DOTS_MATERIAL_PROPERTY_CACHES— line 44UNIVERSAL_SIMPLE_LIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 5 (Include)
<URP>/Shaders/SimpleLitMetaPass.hlsl
Functions
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/UniversalMetaPass.hlsl— line 4 (Include)
<URP>/Shaders/SpatialMappingOcclusion.shader
Functions
half4 frag(...)— line 55Varyings vert(...)— line 41
Structs
Attributes— line 27Varyings— line 33
Includes
UnlitInput.hlsl— line 25 (Include)
<URP>/Shaders/SpatialMappingWireframe.shader
Functions
half4 frag(...)— line 112void geom(...)— line 70v2g vert(...)— line 47
Structs
Attributes— line 34g2f— line 61v2g— line 40
Includes
UnlitInput.hlsl— line 30 (Include)
<URP>/Shaders/Terrain/TerrainDetailLit.shader
Functions
GBufferFragOutput Frag(...)— line 162Varyings Vert(...)— line 117
Structs
Attributes— line 92Varyings— line 102
Macros
SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 48
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 32 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 85 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 33 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 87 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 86 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 41 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 81 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 217 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitInput.hlsl— line 255 (Include)Packages/com.unity.render-pipelines.universal/Shaders/SimpleLitMetaPass.hlsl— line 256 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLitInput.hlsl— line 51 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainDetailLitPasses.hlsl— line 52 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitDepthNormalsPass.hlsl— line 238 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 237 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 216 (Include)
<URP>/Shaders/Terrain/TerrainDetailLitInput.hlsl
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 2 (Include)
<URP>/Shaders/Terrain/TerrainDetailLitPasses.hlsl
Functions
void InitializeInputData(...)— line 37void InitializeSurfaceData(...)— line 81half4 TerrainLitForwardFragment(...)— line 189GBufferFragOutput TerrainLitGBufferFragment(...)— line 203Varyings TerrainLitVertex(...)— line 133half4 UniversalTerrainLit(...)— line 97half4 UniversalTerrainLit(...)— line 125
Structs
Attributes— line 7Varyings— line 17
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 2 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 3 (Include)
<URP>/Shaders/Terrain/TerrainLit.shader
Macros
_METALLICSPECGLOSSMAP— line 63_METALLICSPECGLOSSMAP— line 157_METALLICSPECGLOSSMAP— line 286_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 64_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 158_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 287SCENESELECTIONPASS— line 265SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 106SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 197TERRAIN_GBUFFER— line 194
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 83 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 84 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 93 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 183 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 85 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 171 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 241 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitDepthNormalsPass.hlsl— line 247 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 109 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 137 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 200 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 222 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 246 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 266 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 289 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitMetaPass.hlsl— line 290 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 110 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 138 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 201 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 223 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 267 (Include)
<URP>/Shaders/Terrain/TerrainLitAdd.shader
Macros
SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 97TERRAIN_GBUFFER— line 165TERRAIN_SPLAT_ADDPASS— line 94TERRAIN_SPLAT_ADDPASS— line 164
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 75 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 76 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 84 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 152 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 142 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 100 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 167 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 101 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 168 (Include)
<URP>/Shaders/Terrain/TerrainLitBase.shader
Macros
_METALLICSPECGLOSSMAP— line 36_METALLICSPECGLOSSMAP— line 123_METALLICSPECGLOSSMAP— line 225_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 37_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 124_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 226SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 77TERRAIN_GBUFFER— line 159TERRAIN_SPLAT_BASEPASS— line 74TERRAIN_SPLAT_BASEPASS— line 158
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 54 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 55 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 134 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitDepthNormalsPass.hlsl— line 206 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 80 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 102 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 161 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 183 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 205 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitInput.hlsl— line 228 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitMetaPass.hlsl— line 229 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 81 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 103 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 162 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 184 (Include)
<URP>/Shaders/Terrain/TerrainLitBasemapGen.shader
Functions
half4 Frag(...)— line 81half4 Frag(...)— line 161Varyings Vert(...)— line 63Varyings Vert(...)— line 145
Macros
_METALLICSPECGLOSSMAP— line 35_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A— line 36_TERRAIN_BASEMAP_GEN— line 37
Includes
TerrainLitInput.hlsl— line 42 (Include)TerrainLitPasses.hlsl— line 43 (Include)
<URP>/Shaders/Terrain/TerrainLitDepthNormalsPass.hlsl
Functions
void DepthNormalOnlyFragment(...)— line 70VaryingsDepthNormal DepthNormalOnlyVertex(...)— line 35
Structs
AttributesDepthNormal— line 7VaryingsDepthNormal— line 15
Macros
Includes
Packages/com.unity.render-pipelines.universal/Shaders/Terrain/TerrainLitPasses.hlsl— line 4 (Include)
<URP>/Shaders/Terrain/TerrainLitInput.hlsl
Functions
void ClipHoles(...)— line 94void InitializeStandardLitSurfaceData(...)— line 125half4 SampleMetallicSpecGloss(...)— line 117float SampleTerrainHolesTexture(...)— line 89void TerrainInstancing(...)— line 143void TerrainInstancing(...)— line 164void TerrainInstancing(...)— line 170
Macros
_Surface— line 22ENABLE_TERRAIN_PERPIXEL_NORMAL— line 72SampleLayerAlbedo— line 103SampleLayerMasks— line 112SampleLayerMasks— line 114SampleLayerNormal— line 106SampleLayerNormal— line 108UNIVERSAL_TERRAIN_LIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 6 (Include)
<URP>/Shaders/Terrain/TerrainLitMetaPass.hlsl
Functions
half4 TerrainFragmentMeta(...)— line 17Varyings TerrainVertexMeta(...)— line 6
Macros
_BaseMap_ST— line 3TERRAIN_LIT_META_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/Shaders/LitMetaPass.hlsl— line 4 (Include)
<URP>/Shaders/Terrain/TerrainLitPasses.hlsl
Functions
void ComputeMasks(...)— line 360half4 DepthOnlyFragment(...)— line 578VaryingsLean DepthOnlyVertex(...)— line 567void HeightBasedSplatModify(...)— line 220void InitializeBakedGIData(...)— line 118void InitializeInputData(...)— line 58void NormalMapMix(...)— line 147void SetupTerrainDebugTextureData(...)— line 259half4 ShadowPassFragment(...)— line 557VaryingsLean ShadowPassVertex(...)— line 527void SplatmapFinalColor(...)— line 244void SplatmapMix(...)— line 167Varyings SplatmapVert(...)— line 301
Structs
Attributes— line 9AttributesLean— line 512Varyings— line 17VaryingsLean— line 520
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 5 (Include)
<URP>/Shaders/Terrain/TerrainTextureNode.hlsl
Macros
UNITY_TERRAIN_PREVIEW_TEXTURE— line 2
<URP>/Shaders/Terrain/WavingGrass.shader
Macros
_ALPHATEST_ON— line 62_ALPHATEST_ON— line 118_ALPHATEST_ON— line 144_ALPHATEST_ON— line 177SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 65TERRAIN_GBUFFER— line 119
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 43 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 98 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 44 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 45 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl— line 99 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 100 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 173 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassDepthNormalsPass.hlsl— line 189 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 68 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 121 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 151 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 188 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 69 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 122 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 152 (Include)
<URP>/Shaders/Terrain/WavingGrassBillboard.shader
Macros
_ALPHATEST_ON— line 56_ALPHATEST_ON— line 102_ALPHATEST_ON— line 127_ALPHATEST_ON— line 155SKIP_SHADOWS_LIGHT_INDEX_CHECK— line 59TERRAIN_GBUFFER— line 103
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 39 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 89 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 40 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassDepthNormalsPass.hlsl— line 163 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 62 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 105 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 134 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassInput.hlsl— line 162 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 63 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 106 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Terrain/WavingGrassPasses.hlsl— line 135 (Include)
<URP>/Shaders/Terrain/WavingGrassDepthNormalsPass.hlsl
Functions
GrassVertexDepthNormalOutput DepthNormalOnlyBillboardVertex(...)— line 46half4 DepthNormalOnlyFragment(...)— line 68GrassVertexDepthNormalOutput DepthNormalOnlyVertex(...)— line 25
Structs
GrassVertexDepthNormalInput— line 4GrassVertexDepthNormalOutput— line 14
Macros
<URP>/Shaders/Terrain/WavingGrassInput.hlsl
Functions
void FastSinCos(...)— line 38void TerrainBillboardGrass(...)— line 107half4 TerrainWaveGrass(...)— line 62
Macros
_Surface— line 17UNIVERSAL_WAVING_GRASS_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 5 (Include)
<URP>/Shaders/Terrain/WavingGrassPasses.hlsl
Functions
GrassVertexDepthOnlyOutput DepthOnlyBillboardVertex(...)— line 282half4 DepthOnlyFragment(...)— line 300GrassVertexDepthOnlyOutput DepthOnlyVertex(...)— line 265void InitializeInputData(...)— line 45void InitializeSimpleLitSurfaceData(...)— line 193void InitializeVertData(...)— line 113void InitializeVertData(...)— line 257GrassVertexOutput WavingGrassBillboardVert(...)— line 176GrassVertexOutput WavingGrassVert(...)— line 159
Structs
GrassVertexDepthOnlyInput— line 239GrassVertexDepthOnlyOutput— line 248GrassVertexInput— line 8GrassVertexOutput— line 19
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderVariablesFunctions.hlsl— line 6 (Include)
<URP>/Shaders/Unlit.shader
Macros
APPLICATION_SPACE_WARP_MOTION— line 295
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 84 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 136 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 177 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 219 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 79 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 272 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl— line 297 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 78 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 131 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RenderingLayers.hlsl— line 214 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/DepthOnlyPass.hlsl— line 182 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitDepthNormalsPass.hlsl— line 224 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitForwardPass.hlsl— line 89 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitGBufferPass.hlsl— line 141 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 88 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 140 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 181 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 223 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 255 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 271 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitInput.hlsl— line 296 (Include)Packages/com.unity.render-pipelines.universal/Shaders/UnlitMetaPass.hlsl— line 256 (Include)
<URP>/Shaders/UnlitDepthNormalsPass.hlsl
Functions
void DepthNormalsFragment(...)— line 48Varyings DepthNormalsVertex(...)— line 30
Structs
Attributes— line 9Varyings— line 18
Macros
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 6 (Include)
<URP>/Shaders/UnlitForwardPass.hlsl
Functions
void InitializeInputData(...)— line 40void UnlitPassFragment(...)— line 96Varyings UnlitPassVertex(...)— line 62
Structs
Attributes— line 11Varyings— line 24
Macros
URP_UNLIT_FORWARD_PASS_INCLUDED— line 3
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Unlit.hlsl— line 5 (Include)
<URP>/Shaders/UnlitGBufferPass.hlsl
Functions
void InitializeInputData(...)— line 29GBufferFragOutput UnlitPassFragment(...)— line 64Varyings UnlitPassVertex(...)— line 45
Structs
Attributes— line 10Varyings— line 19
Macros
URP_UNLIT_GBUFFER_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferOutput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/LODCrossFade.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Unlit.hlsl— line 4 (Include)
<URP>/Shaders/UnlitInput.hlsl
Functions
Macros
_BaseColor— line 37_Cutoff— line 38_Surface— line 39UNITY_SETUP_DOTS_MATERIAL_PROPERTY_CACHES— line 35UNIVERSAL_UNLIT_INPUT_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DebugMipmapStreamingMacros.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SurfaceInput.hlsl— line 4 (Include)
<URP>/Shaders/UnlitMetaPass.hlsl
Functions
Macros
UNIVERSAL_UNLIT_META_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/UniversalMetaPass.hlsl— line 4 (Include)
<URP>/Shaders/Utils/Blit.shader
Functions
half4 Fragment(...)— line 29
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 23 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 25 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 22 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 24 (Include)
<URP>/Shaders/Utils/BlitHDROverlay.shader
Functions
float4 FragBlitHDR(...)— line 41half4 FragmentURPBlitBilinearSampler(...)— line 88half4 FragmentURPBlitHDR(...)— line 56half4 FragmentURPBlitPointSampler(...)— line 106float4 SceneComposition(...)— line 28
Macros
MaxNits— line 25MinNits— line 24PaperWhite— line 26
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 17 (Include)
<URP>/Shaders/Utils/ClusterDeferred.hlsl
Functions
half3 DeferredLightContribution(...)— line 51half4 DeferredShadingClustered(...)— line 86UNITY_LOOP for(...)— line 175UNITY_BRANCH if(...)— line 95UNITY_BRANCH if(...)— line 107UNITY_BRANCH if(...)— line 138UNITY_BRANCH if(...)— line 167UNITY_BRANCH if(...)— line 180Varyings VertexFullScreen(...)— line 26
Structs
Attributes— line 11Varyings— line 18
Macros
UNIVERSAL_CLUSTER_DEFERRED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScaling.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferInput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 6 (Include)
<URP>/Shaders/Utils/ClusterDeferred.shader
Macros
_CLUSTER_LIGHT_LOOP— line 55_CLUSTER_LIGHT_LOOP— line 118_FOG— line 170_LIT— line 56_SIMPLELIT— line 119
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 71 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 134 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 175 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 176 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Utils/ClusterDeferred.hlsl— line 75 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/ClusterDeferred.hlsl— line 138 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/FogDeferred.hlsl— line 180 (Include)
<URP>/Shaders/Utils/CopyDepth.shader
Includes
Packages/com.unity.render-pipelines.universal/Shaders/Utils/CopyDepthPass.hlsl— line 22 (Include)
<URP>/Shaders/Utils/CopyDepthPass.hlsl
Functions
float SampleDepth(...)— line 45
Macros
DEPTH_DEFAULT_VALUE— line 38DEPTH_DEFAULT_VALUE— line 41DEPTH_OP— line 39DEPTH_OP— line 42DEPTH_TEXTURE— line 19DEPTH_TEXTURE— line 24DEPTH_TEXTURE_MS— line 18DEPTH_TEXTURE_MS— line 23LOAD— line 20LOAD— line 25MSAA_SAMPLES— line 8MSAA_SAMPLES— line 10MSAA_SAMPLES— line 12MSAA_SAMPLES— line 14SAMPLE— line 21SAMPLE— line 26UNIVERSAL_COPY_DEPTH_PASS_INCLUDED— line 2
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)
<URP>/Shaders/Utils/CoreBlit.shader
Functions
half4 FragmentURPBlit(...)— line 17half4 FragmentURPBlitBilinearSampler(...)— line 339half4 FragmentURPBlitPointSampler(...)— line 358
Macros
WITH_ALPHA_BLEND— line 161WITH_ALPHA_BLEND— line 174WITH_ALPHA_BLEND— line 187WITH_ALPHA_BLEND— line 200WITH_ALPHA_BLEND— line 213
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 9 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 13 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebuggingFullscreen.hlsl— line 11 (Include)
<URP>/Shaders/Utils/CoreBlitColorAndDepth.shader
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/BlitColorAndDepth.hlsl— line 8 (IncludeWithPragmas)
<URP>/Shaders/Utils/FallbackError.shader
Functions
float4 frag(...)— line 58v2f vert(...)— line 49
Structs
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 34 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 30 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 35 (Include)
<URP>/Shaders/Utils/FallbackLoading.shader
Functions
float4 frag(...)— line 59v2f vert(...)— line 50
Structs
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 35 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 31 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 36 (Include)
<URP>/Shaders/Utils/FogDeferred.hlsl
Functions
half4 Frag(...)— line 36Varyings Vertex(...)— line 22
Structs
Attributes— line 8Varyings— line 15
Macros
UNIVERSAL_FOG_DEFERRED— line 4
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferInput.hlsl— line 6 (Include)
<URP>/Shaders/Utils/MaterialError.shader
Functions
float4 frag(...)— line 53v2f vert(...)— line 44
Structs
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 31 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl— line 27 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl— line 32 (Include)
<URP>/Shaders/Utils/Sampling.shader
Functions
half4 FragBoxDownsample(...)— line 27
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 21 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 20 (Include)
<URP>/Shaders/Utils/ScreenSpaceAmbientOcclusion.shader
Functions
half4 FragBilateralAfterOpaque(...)— line 108half4 FragGaussianAfterOpaque(...)— line 165half4 FragKawaseAfterOpaque(...)— line 209
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 42 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 59 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 72 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 85 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 105 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 129 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 142 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 162 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 186 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 206 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 6 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 43 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 60 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 73 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 86 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 106 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 130 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 143 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 163 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 187 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/SSAO.hlsl— line 207 (Include)
<URP>/Shaders/Utils/ScreenSpaceShadows.shader
Functions
half4 Fragment(...)— line 19
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 15 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl— line 10 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl— line 11 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/ImageBasedLighting.hlsl— line 12 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 14 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl— line 17 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 16 (Include)
<URP>/Shaders/Utils/StencilDeferred.hlsl
Functions
half4 DeferredShading(...)— line 246half4 FragSSAOOnly(...)— line 335half4 FragWhite(...)— line 94Light GetStencilLight(...)— line 169[flatten] if(...)— line 45UNITY_BRANCH if(...)— line 255UNITY_BRANCH if(...)— line 273half4 SampleAdditionalLightCookieDeferred(...)— line 146Light UnityLightFromPunctualLightDataAndWorldSpacePosition(...)— line 113Varyings Vertex(...)— line 31
Structs
Attributes— line 10PunctualLightData— line 101Varyings— line 17
Macros
UNIVERSAL_STENCIL_DEFERRED— line 2
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/DynamicScaling.hlsl— line 8 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/GBufferInput.hlsl— line 5 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl— line 7 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl— line 6 (Include)
<URP>/Shaders/Utils/StencilDeferred.shader
Macros
_DIRECTIONAL— line 252_DIRECTIONAL— line 318_FOG— line 371_LIT— line 124_LIT— line 251_SIMPLELIT— line 188_SIMPLELIT— line 317_SSAO_ONLY— line 416
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 75 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 139 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 203 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 269 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 335 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 376 (IncludeWithPragmas)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 422 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Fog.hlsl— line 377 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/Utils/FogDeferred.hlsl— line 381 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 79 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 143 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 207 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 273 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 339 (Include)Packages/com.unity.render-pipelines.universal/Shaders/Utils/StencilDeferred.hlsl— line 426 (Include)
<URP>/Shaders/Utils/StencilDitherMaskSeed.shader
Functions
void Pixel(...)— line 48
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 44 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 43 (Include)
<URP>/Shaders/Utils/Universal2D.hlsl
Functions
half4 frag(...)— line 32Varyings vert(...)— line 18
Structs
Attributes— line 4Varyings— line 11
Macros
UNIVERSAL_FALLBACK_2D_INCLUDED— line 2
<URP>/Shaders/XR/XRMirrorView.hlsl
Functions
float4 FragBilinear(...)— line 48UNITY_BRANCH if(...)— line 55Varyings VertQuad(...)— line 32
Structs
Attributes— line 21Varyings— line 26
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl— line 2 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRendering.hlsl— line 3 (Include)Packages/com.unity.render-pipelines.core/ShaderLibrary/HDROutput.hlsl— line 4 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 1 (Include)
<URP>/Shaders/XR/XRMirrorView.shader
Macros
SRC_TEXTURE2D_X_ARRAY— line 23SRC_TEXTURE2D_X_ARRAY— line 25
Includes
Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl— line 27 (IncludeWithPragmas)Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl— line 28 (Include)
<URP>/Shaders/XR/XRMotionVector.shader
Functions
half4 Frag(...)— line 81Varyings Vert(...)— line 59
Structs
Attributes— line 43Varyings— line 49
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 35 (Include)
<URP>/Shaders/XR/XROcclusionMesh.shader
Functions
float4 Frag(...)— line 48Varyings Vert(...)— line 31
Structs
Attributes— line 17Varyings— line 22
Macros
USE_XR_OCCLUSION_MESH_COMBINED_MULTIVIEW— line 11USE_XR_OCCLUSION_MESH_COMBINED_RT_ARRAY_INDEX— line 13
Includes
Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 4 (Include)
<URP>/Shaders/XR/XRVisibilityMeshHelper.hlsl
Functions
Varyings VertVisibilityMeshXR(...)— line 11
Structs
AttributesXR— line 5
Includes
Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl— line 2 (Include)Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl— line 3 (Include)
NOTE: 자동 생성 파일입니다. 최종 판단은 로컬 URP/Core 소스를 기준으로 하세요.