away3d/away3d-core-fp11 — Issue #209: DirectionalLight does not illuminate sloped faces of ConeGeometry
Author: ellemenno
Created: 2012-02-03 05:13:00+00:00
State: open

i have a ColorMaterial applied to a ConeGeometry, lit by a couple DirectionalLights, but only the bottom face receives illumination.

please see example here:
https://github.com/ellemenno/away3d-examples-fp11/blob/dev/release/ConeExample.swf

example source:
https://github.com/ellemenno/away3d-examples-fp11/blob/dev/src/away3d/primitives/ConeExample.as
_(i am using a modified ColorMaterial that makes the color argument in the constructor optional)_

a similar example that works as expected:
https://github.com/ellemenno/away3d-examples-fp11/blob/dev/src/away3d/primitives/CylinderExample.as
https://github.com/ellemenno/away3d-examples-fp11/blob/dev/release/CylinderExample.swf