summaryrefslogtreecommitdiff
path: root/src/renderergl2
AgeCommit message (Collapse)Author
2014-06-17OpenGL2: Prefer VBO/IBO sizes of around 4MB.SmileTheory
2014-06-17OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.SmileTheory
2014-06-17OpenGL2: Some small shader optimizations.SmileTheory
2014-06-17OpenGL2: Revisit fragment tangent space calculation, and remove tangent ↵SmileTheory
space lighting.
2014-06-17OpenGL2: Reduce glsl shader count by using a uniform to disable textures.SmileTheory
2014-06-17Remove vertexLightmap from textureBundle_t, it's never qtrueZack Middleton
2014-06-17Remove unused shader state code from tr_local.hZack Middleton
2014-06-17Merge last two commits into renderergl2Zack Middleton
2014-06-17IQM int/float vertex arrays were already swappedZack Middleton
2014-06-17Add support for IQM int blend indices and float blend weightsZack Middleton
Integer blend indices are converted to bytes at load, ioq3 doesn't allow more than 128 joints. Heavily based on code by @zippers.
2014-06-17Support IQMs with joints and no posesZack Middleton
2014-06-17OpenGL2: Merge bsp surface structs into a single struct, and more cleanup.SmileTheory
2014-06-17OpenGL2: Use an idea from ETXreal and separate world VBO into separate VBOs ↵SmileTheory
by shader.
2014-06-17OpenGL2: Clean up texmod calculations, and improve vertex animation handling.SmileTheory
2014-06-17OpenGL2: Fix TCGEN_ENVIRONMENT stages not rendering correctly.SmileTheory
2014-06-17Revert "5097 - Menu corrupted on start (on IRIX)"Zack Middleton
Calling glClear( any bits ) in GL_SetDefaultState makes connect screen black using the proprietary NVidia driver on Windows and GNU/Linux. This reverts commit 92573270de98a20cd78842bd2043cfe07bc5b2e1.
2014-06-17OpenGL2: default to RGBM lightmap, and add r_floatLightmap for old behaviour.SmileTheory
2014-06-17OpenGL2: Remove AGEN_FRESNEL(superceded by cubemap patch), and some small ↵SmileTheory
fixes and optimizations.
2014-06-17OpenGL2: Disable GL_ARB_seamless_cube_map by default, caused huge frame ↵SmileTheory
drops on some hardware
2014-06-17OpenGL2: reduce varying usage in lightall shader.SmileTheory
2014-06-17OpenGL2: Fix for "unsupported framebuffer format" bugSmileTheory
2014-06-17OpenGL2: Some shader cleanupSmileTheory
2014-06-17OpenGL2: Speed up fog shader slightly.SmileTheory
2014-06-17OpenGL2: Fix inaccurate RGBM calculation.SmileTheory
2014-06-17OpenGL2: Use RGBM instead of RGBE encoding for lightmaps.SmileTheory
2014-06-17#5979: Cubemap support for opengl2.SmileTheory
2014-06-17Fix crash caused by too many surfaces in skinZack Middleton
2014-06-17Fix upside-down SSAO.SmileTheory
2014-06-17#5999: OpenGL2: Don't use lightall shader with deforms or adjustColorsForFog.SmileTheory
2014-06-17#6004: OpenGL2: Make any CGEN_LIGHTING_DIFFUSE stages use lightall shader.SmileTheory
2014-06-17Add assignment below declarations otherwise compiling fails with msvcHenry Stratmann III
Signed-off-by: Zack Middleton <zturtleman@gmail.com>
2014-06-17Misc fixes to IBO code to correctly use sizeof(glIndex_t)Anthony Pesch
2014-06-17Fix r_mergeLightmaps 0 crashing OpenGL2 rendererZack Middleton
tr.fatLightmapStep was 0 and caused modulus division by 0.
2014-06-17Fix r_nocurves in OpenGL2 rendererZack Middleton
Check r_nocurves in surface cull. While r_nocurves is enabled, don't use merged surfaces because merged curves would be renderer. (note: surface merging is enabled by r_mergeLeafSurfaces)
2014-06-17Fix r_speeds 4 in OpenGL2 rendererZack Middleton
2014-06-17Fix IQM tess buffer overflowZack Middleton
Set the variables that use tess.numVertexes after calling RB_CHECKOVERFLOW() as it may set tess.numVertexes to 0! Could cause visual issues and error "RB_EndSurface() - SHADER_MAX_VERTEXES hit".
2014-06-17Only allow model meshes to have SHADER_MAX_VERTEXES - 1 vertexesZack Middleton
The last index is used to check for buffer overflows. See RB_CheckOverflow and RB_EndSurface.
2014-06-17Don't try to fog flares with fogNum 0Zack Middleton
fogNum 0 means no fog. Shaders don't try to apply fog color if fogNum is 0. This was done to make things more consistent and fix a crash in iortcw MP using a user made map on GNU/Linux x86_64.
2014-06-17Improve warning for shader missing opening braceZack Middleton
2014-06-17Check for shaders without closing braceZack Middleton
Shaders without closing brace can eat shaders in other files. Pass depth to SkipBracedSection instead of reparsing text as it messed up parse line numbers.
2013-05-31Fix null model axis disappearing if sky is in viewZack Middleton
2013-05-31Catch more bad shader syntax casesZack Middleton
Use to only ignore file in cases where both { and \0 were missing after shader name. Now ignore file when either are missing, such as "}\0".
2013-05-31drop some useless return statements/dev/humancontroller
2013-05-31reduce the amount of compiler warnings for variable shadowing/dev/humancontroller
2013-05-31fix some "\n"-related stuff/dev/humancontroller
add missing "\n"s to some Printf()-like calls (in Rend2) drop erroneous "\n"s from some Error()-like calls (in Rend2) drop erroneous "\n" from a Com_Error() call (in vm_sparc.c)
2013-05-31Suppress warningTim Angus
2013-05-31Clarify comment for OpenGL2's RDF_NOFOGZack Middleton
2013-05-31Remove RF_SUNFLARE from OpenGL2 rendererZack Middleton
RF_SUNFLARE didn't do anything after commit "Merge Reaction renderer features, remove "#ifdef REACTION"s".
2013-05-31Remove unused renderCommandList variable from renderersEnsiform
2013-05-31Show surface names in excessive vertexes and triangles warningsZack Middleton
Add newlines to renderergl2's R_LoadMD3 vertex and triangle warnings.