ecere/gfx/3D/Object3DSFormat: Fixes to alpha blending maps
authorJerome St-Louis <jerome@ecere.com>
Tue, 8 Apr 2014 20:07:14 +0000 (16:07 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 8 Apr 2014 20:14:04 +0000 (16:14 -0400)
commit991a8e0822674f66adaf29a7edb9624626f3f26c
tree72af960b5347d1639b4343e989348524caa53c25
parent128bfb2ae332408846728b52f011f3080a1d0d81
ecere/gfx/3D/Object3DSFormat: Fixes to alpha blending maps
- Reading alpha from R channel for non-PNG
- Fixed crashes on mismatched dimensions of opacity and diffuse map
- Not setting translucent flag if no alpha between 0 and 255 (Fixes Z-fighting issues in sort algorithm)
ecere/src/gfx/3D/models/Object3DSFormat.ec