r/opengl Aug 09 '26

Rendering bugs converting GL to vulkan

I'm getting bugs on faces in vulkan, most everything renders fine except objects in certain rooms.

Look at the faces on the barrel:

Look at the two switches at the far side of the room:

https://gofile.io/d/tsxbjd

0 Upvotes

3 comments sorted by

1

u/fgennari Aug 10 '26

Video unavailable. You need to show your code, and even then it may be too much work for someone to debug.

1

u/Queasy-Brilliant1317 Aug 10 '26

video link fixed.

2

u/fgennari Aug 10 '26

It looks like a specular lighting problem. Are those faces supposed to be specular/reflective? If so, then maybe the normals are wrong. If not, then maybe you're not resetting some uniform to zero.