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

x3d: material with only emissiveColor used in a scene with x3d lights yields mostly white objects #1792

Open
liaxim opened this issue Mar 15, 2018 · 3 comments

Comments

@liaxim
Copy link
Contributor

liaxim commented Mar 15, 2018

InstantReality player test: lights and only emissive color yields the same result as no lights and only emissive color. Seems rather reasonable to match that.

See for reference #1757

@liaxim
Copy link
Contributor Author

liaxim commented Mar 15, 2018

@mwitchwilliams Please add further details. Thanks.

@mwitchwilliams
Copy link
Contributor

mwitchwilliams commented Mar 16, 2018

Retested and seems wrong. With no light on, objects with emissive color should still appear but instead are black. Rolling over the box above the text "LIGHT ON/OFF" turns on a <DirectionalLight>. Only now do the emissive colored objects appear. There is also a white sphere with only a diffuse color which is correct.
The text appears as it is lit as an emissive color
EmissiveColor_test1.zip

screenshot_20180320-101537

screenshot_20180320-101547

@mwitchwilliams
Copy link
Contributor

Update: Checking this, when there are no lights on, the objects disappear.
When the objects have texture maps on them, they appear ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants