Skip to content

Opacity not working? #32

@Danjb1

Description

@Danjb1

First of all, thank you for this repo, it's super useful!

I'm having a problem trying to render a plane with a solid color and translucency.

I am creating my material like so:

const material = new THREE.MeshBasicMaterial(
  {
    color: 0x000000,
    transparent: true,
    opacity: 0.5
  }
);

However it renders as a solid grey box, and the objects behind can't be seen through it.

Has anyone had any luck with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions