Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

130
Vistas
How to add Three.js EffectComposer to 8th Wall

I'm trying to get a three.js postprocessing bloom effect working in 8th Wall but can't seen to get things working right.

I'm loading the EffectComposer in head.html using:

<script src="http://mrdoob.github.com/three.js/examples/js/postprocessing/EffectComposer.js"></script>

Then, in my .js file I get the three.js scene, renderer and camera using

const {scene, camera, renderer} = XR8.Threejs.xrScene()

And construct the EffectComposer like this:

composer = new THREE.EffectComposer(renderer)

After doing so and running the script, it returns the following error:

undefined is not a constructor (evaluating 'new THREE.EffectComposer(renderer)')

Any help would be appreciated!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Fixed the issue by changing the link from: http://mrdoob.github.com/three.js/examples/js/postprocessing/EffectComposer.js to: //cdn.rawgit.com/mrdoob/three.js/r123/examples/js/postprocessing/EffectComposer.js

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda