summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shader.c
AgeCommit message (Collapse)Author
2014-06-17Fix potential buffer overflow caused by long tcMod argsZack Middleton
Found by Coverity.
2014-06-17Have OpenGL2 "map $lightmap" check for NULL tr.lightmaps tooZack Middleton
Zero length lightmap lump will have NULL tr.lightmaps. OpenGL1 already has this check, because r_vertexLight 1 would crash Team Arena. OpenGL2 does not disable loading lightmaps when r_vertexLight is 1 though, so it does not have that issue.
2014-06-17OpenGL2: Remove sRGB support, replace with gamma cvars.SmileTheory
2014-06-17Fix typo in animMap and videoMap warningsZack Middleton
2014-06-17OpenGL2: Set default normal/specular in RE_RegisterShaderFromImageMAN-AT-ARMS
2014-06-17OpenGL2: Add normalScale and parallaxDepth stage keywords and helper cvars.SmileTheory
2014-06-17#6077: OpenGL2: Add r_ignoreDstAlpha.SmileTheory
2014-06-17OpenGL2: Calculate bitangent in shader, and store normal/tangent as ↵SmileTheory
normalized byte arrays.
2014-06-17OpenGL2: Reduce glsl shader count by using a uniform to disable textures.SmileTheory
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-17OpenGL2: Remove AGEN_FRESNEL(superceded by cubemap patch), and some small ↵SmileTheory
fixes and optimizations.
2014-06-17#5979: Cubemap support for opengl2.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-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-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-03Don't scale shadow multipliers by overbrightbits, and improve documentation.SmileTheory
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-03-27Fix some of the things clang --analyze flaggedTim Angus
2013-03-19Support more tcgens in lightall shader.SmileTheory
2013-03-19Remove some more automatic sRGB image flags.SmileTheory
2013-03-19Fix clampmapped images being always treated as sRGB.SmileTheory
2013-02-16Update copyright noticesTim Angus
2013-02-16renderer -> renderergl1, rend2 -> renderergl2Tim Angus