Commit Graph

12 Commits

Author SHA1 Message Date
Charles deRousiers
c98a240ba9 Fix shader compilation warning.
#rb none
#jira UE-164924
#preflight shader
#fyi krzysztof.narkowicz, andrew.lauritzen

[CL 22451574 by Charles deRousiers in ue5-main branch]
2022-10-11 02:41:13 -04:00
Tiantian Xie
8d83c73e68 Add comments to avoid the ambiguous conversion between LinearRGB and Lab space in shader.
#fyi Rod.Bogart
#rb none
#preflight 62aa4144102b5101ccd6d9b7

[CL 20676813 by Tiantian Xie in ue5-main branch]
2022-06-15 16:51:51 -04:00
Tiantian Xie
7a07d9353e Add experimental temporal denoising for offline path tracing that is spatially denoised. It gives a final touch to mitigate the temporal instability while preserving fine details.
Basic algorithm:

Estimate the pixel correspondences (motion vectors) to the previous frame where their local patches match the best using non-local means. Then history is combined with the current frame with a temporal low pass filter (exponential moving average & temporal bilaterial filtering). To better control the parameters, we use perception error DeltaE2000. Pixel difference larger than 10 dE is rejected for detail preserving.

How to enable:

Add `r.PathTracing.TemporalDenoiser 1` in MRQ console variables when path tracing denoising is enabled in postprocess volume.


#jira UE-136319
#rb chris.kulla
#preflight 62aa28dca40a4dc3a0412e2f

[CL 20675469 by Tiantian Xie in ue5-main branch]
2022-06-15 15:25:49 -04:00
Tiantian Xie
4b3cdf4d42 Fix the conversion between LinearRGB and Lab space.
#preflight 62a20904c12a722b4f01b9b8
#rb sebastien.hillaire

[CL 20594583 by Tiantian Xie in ue5-main branch]
2022-06-10 09:42:34 -04:00
Sebastien Hillaire
83a63bb68f Strata F90 moved from HSV to YCoCg. conversion code is roughly 4 time less instructions.
#rb none
#fyi charles.derousiers

[CL 16439995 by Sebastien Hillaire in ue5-main branch]
2021-05-24 16:23:51 -04:00
Sebastien Hillaire
a96862d63a Added non metalness workflow to strata slab node.
- Reworked the packing of slab node to make eveyrhting fit. At the core level, diffuse, F0 and F90 are colored.
- Diffuse and F0 are stored as R7G7B6 to not bloatthe per pixel byte cost. They are dithered to hide the bit count without any loss of quality.
- F90 is stored as chroma+saturation because with force value=1 (HSV space) because this component need to be a high value anyway.
- Fixed related element: material conversion, vizualisation, classification, etc.

Next: implement energy conservation.

#rb Charles.deRousiers

[CL 16239606 by Sebastien Hillaire in ue5-main branch]
2021-05-07 16:06:16 -04:00
Sebastien Hillaire
e6f6990636 Made color<->HSV space conversion common.
#rb charles.derousiers

[CL 16219292 by Sebastien Hillaire in ue5-main branch]
2021-05-06 06:49:09 -04:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00
Guillaume Abadie
ae69fa8ef6 Implements generic denoised signal sample transformation for color spaces.
#rb none

[CL 4767811 by Guillaume Abadie in Dev-Rendering branch]
2019-01-21 22:07:38 -05:00
Guillaume Abadie
d71a07ec49 Fixes various bugs with reflection's temporal accumulations.
#rb none

[CL 4696413 by Guillaume Abadie in Dev-Rendering branch]
2019-01-09 18:04:06 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00