source: opengl-game/scene-notes.txt@ 7c929fc

feature/imgui-sdl points-test
Last change on this file since 7c929fc was 7c929fc, checked in by Dmitry Portnoy <dmp1488@…>, 5 years ago

In VulkanGame, make lighting work correctly in the ship shader before the MVP matrices are applied

  • Property mode set to 100644
File size: 192 bytes
Line 
1In opengl, (-1, -1) is lower left
2In vulkan, it is upper left, so I set the projection matrix [1][1] cell to -1 to flip the y-axis and make it match opengl
3
4+z goes into the screen (in Vulkan)
Note: See TracBrowser for help on using the repository browser.