Commit Graph
50 Commits
Author SHA1 Message Date
SmileTheory 7672533e8f OpenGL2: Prefer VBO/IBO sizes of around 4MB. 2013-11-05 20:07:10 -08:00
SmileTheory 8c3ae8d7d2 OpenGL2: Reimplement soft overbright to avoid a framebuffer blit. 2013-11-05 00:08:59 -08:00
SmileTheory a7c5fc0ee7 OpenGL2: Some small shader optimizations. 2013-11-04 22:50:53 -08:00
SmileTheory 0e25d0357b OpenGL2: Revisit fragment tangent space calculation, and remove tangent space lighting. 2013-11-04 21:53:05 -08:00
SmileTheory 3846c115e6 OpenGL2: Reduce glsl shader count by using a uniform to disable textures. 2013-11-03 19:34:22 -08:00
SmileTheory 535d0ea70e OpenGL2: Merge bsp surface structs into a single struct, and more cleanup. 2013-10-15 01:19:16 -07:00
SmileTheory 01efe4a538 OpenGL2: Use an idea from ETXreal and separate world VBO into separate VBOs by shader. 2013-10-14 03:58:13 -07:00
SmileTheory 08fcecc829 OpenGL2: Clean up texmod calculations, and improve vertex animation handling. 2013-10-14 01:55:54 -07:00
SmileTheory f8355ba2fb OpenGL2: Fix TCGEN_ENVIRONMENT stages not rendering correctly. 2013-10-10 03:41:31 -07:00
SmileTheory c6774cf113 OpenGL2: default to RGBM lightmap, and add r_floatLightmap for old behaviour. 2013-10-07 01:46:50 -07:00
SmileTheory acbeca6042 OpenGL2: Remove AGEN_FRESNEL(superceded by cubemap patch), and some small fixes and optimizations. 2013-09-24 03:29:49 -07:00
SmileTheory 82be4e667f OpenGL2: Disable GL_ARB_seamless_cube_map by default, caused huge frame drops on some hardware 2013-09-20 17:20:36 -07:00
SmileTheory 3ab895d1cd OpenGL2: reduce varying usage in lightall shader. 2013-09-17 23:52:40 -07:00
SmileTheory cbd05da5d1 OpenGL2: Fix for "unsupported framebuffer format" bug 2013-09-17 15:33:46 -07:00
SmileTheory 42501db862 OpenGL2: Some shader cleanup 2013-09-16 23:41:04 -07:00
SmileTheory 5985cca2e6 OpenGL2: Speed up fog shader slightly. 2013-09-16 23:20:44 -07:00
SmileTheory a408a2bdae OpenGL2: Fix inaccurate RGBM calculation. 2013-09-16 14:26:42 -07:00
SmileTheory e80faf812e OpenGL2: Use RGBM instead of RGBE encoding for lightmaps. 2013-09-16 05:57:14 -07:00
SmileTheory 7e875c6941 #5979: Cubemap support for opengl2. 2013-09-16 00:54:26 -07:00
SmileTheory 311376af8a Fix upside-down SSAO. 2013-08-23 01:51:58 -07:00
SmileTheory d46916082d #5999: OpenGL2: Don't use lightall shader with deforms or adjustColorsForFog. 2013-08-23 01:35:17 -07:00
SmileTheory ebd164deaf #6004: OpenGL2: Make any CGEN_LIGHTING_DIFFUSE stages use lightall shader. 2013-08-23 00:55:28 -07:00
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
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
SmileTheory 66acde6d60 Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git into suntest 2013-03-25 21:05:27 -07:00
SmileTheory 8b23985358 Make all GLSL shaders use the same set of uniforms. 2013-03-20 22:53:30 -07:00
SmileTheory e14a814ba2 Support more tcgens in lightall shader. 2013-03-14 23:11:27 -07:00
SmileTheory 369956eb63 Fix compilation in VS2008. 2013-03-14 21:36:44 -07:00
SmileTheory 9eef320c91 Remove some more automatic sRGB image flags. 2013-03-12 22:00:51 -07:00
SmileTheory 41985945f6 Always reset vertex attrib pointers with animated meshes. 2013-03-11 22:46:21 -07:00
SmileTheory f789cff079 Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git 2013-03-07 14:24:19 -08: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
SmileTheory 61248cb4c5 Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git 2013-03-06 02:02:21 -08: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
SmileTheory bff574e04e #5878: Ensure surfaces are drawn before executing full-screen render commands, and when at the end of the render command list. 2013-02-12 20:53:59 -08:00
SmileTheory 649f0c351f Merge branch 'reactionmerge' 2013-02-04 20:34:58 -08:00
SmileTheory 9bace5bac7 Merge Reaction renderer features, remove "#ifdef REACTION"s 2013-02-04 20:33:58 -08:00
SmileTheory cda1c46e3a Merge branch 'HEAD' of https://github.com/ioquake/ioq3.git into suntest 2013-01-30 17:28:34 -08:00
SmileTheory 974b938f8f Starting sunlight experimentation branch 2013-01-30 17:27:36 -08:00
SmileTheory ed87774a77 #5866: Fix surface culling through portals, and use the correct number of frustum planes. 2013-01-09 18:30:12 -08:00
SmileTheory 3d311bdbe3 #5863 - Use proper texture coordinates for alpha tested materials when doing depth prepass. 2013-01-07 21:29:19 -08:00
SmileTheory af77b93597 #5818 - Modular renderer and Rend2 support for MSVC. 2013-01-07 20:30:49 -08:00