Commit Graph

9 Commits

Author SHA1 Message Date
leilei-
513c538fba A bunch of things
- s_interrupt - allows sounds to be interrupted by the same sound or entity channel
- new dynamic light calculation for vertex lighting, affecting vertex color (no projected dlight textures)
- rgbGen material for allowing calculation for diffuse, specular, emmissive vertex colors by hex values
- rgbMod shader command allowing new vertex color effects
- removed deprecated R_ParseStageSimple, it never worked as intended
- r_slowness gone. Use llvmpipe, PCem, or a slow computer instead.
- Spring cleaning of old deprecated/broken post-process GLSL experiments
- r_anime broke in 2015
- r_tvMode - well, shaderglass exists now
- r_motionblur - Bad technique, too much memory
- t_pslettize - slow, relies on shader's lookup of a vector table
- r_film - bad on well-lit maps
- r_retroAA - this broke early too. also looked bad. would rather implement FSAA 4x
- cl_consoleScale : makes the console more 640x480 sized on any higher res. Also affects notify messages, so you can read chat easier
- cl_consoleColor also affects the line at the bottom. Also new default colors
- If consoleShader can't load (which will happen with some mods), it will fallback to a flat-colored console.
- Generic'd the red/blue team names.  We will not be having missionpack clans.
- SDL2: Clicking the red X now does something: you can leave!!! If it sucks.... hit da bricks!! real winners quit
- s_xmp_startPattern - makes the tracker song play a different pattern (for use with sub-songs)
- fixed xmp playback as xmp explicitly requires a length of the module now. Fixes issue #96
- suppress the warning about non-22khz music, as mods are playing at the mixer's rate always, and this warning regards a much earlier (1999) unstable sound mixer.
- deprecating r_modelshader because the shader got stale, old, buggy, and amd hates it now
- r_shadeMethod will be something else (and not shader-based)
- r_lightmapColorNorm : Make normalization of bright luxels an option, default is 1 (q3 behavior).
- r_lightmapColorNorm 0 = no normalization, straight clamp, like Nightdive's vision of Quake2
- r_lightmapColorNorm 2 = experiment: normalize, but add some luminance on while maintaining the hue by normalizing again. This tries to restore more range on fully saturated colors
- dropped SHADER_MAX_VERTEXES back to 1000 because raising it causes various unexpected issues, so dialing it down for now
- raise MAX_IMAGE_ANIMATIONS to 16 because I've got a cool water shader using it and 8 is too choppy
- Crash fix for older (<=2001) mods by trimming the string shared with ui module, so no overflow for them
- jettisoning old proposed mme particle system that was never ever hooked up properly.
- other small warning cleanup
- r_shadeMethod : 0/1 = q3 behavior, 2 = ue1-ish behavior, 3 = mix of 1 and 2, -1 = one uniform color, 150-666 = a lod range to change between the 3
- r_monolightmaps : refactor - goes to the light data instead of the calculations and images
- removed r_greyscale because this is a data-modifying novelty that would complicate support for loading compressed texture formats. This is better off as a post-process shader
- environment mapping refactor, rewrite and cleanup
- removed a lot of deprecated rgbGens
- removed r_texdump (it never worked)
- remove a few leftover broken postprocess things
- Internal GLSL brightness shader, so gamma control can work without the glsl/brightness_fp.glsl file when r_ext_vertex_shader is 1 and r_alternateBrightness is 2.
- r_skyTess - an attempt to make the complexity of skydomes an option so it could use less polygons. Has no effect on skyboxes
2025-05-20 06:30:51 -04:00
leilei-
f62b262b27 - "Generic" in vendor string no longer triggers software rasterizer performance workarounds 2016-11-16 00:32:08 -05:00
leilei-
ea9bdc0a68 Several renderer fixes for 3dfx hardware:
- Try to determine which 3dfx card we are using
- Use GL_CLAMP for 3dfx instead, fixes dynamic lights/skyboxes/etc. (GL_CLAMP_TO_EDGE becomes GL_REPEAT on older 3dfx drivers)
- Support for 3dfx gamma control and overbrights restored
- Indexed w/ alpha color is now forced GL_RGBA on Voodoo Graphics (v1)
- attempt at silencing the 3dfx splash
2016-05-31 04:34:45 -04:00
leilei-
95dec7a204 - Made GLSL features a compiling option...sort of 2016-05-09 03:55:16 -04:00
leilei-
fd5f8bc4a6 - Detail texture forcing; adds detail texture layers to shaders that don't specify for one. Slightly broken and still needs work.
- Detail texture scale and layesr also adjust the amplification and density of this effect
- Detail mip fade fixed
- r_suggestiveThemes 0 properly loads models and shaders and textures from models/player only. speedup a bit
- r_suggestiveThemes 2 loads _lewd models, shaders and textures.  To keep 'safe' and 'sexy' safe from autodownloaded lewd that respect the prefix.
- removing r_anime _cel loading, which conflicts with the above system and i'm going all out shader on that anyway
- even more waterimage removal
- r_leifx no longer allows trilinear filter. closer to actual real world voodoo behavior
2015-03-01 04:57:37 -05:00
leilei-
43d6a97c43 - Fixed crash for fragment shader effects being loaded for unsupported hardware
- unfinished texture dumping mode, r_texdump would save jpegs of any texture that loads....upside down. The purpose of this is to make compact content builds with only the used textures (without bloat)
- the eager beginning of a water refraction/reflection buffer
- some map texture listing fixes
- very unfinished revolution environment maps
- very unfinished 'crazy' lighting changes
- some pointless whitepsaces added for no reason other than to open file, add something, remove it later, and leave it changed
2014-06-14 07:30:15 -04:00
leilei-
3dcdd64749 Detect certain software rasterizing OpenGL ICDs and add some speedups for them
also restore the GLHW_ detection stuff that was removed
2014-03-19 06:51:10 -04:00
leilei-
f9d4ebbb40 Paletted texture support (GL_EXT_paletted_texture, r_textureBits 8, expects gfx/palette.lmp)
Quarter-broken texture resampling from Darkplaces
Half-broken otherblendmodes=alpha fixes for Pvr
Postprocess Bloom works on S3TC and texturebits 0
Fix memory allocation typo with postprocess
2014-03-18 08:06:20 -04:00
hairball
4e532eddcd Client/server engine changes for OpenArena 0.8.8 2014-02-07 04:34:20 +00:00