Skip to content

Some colors are incorrectly rendered #3882

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

Closed
florentpeyrard opened this issue Nov 27, 2018 · 3 comments
Closed

Some colors are incorrectly rendered #3882

florentpeyrard opened this issue Nov 27, 2018 · 3 comments

Comments

@florentpeyrard
Copy link

Aframe 0.8.2
Example : for instance in a-circle, #CC6600 is rendered yellow instead of orange. Both Firefox and Chrome. Also applies to aframe-environment-component.

@dmarcos
Copy link
Member

dmarcos commented Nov 27, 2018

Try with flat shader

In general rendered colors depend on the shader, ilumination, angle of the surface with respect to lights. A color won’t yield the same consistent hue as you see in the 2D Web.

@dmarcos dmarcos closed this as completed Nov 27, 2018
@donmccurdy
Copy link
Member

Are you using the setting renderer="gammaOutput: true" by any chance? There are particular considerations for colors, if so, which I can explain further. We're working on improving that particular case, see #3509.

@florentpeyrard
Copy link
Author

Not using gammaOutput : true, but flat shader solved my issue, thanks, except regarding aframe-environment-component, so I opened https://github.com/feiss/aframe-environment-component/issues/56

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

3 participants