Skip to content

Text Outline Color Differences #213

Answered by lojjic
amcdnl asked this question in Q&A
Discussion options

You must be logged in to vote

This definitely appears related to color space management in R3F and/or Three.js. It's not just the text outline color that's being affected, it's also the main text color and also the colors of your graph node/edge elements -- check them with a color picker and you'll see what I mean, none of them match the hex colors set in the theme.

I see you're setting colorManagement={false} in GraphCanvas, but IIRC that's an older deprecated property. The current R3F exposes different props related to color management.

If I set <Canvas legacy linear flat ...> it seems to return the colors to match the exact input hex values, at least for those elements not affected by lighting. That may or may not …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amcdnl
Comment options

Answer selected by amcdnl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants