Commit graph

19754 commits

Author SHA1 Message Date
nashmuhandes
934b5af975 Add lightmaps to 3D floors 2021-09-24 17:42:34 +08:00
nashmuhandes
3f3769afdb - implement drawing sides with lightmaps
- misc bug fixes in lump loading and format
2021-09-24 17:27:23 +08:00
nashmuhandes
2f8cff90b6 - Add lightmaps to the main shader (currently only OpenGL)
- Create a version of CreateIndexedSectorVertices that works with lightmap sectors
2021-09-24 16:56:15 +08:00
nashmuhandes
39481f0d07 - Add support for loading lightmap data generated by ZDRay
- Initialize lightmap texture in the hardware abstract parts of the engine
2021-09-24 14:51:48 +08:00
Christoph Oelckers
3ef60a40a5 - fixed particle processing in the main thinker loop
This may not be guarded by the dynamic light flags, only the light ticking may.
2021-09-24 08:33:37 +02:00
drfrag
d84b44cbd1 - Add missing null pointer check. 2021-09-24 08:07:20 +02:00
Christoph Oelckers
23477342c3 - fixed handling of states with the 'light' keyword. 2021-09-24 00:01:19 +02:00
drfrag
c13cd74766 - Fixed broken V_BreakLines. 2021-09-23 15:36:24 +02:00
Christoph Oelckers
708717b6ab - we're past 4.7 now. 2021-09-23 14:01:14 +02:00
Christoph Oelckers
dc116721fb - missed the index. 2021-09-23 11:41:48 +02:00
Christoph Oelckers
f10578a04b - treat "materials" as a known folder name for eliminating root folders in Zips. 2021-09-23 10:54:18 +02:00
Christoph Oelckers
7ce5bb4861 - re-enable light attenuation. 2021-09-22 12:14:29 +02:00
Christoph Oelckers
55186d3f6c - updated survey code to check for Apple's M1 CPU. 2021-09-21 22:01:50 +02:00
Christoph Oelckers
0db7a6206b - fixed shader compilation. 2021-09-21 21:07:46 +02:00
Rachael Alexanderson
a0a90f874f - update widepix again, mv strife.strife to strife 2021-09-21 15:01:43 -04:00
Christoph Oelckers
702b75e96a - fixed one frame activation delay for dynamic lights.
We cannot check HasDynamicLights in ProcessThinkers because it gets set too late.
2021-09-21 20:43:21 +02:00
Christoph Oelckers
6c12a8de12 - properly track whether some action in the current frame may have triggered a dynamic light activation. 2021-09-21 20:31:43 +02:00
Christoph Oelckers
da806b354d - cleanup of the revised y-clamping feature.
This integrates better with the existing features.
2021-09-21 20:31:42 +02:00
Rachael Alexanderson
6e2aef617c - update widescreen graphics, with strife support 2021-09-21 13:00:17 -04:00
Emile Belanger
4de6b769d3 GLES: Only use GPU sync if necessary and available.
If there are complaints of reduced performance, or visual artefacts compared to 4.6.1, it may be worth increasing HW_MAX_PIPELINE_BUFFERS to 4 again.
2021-09-21 18:45:55 +02:00
Rachael Alexanderson
24aa497e4f - fix icon in .gitattributes, it must always be checked out as binary 2021-09-21 11:52:36 -04:00
Emile Belanger
db59a4f9af Add buffer synchronisation for GLES when using mapped buffers. 2021-09-20 18:12:20 -04:00
Emile Belanger
76875f0a3c Fix spot lights for GLES 2021-09-20 18:12:20 -04:00
Emile Belanger
e361ff1a9c Removed unused EGL files 2021-09-20 18:12:20 -04:00
Emile Belanger
c20cb92961 Removed unused GLES shader files 2021-09-20 18:12:20 -04:00
Yarn366
6d8862b514 Added detection for IWADs downloaded via the Bethesda.net Launcher 2021-09-20 10:50:19 -04:00
Cacodemon345
567bff403a Fix broken text input when SDL2 is using Wayland 2021-09-20 10:49:41 -04:00
Rachael Alexanderson
cb0c8922e0 - downgrade GL_EXTENSIONS message in OpenGL ES to logging level 2021-09-20 08:46:34 -04:00
Christoph Oelckers
2fd8113576 - text update. 2021-09-19 16:12:40 +02:00
Christoph Oelckers
a0043ec09d - better handling of texture clamp state.
Free combination of clamping with all texture modes still missing in GLES and Softpoly renderers!
2021-09-19 14:54:34 +02:00
Christoph Oelckers
3acc5a2723 - fixed code generation issues with parameterized MBF21 functions. 2021-09-19 12:59:24 +02:00
Christoph Oelckers
fb107f80e6 - fixed vertex generation when splitting walls by planes on old hardware. 2021-09-18 13:09:05 +02:00
Rachael Alexanderson
614b8477b8 - change URL for stats script 2021-09-18 06:58:21 -04:00
Christoph Oelckers
fc2818b195 - menu system update from Raze for better control of animated menus. 2021-09-18 12:19:35 +02:00
Christoph Oelckers
31de21e6aa - GLES fixed: The weapon sprite must be rendered with the fullscreen colormap on. 2021-09-18 10:27:41 +02:00
Christoph Oelckers
1fe5fc2edc - changed survey control CVAR to avoid sending data for participants of the previous survey without confirmation. 2021-09-18 10:19:23 +02:00
Christoph Oelckers
7aaea65f28 - fixed GLES startup 2021-09-18 10:18:23 +02:00
Christoph Oelckers
a6819bfe62 - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements.
A new command, "screensize", has been added to allow setting it explicitly, and this has been used for all the stock animations.
2021-09-18 09:19:34 +02:00
Christoph Oelckers
914b54ffd5 - fix compatibility handler for KDiZD's Z1M3.
The sector needs both tags - the original 83 for the deep water effect, plus 82 for the fade, to render and act correctly.
2021-09-17 23:35:03 +02:00
Christoph Oelckers
2350780db0 - fixed: "Dialogue" in MAPINFO must clear all "AddDialogues" that came before. 2021-09-17 23:04:13 +02:00
Christoph Oelckers
08baad6e21 - fixed melee attack disance being off after adding MBF21 support. 2021-09-17 22:59:30 +02:00
Christoph Oelckers
67958833b7 Merge branch 'gles2_merge' 2021-09-17 21:22:41 +02:00
Christoph Oelckers
c9d9982b68 - fixed: Decal things did not spawn their lower decals. 2021-09-17 00:48:12 +02:00
Christoph Oelckers
918e9e9b0d - fixed texture clamping for elements that are partially behind a slope.
This is mainly mid textures on linedefs and decals.
2021-09-17 00:25:28 +02:00
Christoph Oelckers
fdf879167c - fixed bad parameter order in MinoraurSlam. 2021-09-16 07:45:09 +02:00
Christoph Oelckers
b8d61a38a9 - partial text update. 2021-09-15 18:48:03 +02:00
Christoph Oelckers
23a2ccec2b - Consider 'Program Files' a read only location without actually checking.
Due to virtualization the actual check may not produce correct results, plus writing there is bad style anyway.
2021-09-15 00:39:18 +02:00
Christoph Oelckers
8c715d48cd - fixed: 3D floor model sectors were not added to the sector lists for precise rendering. 2021-09-14 19:49:42 +02:00
Christoph Oelckers
17638426b9 - removed the redundant gl_render_precise CVAR.
The menu now uses gl_seamless directly without the redirection.
2021-09-14 19:49:42 +02:00
Christoph Oelckers
c7db3875e1 - fixed: colors from brightmaps and glowmaps need to be desaturated. 2021-09-14 19:49:41 +02:00