GearVRf icon indicating copy to clipboard operation
GearVRf copied to clipboard

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

Open liaxim opened this issue 6 years ago • 3 comments

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

liaxim avatar Mar 15 '18 14:03 liaxim

@mwitchwilliams Please add further details. Thanks.

liaxim avatar Mar 15 '18 14:03 liaxim

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 avatar Mar 16 '18 17:03 mwitchwilliams

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

mwitchwilliams avatar Oct 24 '18 17:10 mwitchwilliams