kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

EnviroBitmapMaterial-Property "reflectiveness" not only affects Enviromap but also the opacity of the BitmapMaterial itself #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. instanciate EnviroBitmapMaterial (enviroMat = new
EnviroBitmapMaterial(bitmapdata1,bitmapdata2))
2. apply it to Mesh (mesh.material = enviroMat)

What is the expected output? What do you see instead?

expected: bitmapdata1 is opaque, bitmapdata2 is enviromap with opacity
dependant on "reflectiveness"
seen instead: bitmapdata2 behaves as expected, bitmapdata1´s alpha is
affected by "reflectiveness" and is displayed semi-transparent

What version of the product are you using? On what operating system?
away3d 2.2+, Windows

Original issue reported on code.google.com by k.guelen...@gmail.com on 20 Nov 2008 at 9:58

GoogleCodeExporter commented 8 years ago
This is a known bug todo with using envirobitmapmaterial in onjunction with 
bothsides
= true on a mesh. Currently the only workaround is to set bothsides = false on 
all
meshes that use envirobitmapmaterial textures.

Original comment by rob.bate...@gmail.com on 12 Dec 2008 at 2:07

GoogleCodeExporter commented 8 years ago
Rob? I've seen this on single sided materials as well. I got it for the 
non-doughnut texture in this file: 
http://www.flashgamer.com/2008/12/away3d_doughnut.html

Original comment by jens...@gmail.com on 13 Dec 2008 at 1:56

GoogleCodeExporter commented 8 years ago
Update SVN to get the change :)

Original comment by jens...@gmail.com on 19 Jan 2009 at 2:51