mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-13 16:00:51 +01:00
Switch default transparency sorting back from ETNS_PLANE_CENTER to ETNS_CENTER
While there are some cases this fixes, like MartinVee's nice example for orthographic camera at https://irrlicht.sourceforge.io/forum/viewtopic.php?t=51598 it seemed to cause more problems in complex 3d scenes with perspective cameras. Well anyway - both options are available now for those which need it. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6574 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
3752bd9bd4
commit
c9e71e26f2
@ -124,11 +124,12 @@ namespace scene
|
||||
ETNS_PLANE_ORIGIN,
|
||||
|
||||
//! Distance from node center to camera plane
|
||||
//! With orthographic cameras there's a high chance you might prefer this one
|
||||
ETNS_PLANE_CENTER,
|
||||
|
||||
//! Default sorting Irrlicht uses currently
|
||||
//! This may change in the future
|
||||
ETNS_DEFAULT = ETNS_PLANE_CENTER
|
||||
ETNS_DEFAULT = ETNS_CENTER
|
||||
};
|
||||
|
||||
class IAnimatedMesh;
|
||||
|
Loading…
x
Reference in New Issue
Block a user