浏览代码

HDRenderPipeline: Fix a type with F_Transm_Schlick not calling the correct function

/RenderPassXR_Sandbox
Sebastien Lagarde 8 年前
当前提交
15436506
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/ShaderLibrary/BSDF.hlsl

2
Assets/ScriptableRenderPipeline/ShaderLibrary/BSDF.hlsl


float F_Transm_Schlick(float f0, float u)
{
return F_Schlick(f0, 1.0, u); // sub mul mul mul sub mad
return F_Transm_Schlick(f0, 1.0, u); // sub mul mul mul sub mad
}
float3 F_Schlick(float3 f0, float f90, float u)

正在加载...
取消
保存