summaryrefslogtreecommitdiff
path: root/src/renderergl2
AgeCommit message (Collapse)Author
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.
2013-05-03Use specular texture RGB as specular reflectance, multiplied by per-material ↵SmileTheory
value.
2013-05-03#5889: Do post-processing only on viewport portion of frame buffer.SmileTheory
2013-05-03Don't scale shadow multipliers by overbrightbits, and improve documentation.SmileTheory
2013-05-03Fix zone memory leak in OpenGL2 rendererZack Middleton
meminfo command showed the dynamic renderer zone amount going up by 1824 bytes each time I reloaded map using map command.
2013-05-03Add sunlight/lightmap merging by multiply (r_sunlightMode 1) Merge additive ↵SmileTheory
sunlight and map lighting into one GLSL shader (r_sunlightMode 2) Change single lightmap blends to use lightall
2013-05-03Starting sunlight experimentation branchSmileTheory
2013-03-27Fix some of the things clang --analyze flaggedTim Angus
2013-03-25s/enum/typedef enum/g on uniform_t for glorious fix of mac build. h/t ↵Zachary Slater
MAN-AT-ARMS
2013-03-22Make all GLSL shaders use the same set of uniforms.SmileTheory
2013-03-19Always initialize joint_names in R_LoadIQMZack Middleton
Reported by MAN-AT-ARMS
2013-03-19Fix loading and rendering IQMs with no jointsZack Middleton
2013-03-19Remove RAVENMD4 #defineTim Angus
2013-03-19Support more tcgens in lightall shader.SmileTheory
2013-03-19Remove some more automatic sRGB image flags.SmileTheory
2013-03-19Oops missed a bitTim Angus
2013-03-19Fix USE_FREETYPE breakageTim Angus
2013-03-19Move renderers a bit closer togetherTim Angus
2013-03-19Always reset vertex attrib pointers with animated meshes.SmileTheory
2013-03-19Fix size reserved for IQM jointMats (allocated more than used)Zack Middleton
2013-03-19Fix origin returned by IQM's LerpTagZack Middleton
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-19Fix clampmapped images being always treated as sRGB.SmileTheory
2013-03-19Fix RAVENMD4 warnings in OpenGL2Zack Middleton
2013-03-19Some minor cleanup.SmileTheory
2013-03-19Simplify RE_StretchRaw() with RE_UploadCinematic() and RB_InstantQuad2().SmileTheory
2013-03-19Oops, fix typo.SmileTheory
2013-03-19Simplify previous patch.SmileTheory
2013-03-19Calculate viewport and screen texture coordinates correctly for sun shadows. ↵SmileTheory
This fixes part of #5889.
2013-03-19Move noise function declations to tr_common.hZack Middleton
tr_noise.c is in renderercommon directory, so declare them in header there too.
2013-02-16Update copyright noticesTim Angus
2013-02-16Remove a few name tagsTim Angus
2013-02-16Add renderercommon/tr_common.hTim Angus