vault backup: 2025-01-20 22:14:30
This commit is contained in:
parent
66c3f7f0b2
commit
57265a28d5
@ -196,4 +196,20 @@ void AddPostProcessingPasses()
|
||||
## PostProcessCombineLUTs.usf
|
||||
相关变量更新函数位于FCachedLUTSettings::GetCombineLUTParameters()
|
||||
|
||||
## PostProcessTonemap.usf
|
||||
## PostProcessTonemap.usf
|
||||
|
||||
## 实现方法
|
||||
|
||||
```c++
|
||||
//BlueRose Modify
|
||||
FGBufferData SamplerBuffer = GetGBufferData(UV * View.ResolutionFractionAndInv.x, false);
|
||||
if (SamplerBuffer.CustomStencil > 1.0f && abs(SamplerBuffer.CustomDepth - SamplerBuffer.Depth) < 1)
|
||||
{
|
||||
// OutColor = SampleSceneColor(UV);
|
||||
OutColor = TonemapCommonPS(UV, InVignette, GrainUV, ScreenPos, FullViewUV, SvPosition, Luminance);
|
||||
}else
|
||||
{
|
||||
OutColor = TonemapCommonPS(UV, InVignette, GrainUV, ScreenPos, FullViewUV, SvPosition, Luminance);
|
||||
}
|
||||
//BlueRose Modify End
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user