~vam-jam/vamist.dev

38f7a46c2ff8c26859184ec3f20d29a12eed21a5 — Vamist 3 months ago bd8aad9
[dev] Adjusted point light and directional light
1 files changed, 2 insertions(+), 2 deletions(-)

M src/playground.js
M src/playground.js => src/playground.js +2 -2
@@ 29,11 29,11 @@ engine.SetCamera(
);
engine.camera.position.z = 1;

const directionalLight = new DirectionalLight(0xffffff, 1.0);
const directionalLight = new DirectionalLight(0xffffff, 5.0);
directionalLight.position.z += 1;
home.add(directionalLight);

const pointLight = new PointLight(0xffffff, 10.0, 0, 1.0);
const pointLight = new PointLight(0xffffff, 8.0, 1, 1.0);
home.add(pointLight);
//
// const lightCube = new Cube(