Disable textures for kcl legacy

This commit is contained in:
KillzXGaming 2019-06-25 17:11:34 -04:00
parent 0d4f208365
commit 8d38ab1f73
5 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -611,6 +611,7 @@ namespace FirstPlugin
Vector3 lightDirection = new Vector3(0f, 0f, -1f);
Vector3 difLightDirection = Vector3.TransformNormal(lightDirection, invertedCamera).Normalized();
GL.Disable(EnableCap.Texture2D);
GL.Enable(EnableCap.DepthTest);
foreach (var model in models)