浏览代码

HDRenderLoop: Disable line area light that cause black point (Nan ?) on all objects

/main
Sebastien Lagarde 8 年前
当前提交
aa503023
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 4
      Assets/ScriptableRenderLoop/HDRenderLoop/Material/Lit/Lit.hlsl

4
Assets/ScriptableRenderLoop/HDRenderLoop/Material/Lit/Lit.hlsl


#else
if (lightData.lightType == GPULIGHTTYPE_LINE)
{
EvaluateBSDF_Line(lightLoopContext, V, positionWS, preLightData, lightData, bsdfData, diffuseLighting, specularLighting);
diffuseLighting = float3(0.0, 0.0, 0.0);
specularLighting = float3(0.0, 0.0, 0.0);
// EvaluateBSDF_Line(lightLoopContext, V, positionWS, preLightData, lightData, bsdfData, diffuseLighting, specularLighting);
return;
}

正在加载...
取消
保存