SmileTheory
3a47192ba8
Use specular texture RGB as specular reflectance, multiplied by per-material value.
2013-05-03 00:32:59 -07:00
SmileTheory
aff3f18101
#5889 : Do post-processing only on viewport portion of frame buffer.
2013-04-26 18:49:48 -07:00
SmileTheory
8270d54a25
Don't scale shadow multipliers by overbrightbits, and improve documentation.
2013-04-22 21:52:16 -07:00
Zack Middleton
319df2d4d7
Fix zone memory leak in OpenGL2 renderer
...
meminfo command showed the dynamic renderer zone amount going up by 1824 bytes each time I reloaded map using map command.
2013-04-10 23:21:40 -05:00
SmileTheory
6a763f0671
Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git into suntest
2013-04-02 00:18:24 -07:00
SmileTheory
28e14c4546
Add sunlight/lightmap merging by multiply (r_sunlightMode 1)
...
Merge additive sunlight and map lighting into one GLSL shader (r_sunlightMode 2)
Change single lightmap blends to use lightall
2013-04-02 00:17:24 -07:00
Tim Angus
98360bcd57
Fix some of the things clang --analyze flagged
2013-03-26 16:50:03 +00:00
SmileTheory
66acde6d60
Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git into suntest
2013-03-25 21:05:27 -07:00
Zachary Slater
01efc26654
s/enum/typedef enum/g on uniform_t for glorious fix of mac build. h/t MAN-AT-ARMS
2013-03-25 14:28:01 -07:00
SmileTheory
8b23985358
Make all GLSL shaders use the same set of uniforms.
2013-03-20 22:53:30 -07:00
Zack Middleton
98dda7758f
Always initialize joint_names in R_LoadIQM
...
Reported by MAN-AT-ARMS
2013-03-18 15:55:25 -05:00
Zack Middleton
bf962c516d
Fix loading and rendering IQMs with no joints
2013-03-18 14:13:09 -05:00
Tim Angus
ecd50f01c2
Remove RAVENMD4 #define
2013-03-18 19:05:51 +00:00
SmileTheory
e14a814ba2
Support more tcgens in lightall shader.
2013-03-14 23:11:27 -07:00
SmileTheory
9eef320c91
Remove some more automatic sRGB image flags.
2013-03-12 22:00:51 -07:00
Tim Angus
bf25c27105
Oops missed a bit
2013-03-12 21:20:33 +00:00
Tim Angus
3e92679100
Fix USE_FREETYPE breakage
2013-03-12 19:41:52 +00:00
Tim Angus
37c69a8009
Move renderers a bit closer together
2013-03-12 17:52:29 +00:00
SmileTheory
41985945f6
Always reset vertex attrib pointers with animated meshes.
2013-03-11 22:46:21 -07:00
Zack Middleton
89ee8b050f
Fix size reserved for IQM jointMats (allocated more than used)
2013-03-08 15:28:27 -06:00
Zack Middleton
8aa6efe7b6
Fix origin returned by IQM's LerpTag
...
It use to return pose joint's offset from base at the lerped frame, now it returns the joint's origin at the lerped frame.
Patch by Axel Isouard and Zack Middleton.
2013-03-08 13:47:16 -06:00
SmileTheory
e6e0d47099
Fix clampmapped images being always treated as sRGB.
2013-03-07 14:23:28 -08:00
SmileTheory
fb6b08bdd6
Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git
2013-03-06 21:00:21 -08:00
Zack Middleton
a737d442a0
Fix RAVENMD4 warnings in OpenGL2
2013-03-06 17:52:06 -06:00
SmileTheory
fbe56e4fa1
Some minor cleanup.
2013-03-06 02:02:01 -08:00
SmileTheory
027af8e6cc
Simplify RE_StretchRaw() with RE_UploadCinematic() and RB_InstantQuad2().
2013-03-06 00:54:56 -08:00
SmileTheory
11e83b2ee3
Oops, fix typo.
2013-03-05 20:21:03 -08:00
SmileTheory
7c04002b87
Simplify previous patch.
2013-03-05 19:52:11 -08:00
SmileTheory
2153fc4671
Calculate viewport and screen texture coordinates correctly for sun shadows. This fixes part of #5889 .
2013-03-05 01:41:51 -08:00
Zack Middleton
c7059fbf28
Move noise function declations to tr_common.h
...
tr_noise.c is in renderercommon directory, so declare them in header there too.
2013-02-27 15:35:02 -06:00
Tim Angus
d201443350
Remove a few name tags
2013-02-16 21:03:56 +00:00
Tim Angus
2da0fd6de8
Add renderercommon/tr_common.h
2013-02-16 20:58:04 +00:00
Tim Angus
93e6183ce3
Move some things into renderercommon
2013-02-16 12:15:36 +00:00
Zack Middleton
92573270de
5097 - Menu corrupted on start (on IRIX)
2013-02-15 20:14:02 -06:00
Tim Angus
f6fb9eb602
renderer -> renderergl1, rend2 -> renderergl2
2013-02-15 23:46:37 +00:00