From 85dba0c09da37eb89afa75058001dba70f51f1c4 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Mon, 25 Nov 2019 07:36:07 -0800 Subject: [PATCH] Fix bug where specularmode disabled is not cached --- scene/resources/material.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/material.h b/scene/resources/material.h index 1c69a754b68..11f8f20cf34 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -252,7 +252,7 @@ private: uint64_t flags : 18; uint64_t detail_blend_mode : 2; uint64_t diffuse_mode : 3; - uint64_t specular_mode : 2; + uint64_t specular_mode : 3; uint64_t invalid_key : 1; uint64_t deep_parallax : 1; uint64_t billboard_mode : 2;