summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_glsl.c
AgeCommit message (Collapse)Author
2015-03-17fixed formatting of a few GLSL float constants remove unneeded version ↵Anthony Pesch
number from texturecolor shader call GLSL_VertexAttribPointers after attribute arrays have been enabled
2014-08-28OpenGL2: Add fourth cascade for sun shadows, and adjust sun shadow cvar ↵SmileTheory
defaults.
2014-08-28Don't load external GLSL files by defaultZack Middleton
External GLSL should probably only be used for development testing, not released products. The GLSL files are tied to the code, and the code changes some what often. Fixes using OpenArena 0.8.8 which has incompatible GLSL files in a pk3.
2014-06-17OpenGL2: Remove sRGB support, replace with gamma cvars.SmileTheory
2014-06-17OpenGL2: Parallax corrected cubemap (cheaper trick)SmileTheory
2014-06-17OpenGL2: Add normalScale and parallaxDepth stage keywords and helper cvars.SmileTheory
2014-06-17OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1SmileTheory
2014-06-17don't call va each frame in GLSL_VertexAttribPointersAnthony Pesch
2014-06-17OpenGL2: Support GL_ARB_vertex_type_2_10_10_10_rev for ↵SmileTheory
normals/tangents/lightdirs
2014-06-17OpenGL2: Match glsl data type names: matrix_t -> mat4_t, vec*i_t -> ivec*_tSmileTheory
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: 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: Use RGBM instead of RGBE encoding for lightmaps.SmileTheory
2014-06-17#5979: Cubemap support for opengl2.SmileTheory
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-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-22Make all GLSL shaders use the same set of uniforms.SmileTheory
2013-03-19Always reset vertex attrib pointers with animated meshes.SmileTheory
2013-02-16renderer -> renderergl1, rend2 -> renderergl2Tim Angus