lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
9 lines • 421 B
JavaScript
import getIntensityFactor from "../memo/getIntensityFactor";
import createInternalSystem from "./utils/createInternalSystem";
export const lightIntensitySystem = createInternalSystem("lightIntensitySystem", {
update: (self) => {
self.object3d.intensity = self.intensity * getIntensityFactor(self);
// self.object3d.visible = !!intensityFactor
}
});
//# sourceMappingURL=lightIntensitySystem.js.map