Fix material shader key for SDF fonts.

This commit is contained in:
bruvzg 2022-05-23 12:03:09 +03:00
parent e7fa3d9bbc
commit 1ab459a951
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,7 @@ private:
uint64_t blend_mode : 2; uint64_t blend_mode : 2;
uint64_t depth_draw_mode : 2; uint64_t depth_draw_mode : 2;
uint64_t cull_mode : 2; uint64_t cull_mode : 2;
uint64_t flags : 19; uint64_t flags : 20;
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 : 3; uint64_t specular_mode : 3;
@ -264,6 +264,7 @@ private:
uint64_t emission_op : 1; uint64_t emission_op : 1;
uint64_t texture_metallic : 1; uint64_t texture_metallic : 1;
uint64_t texture_roughness : 1; uint64_t texture_roughness : 1;
//uint64_t reserved : 6;
}; };
uint64_t key; uint64_t key;