Changed normal of the ground to GL, Now the normal mapping is correct.
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user