浏览代码

Switch back to the regular alpha blending

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
523323d4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.hlsl
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/OpaqueAtmosphericScattering.shader

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.hlsl


return float4(0.0, 0.0, 0.0, 0.0);
}
return float4(fogColor * fogFactor, fogFactor); // Premultiplied alpha
return float4(fogColor, fogFactor); // Premultiplied alpha
}

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/OpaqueAtmosphericScattering.shader


Cull Off
ZTest Always
ZWrite Off
Blend One OneMinusSrcAlpha // Premultiplied Alpha
Blend SrcAlpha OneMinusSrcAlpha
HLSLPROGRAM
#pragma target 4.5

正在加载...
取消
保存