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

alpha mode in styling json #195

Open
bertt opened this issue Aug 14, 2024 · 1 comment
Open

alpha mode in styling json #195

bertt opened this issue Aug 14, 2024 · 1 comment

Comments

@bertt
Copy link
Member

bertt commented Aug 14, 2024

In release 2.15 there is an option to set the alpha mode: --default_alpha_mode (OPAQUE/BLEND/MASK)

For a more granular approach we can add support for alpha mode in the styling json. This way we can use alpha blending in a subset of geometries or in parts of geometries

@bertt
Copy link
Member Author

bertt commented Aug 14, 2024

Proposal for alpha mode in style.json:

Default: OPAQUE
Options: OPAQUE, MASK, BLEND

{
    added-->> "AlphaModes":[list_of_alpha_modes],  --<<added
    "EmissiveColors": [list_of_emissivecolors in hex],
    "PbrMetallicRoughness": {
        "BaseColors": [ list_of_basecolors in hex],
        "MetallicRoughness": [list_of_metallic_roughness in hex]
    },
    "PbrSpecularGlossiness": {
        "DiffuseColors": [list_of_diffuse in hex],
        "SpecularGlossiness": [list_of_specular_glossiness in hex]
    }
}

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

No branches or pull requests

1 participant