Merge pull request #61307 from bruvzg/material_key_fix

[Label3D, 3.x] Fix material shader key for SDF fonts.
This commit is contained in:
Rémi Verschelde 2022-05-23 11:57:36 +02:00 committed by GitHub
commit 000b9c66a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,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;
@ -264,6 +264,7 @@ private:
uint64_t emission_op : 1;
uint64_t texture_metallic : 1;
uint64_t texture_roughness : 1;
//uint64_t reserved : 6;
};
uint64_t key;