2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 06:27:43 +00:00

More D3D fixes

This commit is contained in:
Jack Andersen
2018-10-22 15:31:00 -10:00
parent 45fb8db388
commit a2da358fd3
2 changed files with 6 additions and 6 deletions

View File

@@ -145,7 +145,7 @@ static std::string_view MainPostHLSL =
" break;\n"
" }\n"
"#ifdef BLEND_DST_ONE\n"
" return float4(lerp(colorIn, float4(0.0), saturate(fogZ)).rgb, colorIn.a);\n"
" return float4(lerp(colorIn, float4(0.0, 0.0, 0.0, 0.0), saturate(fogZ)).rgb, colorIn.a);\n"
"#else\n"
" return float4(lerp(colorIn, fog.color, saturate(fogZ)).rgb, colorIn.a);\n"
"#endif\n"