Commit c868170
authored
Volumetric Lighting: fix lighting volume when light direction changes (#17516)
I also removed the **buildFullVolume** property (at least from the
public interface), as there's no point to have it at the time being
(maybe we will need it when cascaded shadow generators are supported,
that's why I didn't remove it completely).1 parent 9ed69db commit c868170Copy full SHA for c868170
File tree
Expand file treeCollapse file tree
4 files changed
+41
-88
lines changedOpen diff view settings
Filter options
- packages
- dev/core/src
- FrameGraph
- Node/Blocks
- Tasks/PostProcesses
- Lights
- tools/tests/test/visualization/ReferenceImages
Expand file treeCollapse file tree
4 files changed
+41
-88
lines changedOpen diff view settings
Collapse file
packages/dev/core/src/FrameGraph/Node/Blocks/lightingVolumeBlock.ts
Copy file name to clipboardExpand all lines: packages/dev/core/src/FrameGraph/Node/Blocks/lightingVolumeBlock.ts-13Lines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | 59 | |
70 | 60 | |
71 | 61 | |
| ||
100 | 90 | |
101 | 91 | |
102 | 92 | |
103 | | - |
104 | 93 | |
105 | 94 | |
106 | 95 | |
107 | 96 | |
108 | 97 | |
109 | 98 | |
110 | 99 | |
111 | | - |
112 | 100 | |
113 | 101 | |
114 | 102 | |
115 | 103 | |
116 | 104 | |
117 | 105 | |
118 | 106 | |
119 | | - |
120 | 107 | |
121 | 108 | |
122 | 109 | |
|
Collapse file
packages/dev/core/src/FrameGraph/Tasks/PostProcesses/volumetricLightingTask.ts
Copy file name to clipboardExpand all lines: packages/dev/core/src/FrameGraph/Tasks/PostProcesses/volumetricLightingTask.ts+3-43Lines changed: 3 additions & 43 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
166 | 166 | |
167 | 167 | |
168 | 168 | |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | 169 | |
175 | 170 | |
176 | 171 | |
| ||
212 | 207 | |
213 | 208 | |
214 | 209 | |
215 | | - |
216 | | - |
217 | | - |
218 | 210 | |
219 | 211 | |
| 212 | + |
| 213 | + |
220 | 214 | |
221 | | - |
| 215 | + |
222 | 216 | |
223 | 217 | |
224 | 218 | |
| ||
238 | 232 | |
239 | 233 | |
240 | 234 | |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | 235 | |
254 | 236 | |
255 | 237 | |
256 | 238 | |
257 | 239 | |
258 | | - |
259 | 240 | |
260 | 241 | |
261 | 242 | |
262 | | - |
263 | 243 | |
264 | 244 | |
265 | 245 | |
266 | 246 | |
267 | 247 | |
268 | 248 | |
269 | 249 | |
270 | | - |
271 | 250 | |
272 | 251 | |
273 | 252 | |
274 | 253 | |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
294 | 254 | |
295 | 255 | |
296 | 256 | |
|
Collapse file
packages/dev/core/src/Lights/lightingVolume.ts
Copy file name to clipboardExpand all lines: packages/dev/core/src/Lights/lightingVolume.ts+38-32Lines changed: 38 additions & 32 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| ||
35 | 36 | |
36 | 37 | |
37 | 38 | |
| 39 | + |
38 | 40 | |
39 | 41 | |
40 | 42 | |
| ||
76 | 78 | |
77 | 79 | |
78 | 80 | |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
| 81 | + |
100 | 82 | |
101 | 83 | |
102 | 84 | |
| ||
184 | 166 | |
185 | 167 | |
186 | 168 | |
187 | | - |
| 169 | + |
188 | 170 | |
189 | 171 | |
190 | 172 | |
| ||
215 | 197 | |
216 | 198 | |
217 | 199 | |
| 200 | + |
| 201 | + |
218 | 202 | |
219 | 203 | |
220 | 204 | |
| ||
254 | 238 | |
255 | 239 | |
256 | 240 | |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
257 | 248 | |
258 | 249 | |
259 | 250 | |
| ||
362 | 353 | |
363 | 354 | |
364 | 355 | |
| 356 | + |
| 357 | + |
365 | 358 | |
366 | 359 | |
367 | 360 | |
| ||
395 | 388 | |
396 | 389 | |
397 | 390 | |
398 | | - |
| 391 | + |
399 | 392 | |
400 | 393 | |
401 | 394 | |
| ||
423 | 416 | |
424 | 417 | |
425 | 418 | |
| 419 | + |
| 420 | + |
426 | 421 | |
427 | 422 | |
428 | 423 | |
| ||
436 | 431 | |
437 | 432 | |
438 | 433 | |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | 434 | |
444 | 435 | |
| 436 | + |
| 437 | + |
445 | 438 | |
446 | 439 | |
447 | 440 | |
| ||
455 | 448 | |
456 | 449 | |
457 | 450 | |
458 | | - |
459 | | - |
460 | 451 | |
461 | 452 | |
| 453 | + |
| 454 | + |
462 | 455 | |
463 | 456 | |
464 | 457 | |
| ||
474 | 467 | |
475 | 468 | |
476 | 469 | |
| 470 | + |
| 471 | + |
477 | 472 | |
478 | 473 | |
479 | 474 | |
| ||
494 | 489 | |
495 | 490 | |
496 | 491 | |
497 | | - |
498 | | - |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
499 | 505 | |
500 | 506 | |
501 | 507 | |
| ||
554 | 560 | |
555 | 561 | |
556 | 562 | |
557 | | - |
| 563 | + |
558 | 564 | |
559 | 565 | |
560 | 566 | |
|
Collapse file
packages/tools/tests/test/visualization/ReferenceImages/Lighting-Volume.png
Copy file name to clipboard-13.6 KB- Display the source diff
- Display the rich diff
Loading
0 commit comments