Daemon
Daemon copied to clipboard
The Dæmon game engine. 20 years of development above id Tech 3. Historically based on id Tech 3 through ioq3, Wolf:ET and XreaL a very long time ago.
Add GL timers for major parts of the engine (frame, depth pre-pass, opaque, transparent, post-process, cull and depth reduction)
Parse info logs on shader compilation failure in an implementation-dependent way, which poduces an output like this: ``` 136: vec4 color; 137: vec2 texCoord, lmCoord;a 138: 139: VertexFetch( position, LB,...
Automatically generate a specular map when there is no specular map Example video: [20240816-024444-001.unvanquished.webm](https://github.com/user-attachments/assets/a6f28eeb-c164-44cc-86c3-7808a1d685ca) More video and images: - https://forums.unvanquished.net/viewtopic.php?t=2463
On plat23 there is an unphysical situation, where some rooms are supposed to be covered by the skybox. 
I propose moving all of the cvars that cause the renderer to assume failure when testing for a certain optional OpenGL feature under the `r_ext_` prefix. Currently they are divided...
Use `GL_ARB_internalformat_query` to check if the hardware cannot blend `GL_RGBA16` framebuffers. Hardware like ATI R300 support RGBA16 framebuffers but can't blend them. The check should detect them. Unfortunately the Mesa...
- Delete some images/FBO that are never used. - Only generate some images/FBO when they are used. - Also latch `r_noFog` since the GLSL shader since shader is built conditionally...
With `r_highPrecisionRendering off`:  With `r_highPrecisionRendering on` (default):     This was added in d2b9a688bc7bc7d238281a4ae6630207007772df from #1050 and slightly modified in #1164: - https://github.com/DaemonEngine/Daemon/pull/1050 - https://github.com/DaemonEngine/Daemon/pull/1164 The usage...
Make somewhat messy code I noticed while working on #1105 and subsequent prs into something more readable. Merge the two branches in `GLShaderManager::buildPermutation()` into one since they were doing essentially...
Purely useless change, but the parenthesis pair being broken by some ifdef make unhappy the syntax coloring of vim and that annoys me every time I open this file. 😏️...