浏览代码

Fix ShaderBuild

/scriptablerenderloop-materialgraph
Paul Demeulenaere 8 年前
当前提交
ade88088
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Material/Lit/LitData.template
  2. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Material/Lit/LitShare.template

2
Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Material/Lit/LitData.template


struct FragInput
{
float4 positionHS;
float4 unPositionSS;
float3 positionWS;
float2 meshUV0;
float2 meshUV1;

2
Assets/ScriptableRenderLoop/HDRenderLoop/Shaders/Material/Lit/LitShare.template


FragInput output;
ZERO_INITIALIZE(FragInput, output);
output.positionHS = input.positionHS;
output.unPositionSS = input.positionHS;
output.positionWS.xyz = input.interpolators[0].xyz;
output.tangentToWorld[0] = input.interpolators[1].xyz;
output.tangentToWorld[1] = input.interpolators[2].xyz;

正在加载...
取消
保存