Hi , I find a zbuffer bug when using HGE for my game. if you enable HGE_ZBUFFER and use NOZWRITE Blend Mode only(no ZWRITE Sprite at that time,but will appear later.),zbuffer will be writen because the default zwrite state in D3D is TRUE. I fix this bug by adding codes in bool HGE_Impl::_init_lost() line 973: CurBlendMode = BLEND_DEFAULT; if (bZBuffer) { pD3DDevice->SetRenderState(D3DRS_ZWRITEENABLE, FALSE); }
because CurBlendMode is NOZWRITE but D3D 's ZWRITE is TRUE(default) at init time.
BTW : Why HGE forum bans gmail Email Address for register.