SaschaWillems / Vulkan-glTF-PBR

Physical based rendering with Vulkan using glTF 2.0 models
MIT License
979 stars 132 forks source link

Texture upsidedown #1

Closed grassroot72 closed 6 years ago

grassroot72 commented 6 years ago

Hi, Sascha,

I guess you haven't finished modifying this example yet. Perhaps you would fix it shortly.

I am writing this message just to remind you that the texture needs to be flipped.

The flipUV in pbr.vert

layout (binding = 0) uniform UBO { mat4 projection; mat4 model; mat4 view; vec3 camPos; float flipUV; } ubo;

seems orphaned (not controlled).

Hope you would fix it soon.

Cheers Edward

SaschaWillems commented 6 years ago

Thx for noticing. Will push a version of my local code that sets flipUV.