away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

z-sort issue with alphaBlending set to false #74

Open peteshand opened 8 years ago

peteshand commented 8 years ago

Hey I'm seeing z-sorting issues in HTML5 with a prototype I'm putting together. You can see what I'm talking about be checking out: http://peteshand.net/away-gl/z-sorting-issue/

I would expect to see issues along these lines if I was using material.alphaBlending = true, how the material alphaBlending set to false and is non transparent, any ideas what would be causing this? I guess it's possible it's an issue in the underlying OpenFL display3D classes

qgerman2 commented 8 years ago

i'm having z-sort issues aswell by running "openfl test windows -Dlegacy" on one of the examples zbuffer

edit: i fixed it by installing lime 2.8.3 and openfl 3.5.3, like the readme suggests

peteshand commented 8 years ago

I didn't get any closer to solving this issue, but I would guess there is an underlying away3d or OpenFL/WebGL property being incorrectly set. its most likely an something in openfl.display3d.Context3D as it works when targeting AIR/Flash