浏览代码

Merge pull request #146 from Unity-Technologies/metal

fix metal pipeline creation error
/Branch_Batching2
GitHub 8 年前
当前提交
59a63dc6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Assets/ScriptableRenderLoop/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader

4
Assets/ScriptableRenderLoop/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader


return output;
}
float3 Frag(Varyings input) : SV_Target
float4 Frag(Varyings input) : SV_Target
{
PositionInputs posInput = GetPositionInput(input.positionCS.xy, _ScreenSize.zw);

totalWeight += sampleWeight;
}
return totalIrradiance / totalWeight;
return float4(totalIrradiance / totalWeight, 1.0);
}
ENDHLSL
}

正在加载...
取消
保存