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
|
Rev | Line | |
---|
[0cf1a23] | 1 | In opengl, (-1, -1) is lower left
|
---|
| 2 | In 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 |
|
---|
[7c929fc] | 4 | +z goes into the screen (in Vulkan)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.