Browse Source

Fix bug where specularmode disabled is not cached

clayjohn 5 years ago
parent
commit
85dba0c09d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/material.h

+ 1 - 1
scene/resources/material.h

@@ -252,7 +252,7 @@ private:
 			uint64_t flags : 18;
 			uint64_t flags : 18;
 			uint64_t detail_blend_mode : 2;
 			uint64_t detail_blend_mode : 2;
 			uint64_t diffuse_mode : 3;
 			uint64_t diffuse_mode : 3;
-			uint64_t specular_mode : 2;
+			uint64_t specular_mode : 3;
 			uint64_t invalid_key : 1;
 			uint64_t invalid_key : 1;
 			uint64_t deep_parallax : 1;
 			uint64_t deep_parallax : 1;
 			uint64_t billboard_mode : 2;
 			uint64_t billboard_mode : 2;