浏览代码

Fix bug with transmission

/iridesence
Sebastien Lagarde 7 年前
当前提交
556fd07b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/Lit.hlsl

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/Lit.hlsl


if (HasMaterialFeatureFlag(bsdfData.materialFeatures, MATERIALFEATUREFLAGS_LIT_TRANSMISSION))
{
FillMaterialTransmission(inGBuffer0.g, bsdfData);
FillMaterialTransmission(inGBuffer2.g, bsdfData);
}
}

正在加载...
取消
保存