summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-25 20:55:17 +0100
committerGitHub <noreply@github.com>2019-11-25 20:55:17 +0100
commit2ca90ba343408b1694a4e2886ca2139d1d0ca617 (patch)
tree87adb1da7857f42a55b69456cdd615a6299bc084 /scene/resources
parentda80e3f0f079b397a496e1359ab81cd57e318204 (diff)
parent85dba0c09da37eb89afa75058001dba70f51f1c4 (diff)
Merge pull request #33889 from clayjohn/specular_mode_bug
Fix bug where SpecularMode DISABLED is not cached
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/material.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h
index 1c69a754b6..11f8f20cf3 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;