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

filter CSS property #62

Open
technohippy opened this issue Oct 3, 2022 · 1 comment
Open

filter CSS property #62

technohippy opened this issue Oct 3, 2022 · 1 comment

Comments

@technohippy
Copy link

I'm glad if filter CSS properties are available for a model element like this:

a-model {
  filter: grayscale(80%);
}

Hopefully, additional filters for a 3d model will be defined like this:

filter: fog(white, 50, 2000);

If postprocessing can be defined with a fragment shader, it's really exciting.

filter: url("/postprocessing/mosaic.fs");
@cabanier
Copy link
Member

cabanier commented Oct 3, 2022

This could be something that's considered for a later revision of the model element.
It's not clear how these filter would apply to 3D content :-)

They will apply to the fallback content though since that's 2D

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

2 participants