Changed normal of the ground to GL, Now the normal mapping is correct.

This commit is contained in:
2026-01-04 16:11:18 +01:00
parent 296aad3f84
commit b417f016af
20 changed files with 985 additions and 254 deletions

View File

@@ -81,6 +81,8 @@
this.assimpLoader = new assimp();
this.preloaderCleared = false;
}
addViewport(viewport){
@@ -142,9 +144,18 @@
*/
tick() {
if( this.preloaderCleared === false && this.resources ) {
this.resources.hidePreloader( );
this.preloaderCleared = true;
}
requestAnimFrame( this.tick.bind( this ) );
this.render();
}
/**