mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.76k stars 35.38k forks source link

How do i inculde THREE.LensFlareElement in Angular Project? #15648

Closed CreativeHouseDotOrg closed 5 years ago

CreativeHouseDotOrg commented 5 years ago

I tried to use the LensFlareElement in my scene but everytime i try to load the scene i got the following message:

THREE.LensFlare has been moved to /examples/js/objects/Lensflare.js

I installed Three.js with the npm three and included it as follows:

import * as THREE from 'three';

So is there any way i can get to that code which lays inside the js file using typescript and angular7?

Kind Regards

looeee commented 5 years ago

Please use the forum for help requests.