Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
La iluminación de three.js es realmente extraña

Estoy tratando de averiguar por qué las sombras van en posiciones extrañas donde se supone que no deberían estar.

Código:

 var config = { shadowSize: 1 }; var directionalLight = new THREE.DirectionalLight( 0x8888ff ); directionalLight.position.set( 3, 12, 17 ); directionalLight.castShadow = true; directionalLight.shadow.camera.near = 0.1; directionalLight.shadow.camera.far = 500; directionalLight.shadow.camera.right = 17; directionalLight.shadow.camera.left = -17; directionalLight.shadow.camera.top = 17; directionalLight.shadow.camera.bottom = -17; directionalLight.shadow.mapSize.width = 1024 * config.shadowSize; directionalLight.shadow.mapSize.height = 1024 * config.shadowSize; directionalLight.shadow.radius = 10; directionalLight.shadow.bias = -0.0001; directionalGroup = new THREE.Group(); directionalGroup.add(directionalLight); scene.add(new THREE.AmbientLight(0x444444)); scene.add(directionalGroup); 

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!