1
0
forked from 0ad/0ad

Changed default DepthTextureBits again. Should fix #180.

This was SVN commit r4893.
This commit is contained in:
Ykkrosh 2007-02-10 20:53:48 +00:00
parent 49f7f31298
commit 4883dd015c

View File

@ -82,7 +82,12 @@ ShadowMap::ShadowMap()
m->EffectiveWidth = 0;
m->EffectiveHeight = 0;
m->UseDepthTexture = false;
m->DepthTextureBits = 24;
m->DepthTextureBits = 0;
// DepthTextureBits: 24/32 are very much faster than 16, on GeForce 4 and FX;
// but they're very much slower on Radeon 9800.
// In both cases, the default (no specified depth) is fast, so we just use
// that by default and hope it's alright. (Otherwise, we'd probably need to
// do some kind of hardware detection to work out what to use.)
}