book/generated/urp-17.3.0/code/CORE/ShaderLibrary/CommonLighting.hlsl.md

Shader Viewer - <CORE>/ShaderLibrary/CommonLighting.hlsl

Unity urp-17.3.0 Shader/HLSL Code Viewer

Shader Code Viewer: <CORE>/ShaderLibrary/CommonLighting.hlsl

Symbol Index

Kind Name Line Jump
Macro UNITY_COMMON_LIGHTING_INCLUDED 2 go
Function MapCubeToSphere 19 go
Function ComputeCubeToSphereMapSqMagnitude 27 go
Function ComputeCubemapTexelSolidAngle 39 go
Function ComputeCubemapTexelSolidAngle 56 go
Function ConvertEvToLuminance 62 go
Function ConvertLuminanceToEv 67 go
Function DistanceWindowing 82 go
Function SmoothDistanceWindowing 93 go
Macro PUNCTUAL_LIGHT_THRESHOLD 99 go
Function SmoothWindowedDistanceAttenuation 102 go
Function AngleAttenuation 112 go
Function SmoothAngleAttenuation 117 go
Function PunctualLightAttenuation 125 go
Function CapsuleWindowing 145 go
Function PillowWindowing 169 go
Function EllipsoidalDistanceAttenuation 195 go
Function EllipsoidalDistanceAttenuation 213 go
Function BoxDistanceAttenuation 228 go
Function GetIESTextureCoordinate 250 go
Function GetHorizonOcclusion 270 go
Function GetSpecularOcclusionFromAmbientOcclusion 280 go
Function GTAOMultiBounce 287 go
Function SphericalCapIntersectionSolidArea 299 go
Function if 311 go
Function GetSpecularOcclusionFromBentAO_ConeCone 331 go
Function GetSpecularOcclusionFromBentAO 342 go
Function ComputeWrappedDiffuseLighting 377 go
Function ComputeWrappedNormal 383 go
Function ComputeWrappedPowerDiffuseLighting 393 go
Function ComputeMicroShadowing 399 go
Function ComputeShadowColor 406 go
Function ComputeShadowColor 422 go
Function ClampNdotV 442 go
Function GetBSDFAngle 449 go
Function GetViewReflectedNormal 462 go
Function GetLocalFrame 501 go
Function GetLocalFrame 522 go
Function GetOrthoBasisViewNormal 531 go
Function IsMatchingLightLayer 550 go

Shader Code Viewer

JavaScript가 비활성화된 경우 인터랙션 기능(정의 이동/참조/hover/outline)은 동작하지 않습니다.