mirror of https://github.com/AxioDL/metaforce.git
Update boo
This commit is contained in:
parent
11f6617c2f
commit
eff677ca20
|
@ -1 +1 @@
|
||||||
Subproject commit 2a45cf90d8be3f1592da8dfc326f91029ae3d972
|
Subproject commit abbd3167b2a28625ec57b0659a77fc4fcfd60d70
|
|
@ -390,7 +390,7 @@ std::string Metal::makeFrag(size_t blockCount, const char** blockNames, bool alp
|
||||||
{
|
{
|
||||||
if (lighting.m_entry)
|
if (lighting.m_entry)
|
||||||
{
|
{
|
||||||
retval += " float4 lighting = " + lightingEntry + "(" + blockCall + ", vtf.mvPos, vtf.mvNorm, vtf" +
|
retval += " float4 lighting = " + lightingEntry + "(" + blockCall + ", vtf.mvPos.xyz, normalize(vtf.mvNorm.xyz), vtf" +
|
||||||
(!strncmp(lighting.m_entry, "EXT", 3) ? (extTexCall.size() ? (", samp, clampSamp," + extTexCall) : "") : "") + ");\n";
|
(!strncmp(lighting.m_entry, "EXT", 3) ? (extTexCall.size() ? (", samp, clampSamp," + extTexCall) : "") : "") + ");\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue