diff options
Diffstat (limited to 'vke/src/PbrModel.cs')
| -rw-r--r-- | vke/src/PbrModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vke/src/PbrModel.cs b/vke/src/PbrModel.cs index 96437a2..26f720e 100644 --- a/vke/src/PbrModel.cs +++ b/vke/src/PbrModel.cs @@ -160,8 +160,8 @@ namespace CVKL { if (materials[i].availableAttachments.HasFlag (AttachmentType.AmbientOcclusion)) uboUpdate.AddWriteInfo (descriptorSets[i], dslb, textures[(int)mats[i].occlusionTexture].Descriptor); break; - case AttachmentType.MetalRoughness: - if (materials[i].availableAttachments.HasFlag (AttachmentType.MetalRoughness)) + case AttachmentType.PhysicalProps: + if (materials[i].availableAttachments.HasFlag (AttachmentType.PhysicalProps)) uboUpdate.AddWriteInfo (descriptorSets[i], dslb, textures[(int)mats[i].metallicRoughnessTexture].Descriptor); break; case AttachmentType.Metal: |