浏览代码

Update comment

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
9ad0328e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/Core/ShaderLibrary/VolumeRendering.hlsl

2
ScriptableRenderPipeline/Core/ShaderLibrary/VolumeRendering.hlsl


float w = ComputeLerpPositionForLogEncoding(z, d, VBufferScaleAndSliceCount, VBufferDepthEncodingParams);
float2 weights[2], offsets[2];
BiquadraticFilter(1 - fc, weights, offsets); // Reflect the filter around 0.5
BiquadraticFilter(1 - fc, weights, offsets); // Inverse-translate the filter centered around 0.5
float2 rcpRes = VBufferResolution.zw;

正在加载...
取消
保存