Commit graph

66 commits

Author SHA1 Message Date
KrimZon
71ecb90233 Post Processing to do waterwarp in hardware when glslang is available
Currently has some kind of bug causing a program link error with no message.

gl_rmain.c
added post processing code, for waterwarp

gl_draw.c
glquake.h
initialises a texture number for use in post processing

gl_vidcommon.c
added function pointer for qglCopyTexImage2D
and its intialisation

glquake.h
put Cl before Co in the defines of gl* to qgl*

gl_rmain.c
glquake.h
gl_vidcommon.c
added a function in gl_rmain.c to init the shaders for post processing, and called it from GL_CheckExtensions


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-12 22:15:50 +00:00
Spoike
071a7cefe1 Changed gl->qgl.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@763 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-07 03:16:44 +00:00
KrimZon
4b60b739f7 Added GL_ARB_shader_objects extension code in glsupp.h
Added init of the used functions to GL_CheckExtensions and some functions for the simplifying api to gl_vidcommon.c
Added the function declarations and other defines for that interface to glquake.h


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 23:34:42 +00:00
Spoike
9db52890b2 Added profiling code, added schematics, drawflat, and stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@654 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-15 19:53:30 +00:00
Spoike
0202601875 glPolygonOffset added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@632 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-11 16:45:38 +00:00
Spoike
ec3169941f Minor code cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@607 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:44:29 +00:00
Spoike
7a5b5d220b Cleaned up. Part way through zym models.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 01:23:45 +00:00
Spoike
76b15ade25 Added support for GL_EXT_compiled_vertex_array
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:07:44 +00:00
Spoike
6f84b3c3f3 Adding scissor support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:55:41 +00:00
Spoike
4f36d50f60 Few bug fixes and some q3 compatable shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 16:10:14 +00:00
Spoike
4d528922fd plugins
capture_codec tga/png/jpg
Changed intensity of hud images so that high-gamma settings work... (maybe too much)
Small progs changes that fixes hexenc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 07:24:59 +00:00
Spoike
ea5c476ced I need to commit more often...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-10 06:32:29 +00:00
Spoike
af8b141be8 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-26 03:34:26 +00:00
Spoike
c0c2130978 Adding stuff like specular highlights - required changes to texture loading to prevent gamma adjustments on all textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@203 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:20:04 +00:00
Spoike
b0fb7f242c Err... How'd that get there?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@68 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-27 00:49:50 +00:00
Spoike
8aa0eee611 Initial checkin of OpenGL renderer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-22 22:29:09 +00:00