GearVRf
GearVRf copied to clipboard
x3d: material with only emissiveColor used in a scene with x3d lights yields mostly white objects
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 https://github.com/Samsung/GearVRf/pull/1757
@mwitchwilliams Please add further details. Thanks.
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
Update: Checking this, when there are no lights on, the objects disappear. When the objects have texture maps on them, they appear ok.