Skip to content

Adding transparency/opacity/alpha #30

Description

@ljmartin

Hi meshplot,
Have really benefited a lot from this library so thank you.
I'd like to visualise a mesh that is partially transparent. Is this option available already?

Happy to contribute something but I'm not sure where to start - at a complete guess I figure

material = p3s.MeshStandardMaterial(map=tex, reflectivity=sh["reflectivity"], side=sh["side"],
which (I think) instantiates the mesh from pythreejs. Looks like the pythreejs MeshStandardMaterial does have an option alphaMap to handle transparency.

Thanks!
Lewis

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