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

World Ambient Color not fully supported #6

Open
ksons opened this issue Jan 1, 2015 · 0 comments
Open

World Ambient Color not fully supported #6

ksons opened this issue Jan 1, 2015 · 0 comments

Comments

@ksons
Copy link
Owner

ksons commented Jan 1, 2015

Blender has a World Ambient Color, which influences all objects with a material ambient value > 0.0. In XML3D's phong shader, there is an ambient intensity, which is a scalar that is multiplied with the diffuse color. There is no global world color.

The difference in the semantic can lead to unexpected results.

Workaround: Don't use World's Ambient Color or only grey values.

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

1 participant