draw hole backfaces
This commit is contained in:
parent
5b96fa3df3
commit
4a7f536999
1 changed files with 9 additions and 0 deletions
|
@ -157,6 +157,15 @@ static class Arts
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
// [!] have backfaces on a mat run a separate backbox/face shader]? *to try and reduce drawcalls
|
||||||
|
meshes["Hole"].Draw(
|
||||||
|
mat_backbox,
|
||||||
|
Matrix.TRS(
|
||||||
|
hole.Key.ToVec3,
|
||||||
|
Quat.LookDir(hole.Value.ToVec3),
|
||||||
|
1
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue