您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
GitHub
80d748f5
Add light linking support ( #1758 )
* HDRP: Add support of light layering for forward (first draft)
TODO:
- Test instancing
- Check perf
- add an option to disable light layer support + in frameSettings
- add deferred rendering support (mean add an optional extra GBuffer)
* Add LightLinking support (version 1 - compile)
This PR add support of LightLayers feature.
To use it, setup mask renderingLayers on renderers and LightLayers on a lights. If a logical and of both give a non 0 value, the light is apply, otherwise it isn't.
This mean that by default LightLayers is 1 and RenderingLayers is 1. Then user can say LightLayers is only 2 and it will only affect renderingLayers with 2 or 3 mask value.
LightLayers require an extra GBuffer in deferred, mean it have extra bandwidth and memory cost.
LightLayers once enabled in HDRPAsset with SupportLightLayers can be control by FrameSettings. Mean a camera can enable extra RT only for an in game cinematic.
This PR refactor...
6 年前
..
ClusteredUtils.hlsl
Run code formatter.
7 年前
ClusteredUtils.hlsl.meta
HDRenderLoop: Merge FTPL Build Light List part (tile, bigtile, cluster..)
8 年前
Deferred.compute
Add light linking support (#1758)
6 年前
Deferred.compute.meta
reintroduced compute shader version of light evaluation code
8 年前
GlobalLightLoopSettings.cs
Run code formatter.
7 年前
GlobalLightLoopSettings.cs.meta
First draft
7 年前
LightCullUtils.hlsl
Run code formatter.
7 年前
LightCullUtils.hlsl.meta
Create LightCullUtils.hlsl to manage light index generation
7 年前
LightLoop.cs
Add light linking support (#1758)
6 年前
LightLoop.cs.hlsl
Run code formatter.
7 年前
LightLoop.cs.hlsl.meta
HDRenderLoop: Reorganize LightLoop pass, move code into SinglePass.cs
8 年前
LightLoop.cs.meta
HDRenderLoop: Push starter that doesn't compile
8 年前
LightLoop.hlsl
Add light linking support (#1758)
6 年前
LightLoop.hlsl.meta
HDRenderLoop: Merge FPTL - start light application
8 年前
LightLoopDef.hlsl
Refactor of constant buffers in HDRP
6 年前
LightLoopDef.hlsl.meta
HDRenderLoop: Merge FPTL - start light application
8 年前
LightLoopSettings.cs
- Frame Settings debug panel now uses foldouts
6 年前
LightLoopSettings.cs.meta
First draft
7 年前
LightingConvexHullUtils.hlsl
Run code formatter.
7 年前
LightingConvexHullUtils.hlsl.meta
HDRenderLoop: Reorganize LightLoop pass, move code into SinglePass.cs
8 年前
ShaderBase.hlsl
Define REVERSE_ZBUF for Switch platform (Revisited)
7 年前
ShaderBase.hlsl.meta
HDRenderLoop: Merge FTPL Build Light List part (tile, bigtile, cluster..)
8 年前
ShaderVariablesLightLoop.hlsl
Refactor of constant buffers in HDRP
6 年前
ShaderVariablesLightLoop.hlsl.meta
Refactor of constant buffers in HDRP
6 年前
Shadow.hlsl
Run code formatter.
7 年前
Shadow.hlsl.meta
Re-factor Shadow.hlsl in core such that the user of the library is including things instead. This is required for package usage, as Core package cannot depend on anything outside itself.
7 年前
ShadowContext.hlsl
Run code formatter.
7 年前
ShadowContext.hlsl.meta
Re-factor Shadow.hlsl in core such that the user of the library is including things instead. This is required for package usage, as Core package cannot depend on anything outside itself.
7 年前
SortingComputeUtils.hlsl
Refactor math constant defines
7 年前
SortingComputeUtils.hlsl.meta
HDRenderLoop: Reorganize LightLoop pass, move code into SinglePass.cs
8 年前
builddispatchindirect.compute
Run code formatter.
7 年前
builddispatchindirect.compute.meta
Moved material classification to separate pass
8 年前
cleardispatchindirect.compute
Only initialize indirect buffer to size
6 年前
cleardispatchindirect.compute.meta
Fixed UI for Tile Debug Modes
8 年前
lightlistbuild-bigtile.compute
Run code formatter.
7 年前
lightlistbuild-bigtile.compute.meta
HDRenderLoop: Merge FTPL Build Light List part (tile, bigtile, cluster..)
8 年前
lightlistbuild-clustered.compute
Run code formatter.
7 年前
lightlistbuild-clustered.compute.meta
HDRenderLoop: Merge FTPL Build Light List part (tile, bigtile, cluster..)
8 年前
lightlistbuild.compute
Run code formatter.
7 年前
lightlistbuild.compute.meta
HDRenderLoop: Intermediate state
8 年前
materialflags.compute
Run code formatter.
7 年前
materialflags.compute.meta
Moved material classification to separate pass
8 年前
scrbound.compute
Run code formatter.
7 年前
scrbound.compute.meta
HDRenderLoop: Intermediate state
8 年前