浏览代码

Small bugfix

/RenderPassXR_Sandbox
GitHub 8 年前
当前提交
def8d068
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader

2
Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader


float3 ComputeBilateralWeight(float3 S, float r, float t, float rcpDistScale, float rcpPdf)
{
#if (SSS_BILATERAL == 0)
float t = 0;
t = 0;
#endif
// Reducing the integration distance is equivalent to stretching the integration axis.
float3 valX = KernelValCircle(sqrt(r * r + t * t) * rcpDistScale, S);

正在加载...
取消
保存