Commit ef31d07
[POI-817] SSAO to use a single UnsafePass (RenderGraph optimization) + Adding a Game Camera helper + Adding a SetKeyword overload
* Optimize RenderGraph CPU cost by converting Screen Space Ambient Occlusion (SSAO) from many RasterPasses into a single UnsafePass.
* Adds a `isGameCamera` to UniversalCameraData (Already had one for scene and preview cameras)
* Adds an overload for SetKeyword in CoreUtils that accepts LocalKeyword.
[POI-817](https://jira.unity3d.com/browse/POI-817)
[GFXRPF-172](https://jira.unity3d.com/browse/GFXRPF-172)1 parent 2c07076 commit ef31d07
3 files changed
Lines changed: 221 additions & 348 deletions
File tree
- Packages
- com.unity.render-pipelines.core/Runtime/Utilities
- com.unity.render-pipelines.universal/Runtime
- FrameData
- Passes
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1172 | 1187 | | |
1173 | 1188 | | |
1174 | 1189 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| |||
0 commit comments