浏览代码

Merge pull request #1798 from Unity-Technologies/HDRP/apply-dimmer-to-transmission

Hdrp/apply shadow dimmer of punctual light to transmission
/main
GitHub 6 年前
当前提交
f0a21554
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      com.unity.render-pipelines.high-definition/HDRP/Lighting/LightEvaluation.hlsl

2
com.unity.render-pipelines.high-definition/HDRP/Lighting/LightEvaluation.hlsl


// Note: we do not modify the distance to the light, or the light angle for the back face.
// This is a performance-saving optimization which makes sense as long as the thickness is small.
}
transmittance = lerp( bsdfData.transmittance, transmittance, lightData.shadowDimmer);
}
return transmittance;

正在加载...
取消
保存