Commit Graph

18 Commits

Author SHA1 Message Date
myT 838c9a6485 added motion blur and freeze frame commands
- fixed crash due to missing blue noise texture
- added motion vector viz
- renamed TextureFormat entries
2024-02-18 16:26:05 +01:00
myT a76dba5cfb raytracing soft shadows, normal smoothing, G-buffer viz
- brightness-corrected ImGUI drawing
- upgraded shader code to HLSL 2021
- vertex normals drawing
2024-02-06 23:15:31 +01:00
myT 29939c951c removed unused fog logic and data 2023-11-12 01:33:00 +01:00
myT ffde1f2b1b implemented dynamic lights 2023-11-12 01:32:59 +01:00
myT a60693ae65 partial depth pre-pass with some hacky heuristics 2023-11-12 01:32:59 +01:00
myT 3b6a3a5019 added D3D12 rendering and removed D3D11, GL2, GL3
don't track .user files except for cnq3 and cnq3-server

disabled FPS hack

disabled FPS hack, part 2
2023-11-12 01:32:58 +01:00
myT 8ed8d26481 removed the R_SetPVSCulling extension
reverted 7e0de354c2
the mod can feed a different area mask to force drawing everything
2023-04-04 22:42:24 +02:00
myT 7e0de354c2 added the R_SetPVSCulling extension 2023-02-25 23:01:11 +01:00
myT dcb3c80998 added default to a switch statement to make it clear we didn't forget any case 2022-05-26 22:25:25 +02:00
myT f99c223495 fixed crashes when a DL affects a transparent surface with r_lightmap 1 2022-04-14 00:37:00 +02:00
myT 981f059b7b do not replace older surfaces with newer ones but refuse to add new ones instead
surfaces added first are part of the map itself
it's better to drop e.g. some plasma cells rather than e.g. entire walls
it's also less error-prone to work with since we don't need to fix numbers on read
but only check on write in exactly 2 spots

also removed tr.shiftedEntityNum because it was unnecessary...
2022-04-10 21:45:59 +02:00
myT 180a0187b7 fixed the R_AddWorldSurface optimization so it won't remove the sky 2020-06-20 03:04:00 +02:00
myT 70ba2e7939 fixed and improved GL3 shader uniforms caching 2020-06-20 02:28:55 +02:00
myT f773d2a783 fixed dynamic light face culling using the untransformed (world-space) light position 2020-02-26 23:01:28 +01:00
myT 85583acc9c dynamic lights apply to even more surfaces and have a nicer fall-off
- ditched vertex colors (not wanted) and alpha tests (not needed) in the shaders
- using a Bezier fall-off to get much softer edges
- added no-depth-write transparent surfaces support by adjusting the depth test
- multiplying the diffuse texture's color by its alpha in non-opaque passes
- fixed triangle rejection based on cull type and normal direction
- reflecting normals in shaders to support two-sided surfaces
- rejecting surfaces with no diffuse stage or bad blend states as early as possible
- liquids get lit weaker than other surfaces
2020-02-21 08:26:12 +01:00
myT db4fb31658 added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
arQon 954c80a8b5 merge the new build system
use the "premake" tool from the cnq3tools repo with
"--quake3dir=<q3dir>" to generate a VS sln and gcc makefiles

this changeset also removes the "clever" handling of fullscreen/windowed
changes which didn't actually work and just broke windowed mode
2016-12-29 20:13:59 -08:00
arQon 97db9f2314 import from cnq3 1.47 2016-12-17 20:43:04 -08:00