2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:47:46 +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

@@ -233,7 +233,7 @@ static const char* FS =
" ret += lu.lights[i].color * angAtt * att * saturate(dot(normalize(-delta), mvNormIn));\n"
" }\n"
" \n"
" return ret;\n"
" return saturate(ret);\n"
"}\n"
"\n"
"struct VertToFrag\n"