optimize raycasting
All checks were successful
Deploy to GitHub Pages / deploy (push) Has been skipped
All checks were successful
Deploy to GitHub Pages / deploy (push) Has been skipped
This commit is contained in:
@@ -52,6 +52,7 @@ let currentViewMode = 'none'; // 'none', 'zoning', 'approval'
|
||||
function init() {
|
||||
setupScene();
|
||||
|
||||
|
||||
// 1. Core Systems
|
||||
routeManager = new RouteManager(scene, SETTINGS);
|
||||
uiManager = new UIManager(routeManager);
|
||||
@@ -381,7 +382,6 @@ function renderCity(data) {
|
||||
// 7. Material Setup
|
||||
const mat = new THREE.MeshLambertMaterial({
|
||||
vertexColors: true, // IMPORTANT
|
||||
roughness: 0.6,
|
||||
shadowSide: THREE.BackSide
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user