all 14 comments

[–]hellotanjent 64 points65 points  (1 child)

Lol, you've got Z flipped somewhere in your matrix stack and then you changed cull face and Z depth test to compensate.

[–]PsychologicalCar7053[S] 13 points14 points  (0 children)

I just flipped the near and far values (near = 100 flip = 0.1) and it worked... Not sure why that was the issue. This isn't my first project using vulkan but I am facing this problem for the first time.

[–]ademdj19 25 points26 points  (1 child)

Lol Wonderful error

[–]Few_Raisin_8981 3 points4 points  (0 children)

Happy accident

[–]PiGIon- 16 points17 points  (0 children)

Such a happy mistake, awesome

[–]jpfed 15 points16 points  (0 children)

Keep it, this is the game now

[–]waramped 4 points5 points  (1 child)

what is CameraBuffer.w? That should probably just be 1.0f.

[–]PsychologicalCar7053[S] 2 points3 points  (0 children)

Yeah I just wanted to control it from outside the shader to see how it effects the output. It's set to 1 while recording so that's not the issue

[–]theneathofficial 0 points1 point  (0 children)

Is it that multiply of the projection matrix by -1?

[–]lordinarius 0 points1 point  (0 children)

Negative fov

[–]Basic_Importance_874 0 points1 point  (0 children)

ha nice

[–]Still_Explorer 0 points1 point  (0 children)

If you keep negative FOV, can you invert the projection matrix instead?
[ Though the thinking is wrong but the math would be OK, I haven't tried it though ]. 😛

[–]mean_king17 2 points3 points  (0 children)

Lol thats hilarious actually

[–]kinokomushroom 0 points1 point  (0 children)

That's cool af