Alibek Omarov
|
8298053e6a
|
ref: gl: don't depend on lightgamma in recursive light point
|
8 months ago |
Alibek Omarov
|
9304a0041d
|
ref: gl: support kRenderFxLightMultiplier
* add undocumented kRenderFxLightMultiplier to const.h
|
8 months ago |
Alibek Omarov
|
64f92003fa
|
ref: gl: adapt studio lightning to new gamma
* more accurate SHADE_LAMBERT value (extracted from v_lambert1 global variable)
|
8 months ago |
Alibek Omarov
|
a0c31120d9
|
ref: add R_GammaChanged function that engine calls on every gamma change
|
8 months ago |
Alibek Omarov
|
c0757bd84c
|
ref: gl: remove vid_gamma/vid_brightness changed cvar value check
|
8 months ago |
Alibek Omarov
|
9d3949a948
|
ref: gl: replace skin texture num bound by a proper check, fixes wrong skin on flags in Adrenaline Gamer
|
8 months ago |
Alibek Omarov
|
dc1d65f621
|
ref: gl: only draw MOVETYPE_FOLLOW studio model if it's parent is visible
|
8 months ago |
Alibek Omarov
|
b946c8455d
|
ref: gl: return NULL in GetEntityByIndex and ModelHandle just in case
|
8 months ago |
Alibek Omarov
|
0132eb6e44
|
ref: gl: restore usage of FWORLD_CUSTOM_SKYBOX flag, do direct checks instead of PARM check, remove unused tr.fCustomSkybox
|
8 months ago |
Alibek Omarov
|
d971055927
|
engine: move PARM_SKY_SPHERE handling out of engine to renderer, after all renderers might or might not support sky spheres
|
8 months ago |
Alibek Omarov
|
17deba0606
|
ref: gl: use direct cl.paused instead of PARM_GAMEPAUSED
|
8 months ago |
Alibek Omarov
|
82a2d272ad
|
ref: gl: use direct host.features instead of PARM_FEATURES
|
8 months ago |
Alibek Omarov
|
8084687e50
|
ref: gl: remove GetPredictedOrigin call
|
8 months ago |
Alibek Omarov
|
6c16de55c0
|
ref: gl: remove GetMoveVars() call
|
8 months ago |
Alibek Omarov
|
537237ef62
|
ref: gl: remove usage of PARM_VIEWENT_INDEX and PARM_PLAYER_INDEX
|
8 months ago |
Alibek Omarov
|
4dfc3f34cb
|
ref: gl: remove usage of PARM_MAX_CLIENTS
|
8 months ago |
Alibek Omarov
|
d22bbb4213
|
ref: gl: remove usage of PARM_WORLD_VERSION
|
8 months ago |
Alibek Omarov
|
0e3b14e9a5
|
ref: gl: remove usage of PARM_NUMMODELS
|
8 months ago |
Alibek Omarov
|
afb0540aa3
|
ref: gl: convert to usage of ref_host_t to get real engine time
|
8 months ago |
Alibek Omarov
|
4d802d8901
|
ref: gl: convert to usage of ref_client_t to get client time
|
8 months ago |
Alibek Omarov
|
6a4bf4965f
|
ref: gl: acquire engine pointers
|
8 months ago |
mittorn
|
a488f79852
|
ref_gl: workaround freezes on adreno with vbo on dlighted decals
|
9 months ago |
Alibek Omarov
|
b290046503
|
ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate VBO renderer
|
9 months ago |
Dmitry Toroshchin
|
e8409cee8b
|
ref_gl: vbo: do not do zero-length drawcalls (fix glError on vivante)
|
9 months ago |
mittorn
|
1d4d355b38
|
ref_gl: vbo: fix binding garbade texture after changelevel, fix wpoly counter
|
9 months ago |
mittorn
|
dfe12535a5
|
ref_gl: vbo: disable R_TextureRandomTiling implementation until will be fixed
|
9 months ago |
mittorn
|
74946100f1
|
ref_gl: fix not restoring static lightmap after decals
|
9 months ago |
mittorn
|
9a1717915c
|
ref_gl: vbo: apply a1batross's patch for uint index switch
|
9 months ago |
mittorn
|
3691eb6e48
|
ref_gl: vbo: fix incorrect lightmap index, optimize loading maps with very big lightmap count, fix clouds drawing after VBO
|
9 months ago |
mittorn
|
3bb7471fd3
|
ref_gl: vbo: fix lightmap0 processing, remove ilightmap
|
9 months ago |
mittorn
|
74e09ddb12
|
ref_gl: change state management in vbo renderer
|
9 months ago |
mittorn
|
6b73d056b2
|
ref_gl: vbo dlights refactiring
|
9 months ago |
mittorn
|
3e7847551a
|
ref_gl: add ability to skip uploading unused data (disabled)
|
9 months ago |
mittorn
|
91d92935fa
|
ref_gl: try avoid gpu locking on dlights in vbo renderer
|
9 months ago |
mittorn
|
eff033298a
|
ref_gl: disable singlepass detail renderer, use correct fog color multipliers in VBO
|
9 months ago |
mittorn
|
3a8f4961bc
|
ref_gl: fix rarely broken texturechain on some big maps
|
9 months ago |
mittorn
|
b81f94518a
|
ref_gl: fix out-by-one when all lightstyles are used. Also fix broken in this case in vbo after previous fix
|
9 months ago |
Alibek Omarov
|
a7e84230c3
|
ref: gl: use world version to enable large lightmaps for BSP2 automatically
|
9 months ago |
Alibek Omarov
|
21797f9ac8
|
ref: gl: fix solor to color
|
9 months ago |
mittorn
|
c800b34cd4
|
ref_api: add R_Flush method
|
9 months ago |
Alibek Omarov
|
26d229c8ca
|
engine, ref: RefAPI 5. Simplify remap calls
|
9 months ago |
Alibek Omarov
|
9c66e86be1
|
engine, ref: RefAPI 5. Remove unused calls
|
9 months ago |
Alibek Omarov
|
7e9f87de2d
|
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
|
9 months ago |
Alibek Omarov
|
255773b4de
|
ref: gl: remove useless calls to glGetString if we're running under GL4ES
|
9 months ago |
Alibek Omarov
|
5b73a788da
|
ref: gl: disable unused variable warning for GL functions defintions
|
9 months ago |
Alibek Omarov
|
08dbfc45d3
|
ref: gl: refactor getting edge position, texture and lightmap coords
|
9 months ago |
Andrey Akhmichin
|
16cc0ca0fe
|
ref: gl: gl2_shim: replace "malloc.h" header with ALLOCA_H macro.
|
10 months ago |
Alibek Omarov
|
e481e1d73e
|
ref: gl: enable GL waves with r_ripple
|
10 months ago |
Alibek Omarov
|
6c0eed1b2b
|
ref: gl: allow viewing water textures in their full glory with enabled r_ripple 2
|
10 months ago |
Alibek Omarov
|
a6c67fdf9f
|
ref: gl: upload only part of texture we're using, i.e. 64x64 for 64x64, 128x128 for 128x128
|
10 months ago |