Commit graph

51 commits

Author SHA1 Message Date
smallmodel
8898919fd3
Correctly parse lightingSpecular parameters 2024-10-19 20:45:24 +02:00
smallmodel
18abf3854d
Use normals for deform vertexes
This fixes the issue where some ocean shaders would look inconsistent
2024-10-19 20:33:57 +02:00
smallmodel
047a7bb949
Deprecate r_forceClampToEdge in favor of automatic detection
This avoids setting the variable manually to fix sky seams and weird graphical artifacts. Now, it's detected automatically
2024-09-19 21:00:22 +02:00
smallmodel
3e70a9fab8
Fix mistakes that lead to compilation errors 2024-09-19 19:19:58 +02:00
smallmodel
b672fc8b29
Add #if, #if_not and #else shader statements 2024-09-17 20:00:24 +02:00
smallmodel
eac69f659f
For dot/oneminusdot, shader needs normal 2024-09-17 20:00:00 +02:00
smallmodel
ecdbe3d959
Don't check lightmap for RB_StageIteratorVertexLitTextureUnfogged to be used 2024-09-16 22:01:04 +02:00
smallmodel
6506577787
Add shader flags with tcMod rotate
This fixes vehicle wheels rotating forever. Wheels now rotate consistently depending on the vehicle speed
2024-08-24 00:35:39 +02:00
smallmodel
60e4fa7005
Handle shader picmip and fix shaders not rendered properly with force32bit (alpha channel was ignored) 2024-07-28 19:25:24 +02:00
smallmodel
5159a534bb
Fix animated images playing at the same time for all entities 2024-07-28 19:01:34 +02:00
smallmodel
51ba1e2951
Properly use identity / identitylighting when cgen isn't explicitly specified 2024-02-12 23:47:07 +01:00
smallmodel
304645d720
Ignore CGEN_BAD stages 2024-02-12 19:50:32 +01:00
smallmodel
0591152f99
Added ifCvar / ifCvarnot support 2024-02-12 17:18:51 +01:00
smallmodel
1f2b5dcc86
Added and fixed all missing tcMod parameters 2024-02-06 20:07:39 +01:00
smallmodel
b848ee0fac
Added rotateStart and rotateCoef for rotate tcMod 2024-02-06 19:48:55 +01:00
smallmodel
4ae091be4b
Added a slash at the end of the scripts folder name 2023-12-29 19:56:34 +01:00
smallmodel
d62242d653
use PRINT_WARNING instead of PRINT_DEVELOPER when an image couldn't be found 2023-12-28 17:25:51 +01:00
smallmodel
54c142ce78
Flag mistake, now using GLS_MULTITEXTURE_ENV instead of GLS_FOG_WHITE 2023-08-28 19:46:31 +02:00
smallmodel
1015302a7f
Remove GLS_FOG_ENABLED if stateBits has GLS_FOG_WHITE 2023-08-28 17:36:19 +02:00
smallmodel
194d53569f
Added foliage AFunc 2023-08-28 00:51:43 +02:00
smallmodel
57cf513b39
Added $bumpmap and normalmap (from mohaab) 2023-08-27 23:18:32 +02:00
smallmodel
05d3c50866
Stage fixes
Initialize animation phase to 0
Made CollapseMultitexture() work for more shaders
2023-08-27 22:15:08 +02:00
smallmodel
cd3e9bec03
Don't draw NODRAW surface 2023-07-23 15:07:20 +02:00
smallmodel
a6c7f7d4e0
Fixed animation map 2023-07-23 13:44:30 +02:00
smallmodel
0c57ec27e6
Added nodepthwrite, nodepthmask, nocolorwrite and nocolormask
Removed FixRenderCommandList from SortNewShader
Fixed shader.sort being wrongly SS_BLEND0 (this fixes issues when seeing through translucent textures like water)
2023-07-09 19:40:12 +02:00
smallmodel
7da3432b8c
Implemented RE_RefreshShaderNoMip 2023-07-09 18:15:21 +02:00
smallmodel
25d526ade5
Moved "flap" above "normal" 2023-07-09 13:47:05 +02:00
OM
088434bfb3 Fixed **ParseVector** not working as intended (removed parenthesis)
Added "heightFade", "tikiDistFade" and "oneMinusTikiDistFade"
2023-05-29 15:26:37 +02:00
OM
eeae4c7da3 Added **animMapOnce** and **animMapPhase** 2023-05-29 13:49:46 +02:00
OM
7b79877516 made renderer (original quake III) work with SDL 2023-05-27 22:23:03 +02:00
OM
bb71f84985 Fixed sky seams 2023-05-21 02:04:47 +02:00
OM
93e56d968e Added clampmapx / clampmapy support
Don't determine sort order / fog color adjustment
2023-05-20 21:14:17 +02:00
OM
f1b83f1dab Added more rgbgen support 2023-05-20 19:33:00 +02:00
OM
4dc60b9aa4 Added lighting-grid / sphere light basic implementation 2023-05-20 17:02:01 +02:00
OM
6059063b67 Added "constant" parameter for "rgbGen" 2023-05-19 17:48:24 +02:00
OM
4a49b15649 Removed CONTENTS_FOG
Added more surface params
2023-05-19 13:56:07 +02:00
OM
29239dadfa Don't call ri.Hunk_Alloc when there are no texmods 2023-05-19 13:40:03 +02:00
OM
18ade839c6 Added more shader commands
More fox support
2023-05-19 03:19:56 +02:00
OM
f6ebdd1998 Better multitexture / bundle support 2023-05-18 18:17:32 +02:00
OM
4984f8b925 nextBundle fix 2023-05-18 16:40:17 +02:00
OM
3f2d62db4a Fixed no mipmaps shader, better quality for UI 2023-05-17 00:05:22 +02:00
OM
9787c5c235 Added more shader commands 2023-05-16 14:12:47 +02:00
OM
5b141089c3 Added support for a few colorGen_t and alphaGen_t values 2023-05-15 20:14:45 +02:00
OM
8b73d676cb Fakk modifications 2023-05-11 18:56:40 +02:00
OM
d0b9890213 Added more shader stage parameters 2023-05-10 23:47:23 +02:00
OM
776d3fa897 Added all mohaa renderer Cvars 2023-05-10 18:21:26 +02:00
OM
eddd56f770 R_FindShader fix 2023-05-09 23:47:26 +02:00
OM
0fad7c1ad6 Ubertools modifications 2023-05-09 22:54:13 +02:00
OM
797ae47b46 Renderer fixes 2023-05-09 21:58:24 +02:00
L
0d7b822216 Implemented R_LoadFont 2023-05-09 19:13:37 +02:00