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

[Feature request] Backface color support #11391

Open
jo-chemla opened this issue Jul 4, 2023 · 2 comments
Open

[Feature request] Backface color support #11391

jo-chemla opened this issue Jul 4, 2023 · 2 comments

Comments

@jo-chemla
Copy link

jo-chemla commented Jul 4, 2023

This backface culling override feature is great to override the backface culling property for gltf mesh tiles. Another great option would be to let the user define a backface color, so one could choose to either:

  • use the default backface culling property of each tile
  • or enforce backface culling to be true (dont show non front facing polygons) or false (don't cull these polygons)
  • or set backface color to something other than transparent (opaque color like black would be the easiest option, this could as well evolve to support semi-transparent colors, alpha blending etc,)

Also linked: underground color for terrain

@ggetz
Copy link
Contributor

ggetz commented Jul 6, 2023

Thanks for the suggestion @jo-chemla!

@jo-chemla
Copy link
Author

Note for people stumbling here, other js 3dtiles viewer libraries do support this custom material option (and therefore custom backface), for example NASA-AMMOS/3DTilesRendererJS custom-material

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

No branches or pull requests

2 participants