Fix cull modes being swapped
This commit is contained in:
parent
656ff9d0d0
commit
92b5ade4ae
@ -906,8 +906,8 @@ namespace FirstPlugin
|
|||||||
if (mat.renderinfo[i].Name == "display_face")
|
if (mat.renderinfo[i].Name == "display_face")
|
||||||
{
|
{
|
||||||
NoCull = mat.renderinfo[i].ValueString.Contains("both");
|
NoCull = mat.renderinfo[i].ValueString.Contains("both");
|
||||||
CullBack = mat.renderinfo[i].ValueString.Contains("back");
|
CullFront = mat.renderinfo[i].ValueString.Contains("back");
|
||||||
CullFront = mat.renderinfo[i].ValueString.Contains("front");
|
CullBack = mat.renderinfo[i].ValueString.Contains("front");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user