浏览代码

Merge branch 'volumetrics' of https://github.com/EvgeniiG/ScriptableRenderLoop into volumetrics

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
a98ff7da
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/Lighting/Volumetrics/Resources/VolumetricLighting.compute

2
ScriptableRenderPipeline/HDRenderPipeline/Lighting/Volumetrics/Resources/VolumetricLighting.compute


// Store the feedback for a unit interval.
// TODO: store a non-constant confidence value.
_VBufferLightingFeedback[uint3(posInput.positionSS, slice)] = float4(blendedRadiance / dt, 1);
_VBufferLightingFeedback[uint3(posInput.positionSS, slice)] = float4(blendedRadiance * rcp(dt), 1);
#else
float3 blendedRadiance = voxelRadiance;
#endif

正在加载...
取消
保存