Skip to content
enjiushi edited this page May 11, 2020 · 2 revisions

Welcome to the VulkanLearn wiki!

Something I need to take care:

  • Do remember that vulkan NDC is a left-hand system, with Y axis pointing top-side-down
  • Don't directly use world-space direction to sample a cubemap that is generated dynamically. Cubemap is also left-handed, therefore I need to get z from its mirror(multiplied by -1.0). Also, during the generation process of our skybox, we store our world space negative z plane to cubemap positive z face, and vice versa, just in order to preserve an unchanged view of skybox. (If you directly store world space negative z plane to cubemap negative z face, the sampling result will be reversed in x axis)
Clone this wiki locally