Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-17 | Fix stencil shadows not drawing if has 500 or more vertexes | Zack Middleton | |
Stencil shadow is not drawn if a mesh, or multiple meshes with the same entity and shader, have more than 500 vertexes. The issue is caused by storing the projected positions in the tess vertex buffer. Use a new array instead. | |||
2015-03-17 | Don't set fog image border color | Zack Middleton | |
GL1's R_CreateImage sets GL texture to 0 before it ends, so border color is not applied to the fog image. GL_CLAMP is not used for fog image (in either renderer), so it would presumably not be used even if applied to the fog image. | |||
2015-03-17 | Remove unfinished OpenGL display list code | Zack Middleton | |
It seems unlikely anyone is going to do anything with this aside from stub it out in OpenGLES ports. | |||
2015-03-17 | Correct a few OpenGL variable types | Zack Middleton | |
Affectly no change for desktop OpenGL. Use correct types for OpenGLES support. | |||
2015-03-17 | Always use GL_Cull to change cull state | Zack Middleton | |
Manually changing cull state can cause later GL_Cull calls to not change the cull state. | |||
2015-03-17 | Add function for clearing global shader instead of duplicating the code | Zack Middleton | |
2015-03-17 | Fix renderergl1 warnings | Tim Angus | |
2015-03-17 | Fix a few warnings | Tim Angus | |
2015-03-17 | Port COM_ParseExt fixes to CommaParse | Zack Middleton | |
2014-08-28 | Fix incorrect rgbGen const reading uninitialized memory | Zack Middleton | |
If ParseVector fails, color isn't fully set. | |||
2014-08-28 | Use SDL 2 instead of SDL 1.2 | Tim Angus | |
2014-06-17 | Fix potential buffer overflow caused by long tcMod args | Zack Middleton | |
Found by Coverity. | |||
2014-06-17 | Make R_LerpTag return qfalse if MDR tag does not exist | Zack Middleton | |
Elite Force SDK has trap_R_LerpTag return void, so this shouldn't cause issues for iostvef. Allows new games to check if a tag exists in a MDR model. | |||
2014-06-17 | Remove unused extern qboolean charSet | Zack Middleton | |
No variable even exists. | |||
2014-06-17 | Bunch of comment fixes | Tequila | |
2014-06-17 | Parse q3map_sunExt in OpenGL1 too | Zack Middleton | |
Used for drawing sun, which is supported by both OpenGL1 and OpenGL2. OpenGL2 already parses it. | |||
2014-06-17 | Fix typo in animMap and videoMap warnings | Zack Middleton | |
2014-06-17 | Fix R_GetEntityToken ending prematurely | Zack Middleton | |
If spawn var key or value is "" it caused R_GetEntityToken (available to cgame, used by opengl2) to stop parsing, whereas game VM would continue. Changed it to match parsing used for game VM (see G_GET_ENTITY_TOKEN in code/server/sv_game.c). The map poq3dm5 has a "wait" key with value "". | |||
2014-06-17 | Check for buffer overflow for rail/lightning surfaces | Zack Middleton | |
2014-06-17 | r_noborder changes require a restart | IR4T4 | |
2014-06-17 | Fix white flash levelshot bug in OpenGL1 | Zack Middleton | |
If you tried to draw the last loaded image, gl texture 0 (which is appearently white) was used because renderer thought the image was already bound. Why OpenGL1 renderer binds texture 0, I have no idea. It's been removed from OpenGL2. | |||
2014-06-17 | Remove R_AddAnimSurfaces and R_MakeAnimModel prototypes | Zack Middleton | |
2014-06-17 | #6069: Remove md4 model support. | SmileTheory | |
2014-06-17 | End current draw surface before drawing cinematic | Zack Middleton | |
Fixes drawing StretchPic *before* CIN_DrawCinematic resulting in cinematic being drawn before the StretchPic. | |||
2014-06-17 | Fix flares being invisible after vid_restart | Zack Middleton | |
flareCoeff was only set if r_flareCoeff cvar was set as modified. Cvars are set as modified when created or changed. | |||
2014-06-17 | Remove vertexLightmap from textureBundle_t, it's never qtrue | Zack Middleton | |
2014-06-17 | Remove unused shader state code from tr_local.h | Zack Middleton | |
2014-06-17 | Initialize blendIndexesType and blendWeightsType | Zack Middleton | |
2014-06-17 | Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTE | Zack Middleton | |
2014-06-17 | IQM int/float vertex arrays were already swapped | Zack Middleton | |
2014-06-17 | Add support for IQM int blend indices and float blend weights | Zack 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-17 | Support IQMs with joints and no poses | Zack Middleton | |
2014-06-17 | Revert "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-17 | Fix crash caused by too many surfaces in skin | Zack Middleton | |
2014-06-17 | Fix IQM tess buffer overflow | Zack 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-17 | Only allow model meshes to have SHADER_MAX_VERTEXES - 1 vertexes | Zack Middleton | |
The last index is used to check for buffer overflows. See RB_CheckOverflow and RB_EndSurface. | |||
2014-06-17 | Don't try to fog flares with fogNum 0 | Zack 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-17 | Improve warning for shader missing opening brace | Zack Middleton | |
2014-06-17 | Check for shaders without closing brace | Zack 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-31 | Fix null model axis disappearing if sky is in view | Zack Middleton | |
2013-05-31 | Catch more bad shader syntax cases | Zack 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-31 | clean up return statements a bit more | /dev/humancontroller | |
2013-05-31 | drop some useless return statements | /dev/humancontroller | |
2013-05-31 | reduce the amount of compiler warnings for variable shadowing | /dev/humancontroller | |
2013-05-31 | Allow drawing sun in OpenGL1 renderer | Zack Middleton | |
Removed #if 0 ... #endif around RB_DrawSun(). Merged improvements and changes from OpenGL2 renderer. | |||
2013-05-31 | Remove unused renderCommandList variable from renderers | Ensiform | |
2013-05-31 | Show surface names in excessive vertexes and triangles warnings | Zack Middleton | |
Add newlines to renderergl2's R_LoadMD3 vertex and triangle warnings. | |||
2013-03-27 | Fix some of the things clang --analyze flagged | Tim Angus | |
2013-03-19 | Always initialize joint_names in R_LoadIQM | Zack Middleton | |
Reported by MAN-AT-ARMS | |||
2013-03-19 | Fix loading and rendering IQMs with no joints | Zack Middleton | |