-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
NodeMaterial: Rename .colorSpace -> .colorSpaced property #27238
Conversation
Hmmm, not sure about these...
Are there any other material booleans like these? |
I hope someone can suggest a better property name than |
Some other booleans:
|
I don't now if @mrdoob or you prefer |
Maybe
I guess it is because all function names should be verbs. Not sure what should be these properties -- we already have for example Maybe something like |
What you are doing is referred to as a color conversion -- converting a color from one color space to another.
But in particular, you are either honoring or ignoring the renderer's output color space. I am inclined to think the API may require a bit more thought... |
Hm... Maybe |
Some materials in particular like I'm considering following this same logic that you mentioned for |
@sunag Please keep my suggestion -- or @LeviPesin's alternative -- in mind as you think about this. 😇 |
Related issue: #26440 (comment)
Description
Folowing the same logic of
Material.toneMapped
.