浏览代码

fixed: mip to use for SSReflection

/main
Frédéric Vauchelles 7 年前
当前提交
99a24ef5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/Lit.hlsl

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


{
rayOriginWS = posInput.positionWS;
rayDirWS = preLightData.iblR;
mipLevel = preLightData.transparentSSMipLevel;
mipLevel = PerceptualRoughnessToMipmapLevel(preLightData.iblPerceptualRoughness);
invScreenWeightDistance = _SSReflectionInvScreenWeightDistance;
#if DEBUG_DISPLAY
debugMode = DEBUGLIGHTINGMODE_SCREEN_SPACE_TRACING_REFLECTION;

正在加载...
取消
保存