Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BundleGroup not working with transparent material #30681

Closed
Makio64 opened this issue Mar 7, 2025 · 0 comments · Fixed by #30689
Closed

BundleGroup not working with transparent material #30681

Makio64 opened this issue Mar 7, 2025 · 0 comments · Fixed by #30689
Labels
Milestone

Comments

@Makio64
Copy link
Contributor

Makio64 commented Mar 7, 2025

Description

When the material is transparent the BundleGroup dont render..

Reproduction steps

  1. create a BundleGroup and add object transparent.

Code

    let group = new THREE.BundleGroup()
    // mesh
    for(let i=0; i<10; i++){
    
    // material
    const material = new THREE.MeshBasicMaterial( {
        color: new THREE.Color(THREE.MathUtils.randInt(0,0xffffff)), 
        side: THREE.DoubleSide,
        transparent: true
    } );
          mesh = new THREE.Mesh( geometry, material );
          mesh.position.set(
            THREE.MathUtils.randFloat(-5,5),
            THREE.MathUtils.randFloat(-5,5),
            THREE.MathUtils.randFloat(-5,5)
          )
          group.add( mesh )
      group.needsUpdate = true
    }
    scene.add( group );

Live example

https://jsfiddle.net/odkeut3n/4/

Screenshots

No response

Version

r174 dev

Device

No response

Browser

No response

OS

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants