1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add new drawtype GLASSLIKE_FRAMED

This commit is contained in:
RealBadAngel 2013-04-25 02:39:21 +02:00 committed by kwolekr
parent e703c5b81f
commit 625a4c2e66
5 changed files with 135 additions and 2 deletions

View file

@ -133,6 +133,8 @@ enum NodeDrawType
NDT_LIQUID, // Do not draw face towards same kind of flowing/source liquid
NDT_FLOWINGLIQUID, // A very special kind of thing
NDT_GLASSLIKE, // Glass-like, don't draw faces towards other glass
NDT_GLASSLIKE_FRAMED, // Glass-like, draw connected frames and all all visible faces
// uses 2 textures, one for frames, second for faces
NDT_ALLFACES, // Leaves-like, draw all faces no matter what
NDT_ALLFACES_OPTIONAL, // Fancy -> allfaces, fast -> normal
NDT_TORCHLIKE,