Remove disabling temporal reprojection from Volumetric Fog

This commit is contained in:
Wojciech Figat
2022-06-14 16:56:53 +02:00
parent 0729ffdafe
commit fc96620045
3 changed files with 11 additions and 44 deletions

View File

@@ -81,9 +81,9 @@ private:
// Shader stuff
AssetReference<Shader> _shader;
GPUShaderProgramCS* _csInitialize = nullptr;
ComputeShaderPermutation<2> _csLightScattering;
ComputeShaderPermutation<1> _csLightScattering;
GPUShaderProgramCS* _csFinalIntegration = nullptr;
GPUPipelineStatePermutationsPs<4> _psInjectLight;
GPUPipelineStatePermutationsPs<2> _psInjectLight;
GPUBuffer* _vbCircleRasterize = nullptr;
GPUBuffer* _ibCircleRasterize = nullptr;
@@ -108,11 +108,6 @@ private:
/// </summary>
bool FogJitter;
/// <summary>
/// Whether to use temporal reprojection on volumetric fog.
/// </summary>
bool TemporalReprojection;
/// <summary>
/// How much the history value should be weighted each frame. This is a tradeoff between visible jittering and responsiveness.
/// </summary>