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

SVGRenderer: Add .outputColorSpace=DisplayP3ColorSpace support #26914

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Oct 7, 2023

When enabled, SVGRenderer will style SVGs using CSS Color Module Level 4 syntax.

renderer.outputColorSpace = THREE.DisplayP3ColorSpace;
fill: color(display-p3 1 0.5 0);

Related issue:

@mrdoob mrdoob added this to the r158 milestone Oct 11, 2023
@donmccurdy donmccurdy marked this pull request as ready for review October 12, 2023 00:55
@mrdoob mrdoob merged commit d2f7811 into mrdoob:dev Oct 27, 2023
18 checks passed
@donmccurdy donmccurdy deleted the feat/svgrenderer-p3 branch October 27, 2023 10:46
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

Successfully merging this pull request may close these issues.

3 participants