Shader Code Viewer: <URP>/ShaderLibrary/RealtimeLights.hlsl
- Generated on: 2026-02-19
- URP version: "17.3.0"
- Core version: "17.3.0"
- Line count: 300
- File index: code/index.md
- Functions index: symbols/functions.md
- Structs index: symbols/structs.md
- Macros index: symbols/macros.md
- Includes index: symbols/includes.md
- Lit 키 심볼 xref: xref/lit-key-symbols.md
Symbol Index
| Kind | Name | Line | Jump |
|---|---|---|---|
| Macro | UNIVERSAL_REALTIME_LIGHTS_INCLUDED |
3 | go |
| Include | Packages/com.unity.render-pipelines.universal/ShaderLibrary/AmbientOcclusion.hlsl |
5 | go |
| Include | Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl |
6 | go |
| Include | Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl |
7 | go |
| Include | Packages/com.unity.render-pipelines.universal/ShaderLibrary/LightCookie/LightCookie.hlsl |
8 | go |
| Include | Packages/com.unity.render-pipelines.universal/ShaderLibrary/Clustering.hlsl |
9 | go |
| Struct | Light |
12 | go |
| Macro | CLUSTER_LIGHT_LOOP_SUBTRACTIVE_LIGHT_CHECK |
22 | go |
| Macro | CLUSTER_LIGHT_LOOP_SUBTRACTIVE_LIGHT_CHECK |
24 | go |
| Macro | LIGHT_LOOP_BEGIN |
28 | go |
| Function | while |
31 | go |
| Macro | LIGHT_LOOP_END |
34 | go |
| Macro | LIGHT_LOOP_BEGIN |
36 | go |
| Macro | LIGHT_LOOP_END |
38 | go |
| Function | DistanceAttenuation |
47 | go |
| Function | AngleAttenuation |
62 | go |
| Function | GetMainLight |
81 | go |
| Function | GetMainLight |
102 | go |
| Function | GetMainLight |
109 | go |
| Function | GetMainLight |
122 | go |
| Function | GetAdditionalPerObjectLight |
137 | go |
| Function | GetPerObjectLightIndexOffset |
173 | go |
| Function | GetPerObjectLightIndex |
184 | go |
| Function | GetAdditionalLight |
224 | go |
| Function | GetAdditionalLight |
234 | go |
| Function | GetAdditionalLight |
257 | go |
| Function | GetAdditionalLightsCount |
271 | go |
| Function | CalculateShadowMask |
284 | go |
Shader Code Viewer
If JavaScript is disabled, interactive features (go to definition/references/hover/outline) are unavailable.