Skip to content

IGME-RIT/VkFlipAxisY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Author: Niko Procopi

Fixing 2D elements after flipping Y-axis

In previous tutorials, sprite2D.vert shader
was hard-coded to adjust for Vulkan's inverted
Y-axis. We removed that, so the code is now
identical to what you would see in an OpenGL or
DirectX implementation. Additionally, in Scene, 
we changed the Y coordinate of each 2D element from
around +0.8 to around -0.8, which is what the coordiinate
system would be in OpenGL or DirectX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published