Create empty texture to be used with materials that miss e.g. normal maps
This commit is contained in:
parent
9aea7d1550
commit
144c0b66c0
2 changed files with 111 additions and 1 deletions
|
|
@ -249,6 +249,8 @@ namespace vkglTF
|
|||
class Model {
|
||||
private:
|
||||
vkglTF::Texture* getTexture(uint32_t index);
|
||||
vkglTF::Texture emptyTexture;
|
||||
void createEmptyTexture(VkQueue transferQueue);
|
||||
public:
|
||||
vks::VulkanDevice* device;
|
||||
VkDescriptorPool descriptorPool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue