Commit graph

6 commits

Author SHA1 Message Date
Andrei Alexeyev
8b37d1cbf2
src: the great #include massacre of 2024 2024-05-17 14:11:48 +02:00
Andrei Alexeyev
be7905d6a3
src: run upkeep 2024-05-17 04:58:47 +02:00
Andrei Alexeyev
4aa5d66c8a
stage1: fix deprecations 2021-02-22 15:26:48 +02:00
Andrei Alexeyev
a19ac828eb stage1: fix background
Remove 45 degree uv rotation from the shader as it's not needed anymore.
Bring back the stretched perspective, because the background was
designed with it in mind, and looks wrong otherwise.
2021-01-21 05:20:15 +02:00
laochailan
7fa35409d8 stage3d: store fovy, aspect, near and far as parameters to the camera
this means glm_mat_proj_perspective is no longer meant to be called by the stage code. The parameters are set to sensible defaults of the pbr stages.

I found that the old stages use STAGE3D_DEFAULT_ASPECT which is somehow stretched. I did not change the behavior but added a FIXME comment to lines that should at some point just be deleted to use the correct default aspect.

I did not fix the extra stage code to avoid conflicts.
2021-01-21 05:20:15 +02:00
Andrei Alexeyev
db9cb15d21
Split stage1 into multiple files (#228) 2020-05-18 22:44:11 +03:00