1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/shaders
Ykkrosh 14a73204dd Disable distance-sorting for most transparent objects
Distance-sorting of the alpha-blend pass of objects like trees and grass
is quite expensive (partly the cost of sorting, partly the cost of being
unable to batch efficiently), and the effect on visual quality is
typically very hard to see (the alpha-test pass does most of the work
for
objects that aren't fully translucent). That's not a good tradeoff, so
turn it off.

Leave distance sorting enabled for e.g. waterfalls since it might make a
more noticeable difference for them.

This was SVN commit r13753.
2013-08-24 14:48:02 +00:00
..
arb Removes shadow casting and receiving on preview entities, patch started by ericb, fixes #1771 2013-08-18 22:17:57 +00:00
effects Disable distance-sorting for most transparent objects 2013-08-24 14:48:02 +00:00
glsl Fix a swap between reflections and refractions in config.cfg . Disabling "Render Reflections" now reverts to the skybox for better results. 2013-08-24 14:44:38 +00:00
program.rng Add support for custom vertex attributes and array-of-matrix uniforms in GLSL. 2012-04-12 14:10:02 +00:00