浏览代码

Move #include "LightEvaluation.hlsl" back to Lit.hlsl

/namespace
Evgenii Golubev 7 年前
当前提交
d643613c
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Lit.hlsl
  2. 4
      ScriptableRenderPipeline/HDRenderPipeline/Material/Material.hlsl

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


return intensity * bsdfData.transmittance;
}
#include "../../Lighting/LightEvaluation.hlsl"
//-----------------------------------------------------------------------------
// EvaluateBSDF_Directional
//-----------------------------------------------------------------------------

4
ScriptableRenderPipeline/HDRenderPipeline/Material/Material.hlsl


#include "Builtin/BuiltinData.hlsl"
#if defined(LIGHTLOOP_SINGLE_PASS) || defined(LIGHTLOOP_TILE_PASS)
#include "../Lighting/LightEvaluation.hlsl" // Depends on LightLoopDef and BuiltinData, shared by different materials and light loops
#endif
//-----------------------------------------------------------------------------
// Material definition
//-----------------------------------------------------------------------------

正在加载...
取消
保存