Commit Graph
19 Commits
Author SHA1 Message Date
MihailRis a621b179d3 add 'do-trace-shaders' setting and fix shaders recompiling 2025-08-31 18:14:05 +03:00
MihailRis 0bd901d1a6 feat: deferred shading (day 2) 2025-07-08 23:56:22 +03:00
MihailRis 96a94aa33c feat: recompiling shaders 2025-07-02 23:02:50 +03:00
MihailRis 436a89b066 feat: post-effects array parameters & add gfx.posteffects.set_array & make shadows opacity depending on clouds opacity 2025-06-14 20:06:05 +03:00
MihailRis 7a25560bc0 add 'modelviewer' ui element 2025-05-24 19:28:24 +03:00
MihailRis c3bc084e76 update Shader class 2025-04-06 12:45:58 +03:00
MihailRis f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder a745507ddd coders/ 2024-08-04 11:23:08 +03:00
Vyacheslav Ivanov 4efa574eec fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +03:00
Vyacheslav IvanovandMihailRis aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
MihailRisandGitHub ba046a52c0 Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov 2c1103307f fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov 5dd7a15c09 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
MihailRis 43903bb378 memory-related refactor 2024-05-25 09:26:21 +03:00
MihailRis 91aacafecb hpp++ 2024-05-06 01:36:21 +03:00
MihailRis f8289a5d78 leaks fix (valgrind full leak check) 2024-04-30 02:49:12 +03:00
MihailRis 9f2bceb039 just a minor refactor, nothing special 2024-04-23 02:00:03 +03:00
MihailRis befc9cf09c assets-related refactor 2024-04-10 17:44:17 +03:00
MihailRis b56408a202 src/graphics moved to src/graphics/core 2024-03-18 20:47:35 +03:00