Skip to content

Opacity not working? #32

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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