quakeforge/libs/video/renderer/glsl
Bill Currie bce7d5b832 [renderer] Clean up use of vup/vright/vpn
This moves the common camera setup code out of the individual drivers,
and completely removes vup/vright/vpn from the non-software renderers.
This has highlighted the craziness around AngleVectors with it putting
+X forward, -Y right and +Z up. The main issue with this is it requires
a 90 degree pre-rotation about the Z axis to get the camera pointing in
the right direction, and that's for the native sw renderer (vulkan needs
a 90 degree pre-rotation about X, and gl and glsl need to invert an
axis, too), though at least it's just a matrix swizzle and vector
negation. However, it does mean the camera matrices can't be used
directly.

Also rename vpn to vfwd (still abbreviated, but fwd is much clearer in
meaning (to me, at least) than pn (plane normal, I guess, but which
way?)).
2022-03-14 09:45:27 +09:00
..
glsl_alias.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
glsl_bsp.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
glsl_draw.c [video] Use views instead of conwidth and conheight 2021-07-10 18:04:34 +09:00
glsl_iqm.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
glsl_lightmap.c [util] Make bsp_t counts size_t 2021-08-01 21:54:05 +09:00
glsl_main.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
glsl_particles.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
glsl_screen.c [renderer] Move frame rendering out a layer. 2022-03-08 01:04:40 +09:00
glsl_shader.c [util] Make hash-tables semi-thread-safe 2020-03-25 15:43:16 +09:00
glsl_sprite.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
glsl_textures.c [glsl] Fix some const-correct issues for textures 2021-12-24 06:45:13 +09:00
namehack.h [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
qfglsl.c Separate render and presentation initialization 2019-07-09 01:00:47 +09:00
quakeforge.glsl Switch QF's quaterions from wxyz to xyzw. 2018-10-12 14:33:55 +09:00
vid_common_glsl.c [renderer] Clean out unneeded input.h includes 2021-10-01 13:11:14 +09:00