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

Consistent lighting clamping

This commit is contained in:
Jack Andersen
2019-01-29 10:14:34 -10:00
parent cf9062bba5
commit 89906be162
6 changed files with 18 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ FOG_STRUCT_METAL
" ret += lu.lights[i].color * angAtt * att * saturate(dot(normalize(-delta), mvNormIn));\n"
" }\n"
" \n"
" return ret;\n"
" return saturate(ret);\n"
"}\n"sv;
static std::string_view LightingShadowMetal =