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

Thermal Hot filter HLSL

This commit is contained in:
Jack Andersen
2016-08-03 13:16:31 -10:00
parent 9222a928ef
commit dc1ad1c773
8 changed files with 99 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ static const char* ThermalPostMetal =
"};\n"
"static float4 ThermalPostFunc(thread VertToFrag& vtf, constant ThermalUniform& lu, texture2d<float> tex7, float4 colorIn)\n"
"{\n"
" return tex7.sample(samp, vtf.extTcgs0).rrrr * lu.mulColor + lu.addColor;\n"
" return float4(tex7.sample(samp, vtf.extTcgs0).rrr * lu.mulColor.rgb + lu.addColor.rgb, 1.0);\n"
"}\n"
"\n";