summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_bsp.c
AgeCommit message (Collapse)Author
2014-06-17OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1SmileTheory
2014-06-17OpenGL2: Oops, set lightmap alpha to 1.SmileTheory
2014-06-17OpenGL2: Fix bug in ColorToRGBM().SmileTheory
2014-06-17OpenGL2: Set RGBM to use a multiplier of 1, and only use it with HDR lightmaps.SmileTheory
2014-06-17Fix OpenGL2 non-HDR map surface over brightingZack Middleton
Vertex lit map surfaces were saturating to white when r_mapOverBrightBits was increased and r_hdr was disabled. Now the color is normalized like lightmaps and lightgrid when r_hdr is disabled. Which is the same as OpenGL1. Noticeable on misc_model trisoup.
2014-06-17Fix GL2 deluxemap 0,0,0 to 127,127,127Zack Middleton
Checked if first byte was 0 twice instead of checking second byte.
2014-06-17OpenGL2: Calculate bitangent in shader, and store normal/tangent as ↵SmileTheory
normalized byte arrays.
2014-06-17Fix comparing unsigned values to < 0 in gl2Zack Middleton
2014-06-17OpenGL2: Remove srfTriangle_t, and use glIndex_t instead.SmileTheory
2014-06-17OpenGL2: Small optimizations and comments in world VBO creation and surface ↵SmileTheory
merging.
2014-06-17OpenGL2: Prefer VBO/IBO sizes of around 4MB.SmileTheory
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: default to RGBM lightmap, and add r_floatLightmap for old behaviour.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-17Add assignment below declarations otherwise compiling fails with msvcHenry Stratmann III
Signed-off-by: Zack Middleton <zturtleman@gmail.com>
2014-06-17Fix r_mergeLightmaps 0 crashing OpenGL2 rendererZack Middleton
tr.fatLightmapStep was 0 and caused modulus division by 0.
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-03Don't scale shadow multipliers by overbrightbits, and improve documentation.SmileTheory
2013-05-03Starting sunlight experimentation branchSmileTheory
2013-03-27Fix some of the things clang --analyze flaggedTim Angus
2013-02-16Update copyright noticesTim Angus
2013-02-16Remove a few name tagsTim Angus
2013-02-16renderer -> renderergl1, rend2 -> renderergl2Tim Angus