You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current rendering now looks like this (there is a rotating plane in the scene used to show the green and red lights):
Plane is rotated further so it is not seen here, which is as expected.
I'm guessing the light algorithm no longer clamps RGB at [1, 1, 1]. Perhaps now, the <PointLight> RGB [1,1,1] and <DirectionalLight> RGB [.25,.25.25] toward the -z axis is: [1, 1, 1] + [.25, .25, .25] for [1.25, 1.25, 1.25] instead of clamping at [1, 1, 1].
Testing https://github.com/gearvrf/GearVRf-Tests/tree/master/x3d/animation/animation02.x3d about 3 months ago, produced the following image:
The X3D file has 5 lights: a white <PointLight> at [0 -2 -4] plus 4 directional lights:
// 2) reddish light toward -x axis
<DirectionalLight color="1 .25 .25" direction="-1 0 0"/>
// 3) greenish light toward +x axis
<DirectionalLight color=".25 1 .25" direction="1 0 0"/>
// 4) 25% white light toward -z axis
<DirectionalLight color=".25 .25 .25" direction="0 0 -1"/>
// 5) blueish light toward +z axis
<DirectionalLight color=".25 .25 1" direction="0 0 1"/>
The current rendering now looks like this (there is a rotating plane in the scene used to show the green and red lights):
Plane is rotated further so it is not seen here, which is as expected.
I'm guessing the light algorithm no longer clamps RGB at [1, 1, 1]. Perhaps now, the <PointLight> RGB [1,1,1] and <DirectionalLight> RGB [.25,.25.25] toward the -z axis is: [1, 1, 1] + [.25, .25, .25] for [1.25, 1.25, 1.25] instead of clamping at [1, 1, 1].
Here is X3D file plus texture maps
animation02.zip
Issue showing up for both master and maint_v3.x releases.
The text was updated successfully, but these errors were encountered: