From 396899d91b124ae2c14eed27f7a40cfa261cbf8e Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 23 May 2022 12:03:09 +0300 Subject: [PATCH] Fix material shader key for SDF fonts. --- scene/resources/material.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/resources/material.h b/scene/resources/material.h index c5d962ac9..3e102f6e1 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -250,7 +250,7 @@ private: uint64_t blend_mode : 2; uint64_t depth_draw_mode : 2; uint64_t cull_mode : 2; - uint64_t flags : 19; + uint64_t flags : 20; uint64_t detail_blend_mode : 2; uint64_t diffuse_mode : 3; uint64_t specular_mode : 3; @@ -263,6 +263,7 @@ private: uint64_t emission_op : 1; uint64_t texture_metallic : 1; uint64_t texture_roughness : 1; + //uint64_t reserved : 6; }; uint64_t key;