No Clean Feed - Stop Internet Censorship in Australia
«
»

3d, AS3

FlatShadeMaterial.doubleSided does not seem to work as expected

05.27.08 | 5 Comments

For some reason, FlatShadeMaterial in Great White doesn’t work quite how I expect it to.

Look at this example (view source is enabled) … the light only reflects on one side. Strange, huh?

However, one good thing I discovered while making the example to show others, is that the dark colour (the “ambient” argument passed to the constructor) always shows up. Earlier, using a black shade for my panes against the black background of my movie, the planes were going totally out of sight, and I was getting very confused indeed! Yet another reminder to simplify the scenario to isolate the problem … something I often forget when there’s deadline looming …

related

5 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


«
»
Close
E-mail It