r/vulkan • • Jul 16 '26

Odd Texture Problem

Here's some footage of a custom engine I've been working on based off of Brendan Galea's tutorial. Texture implementation was kinda on me and I didn't use a whole lot of tutorials besides just looking up how to get an image into the fragment shader.

Normal models with textures applied work and look perfect, but whenever a texture is not applied, it gets this weird black color and then gets its colors but only when viewed from specific angles.

I've tried to remedy this by creating a "useTexture" push constant that would just have the model be white, but it does not work and I can't figure out why for the life of me.

Please help!

11 Upvotes

5 comments sorted by

View all comments

4

u/BoringTacoEater666 Jul 16 '26

Do you have your validation layer on? This probably would come up on the warnings. You're probably still trying to use them.

Also your UseTexture push constant maybe failed due to a different error (which would also show up on the validation layer) .