浏览代码

fix metal pipeline creation error about "fragment shader color output does not have enough component for the pixel format"

/Branch_Batching2
Antti Tapaninen 8 年前
当前提交
ec00ad07
共有 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
}

正在加载...
取消
保存