mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
23 lines • 623 B
JavaScript
import { PointLight, SkyLight, settings, Sky, Model } from "..";
const model = new Model();
model.src = "face.glb";
model.scale = 5;
model.y = 300;
settings.defaultLight = false;
const skylight = new SkyLight();
const light = new PointLight();
light.innerZ = 500;
light.intensity = 0.5;
light.y = 400;
light.onLoop = () => {
light.rotationY += 1;
};
const light3 = new PointLight();
light3.innerZ = 500;
light3.rotationY = 45;
light3.intensity = 0.5;
const sky = new Sky();
settings.ambientOcclusion = true;
settings.bloom = true;
settings.bloomStrength = 0.1;
//# sourceMappingURL=testFace.js.map