book/generated/urp-17.3.0/code/URP/ShaderLibrary/Lighting.hlsl.md

Shader Viewer - <URP>/ShaderLibrary/Lighting.hlsl

Unity urp-17.3.0 Shader/HLSL Code Viewer

Shader Code Viewer: <URP>/ShaderLibrary/Lighting.hlsl

Symbol Index

Kind Name Line Jump
Macro UNIVERSAL_LIGHTING_INCLUDED 2 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/BRDF.hlsl 4 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/Debugging3D.hlsl 5 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/GlobalIllumination.hlsl 6 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl 7 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/AmbientOcclusion.hlsl 8 go
Include Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl 9 go
Macro DECLARE_LIGHTMAP_OR_SH 12 go
Macro OUTPUT_LIGHTMAP_UV 13 go
Macro OUTPUT_SH4 14 go
Macro OUTPUT_SH 15 go
Macro DECLARE_LIGHTMAP_OR_SH 17 go
Macro OUTPUT_LIGHTMAP_UV 18 go
Macro OUTPUT_SH4 20 go
Macro OUTPUT_SH4 22 go
Macro OUTPUT_SH 26 go
Function LightingLambert 32 go
Function LightingSpecular 38 go
Function LightingPhysicallyBased 48 go
Function if 58 go
Function LightingPhysicallyBased 83 go
Function LightingPhysicallyBased 89 go
Function LightingPhysicallyBased 100 go
Function LightingPhysicallyBased 110 go
Function LightingPhysicallyBased 116 go
Function VertexLighting 126 go
Struct LightingData 151 go
Function CalculateLightingColor 160 go
Function CalculateFinalColor 199 go
Function CalculateFinalColor 206 go
Function CreateLightingData 242 go
Function CalculateBlinnPhong 255 go
Function UniversalFragmentPBR 282 go
Function for 332 go
Function UniversalFragmentPBR 376 go
Function UniversalFragmentBlinnPhong 398 go
Function for 430 go
Function UniversalFragmentBlinnPhong 463 go
Function UniversalFragmentBakedLit 484 go
Function UniversalFragmentBakedLit 507 go

Shader Code Viewer

If JavaScript is disabled, interactive features (go to definition/references/hover/outline) are unavailable.