浏览代码

Rename a variable to avoid a reserved name error on PS4

/RenderPassXR_Sandbox
Evgenii Golubev 7 年前
当前提交
22366909
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/SubsurfaceScattering.compute

6
Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/SubsurfaceScattering.compute


xy2 = r * r;
}
float4 sample = LoadSample(position, cacheAnchor);
float3 irradiance = sample.rgb;
float linearDepth = sample.a;
float4 textureSample = LoadSample(position, cacheAnchor);
float3 irradiance = textureSample.rgb;
float linearDepth = textureSample.a;
// Check the results of the stencil test.
[flatten] if (linearDepth > 0)

正在加载...
取消
保存