Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Commit 7dfcdbb

Browse files
author
Lucas Crane
authored
Reduce ground plane size (#68)
* reduce size of ground plane * increase size from 50 to 100
1 parent 28f6312 commit 7dfcdbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scenes/renderer-test/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function init() {
194194

195195
// ground plane
196196
{
197-
const geo = new THREE.PlaneBufferGeometry(10000, 10000);
197+
const geo = new THREE.PlaneBufferGeometry(1000, 1000);
198198
const mat = new THREE.MeshStandardMaterial();
199199
mat.shadowCatcher = true;
200200
const mesh = new THREE.Mesh(geo, mat);

scenes/sample-models/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function load(loader, url) {
102102
}
103103

104104
function createGroundMesh() {
105-
const geo = new THREE.PlaneBufferGeometry(10000, 10000);
105+
const geo = new THREE.PlaneBufferGeometry(100, 100);
106106
const mat = new THREE.MeshStandardMaterial();
107107
mat.color.set(0xffffff);
108108
mat.roughness = 1.0;

0 commit comments

Comments
 (0)