diff options
author | JFonS <joan.fonssanchez@gmail.com> | 2018-04-22 12:11:05 +0200 |
---|---|---|
committer | JFonS <joan.fonssanchez@gmail.com> | 2018-07-26 09:34:12 +0200 |
commit | 0052ee70d249c0d8f68b4c9f640a7c2307d9fc5d (patch) | |
tree | f5e6ba2cf93f391b9d845cf75ad94d3467a5e87c /scene/resources/material.h | |
parent | c47f824c3b7446b7bdd8136afffa58fc695590f0 (diff) | |
download | redot-engine-0052ee70d249c0d8f68b4c9f640a7c2307d9fc5d.tar.gz |
Added keep scale flag to billboard materials
Diffstat (limited to 'scene/resources/material.h')
-rw-r--r-- | scene/resources/material.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h index 84f1005b03..7a1a4acfbf 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -183,6 +183,7 @@ public: FLAG_SRGB_VERTEX_COLOR, FLAG_USE_POINT_SIZE, FLAG_FIXED_SIZE, + FLAG_BILLBOARD_KEEP_SCALE, FLAG_UV1_USE_TRIPLANAR, FLAG_UV2_USE_TRIPLANAR, FLAG_TRIPLANAR_USE_WORLD, @@ -241,7 +242,7 @@ private: uint64_t blend_mode : 2; uint64_t depth_draw_mode : 2; uint64_t cull_mode : 2; - uint64_t flags : 17; + uint64_t flags : 18; uint64_t detail_blend_mode : 2; uint64_t diffuse_mode : 3; uint64_t specular_mode : 2; |