summaryrefslogtreecommitdiff
path: root/progs/xdemos/xuserotfont.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-01-03 22:24:44 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-01-03 22:24:44 +0000
commite3748eb19ba444f411ad66905dfddbe809225ca0 (patch)
tree726327849feaf57de43d5992201190042f252020 /progs/xdemos/xuserotfont.h
parent87889aeab46ece5800cca9390fe95e83515b313d (diff)
Added support for floating point depth buffers on Savage4-based
hardware. By also reversing the depth range this can compensate the loss of accuracy of far objects caused by the projective transformation. Software fallbacks work but are slightly slower since floats in a custom (non IEEE) format have to be encoded and decoded. I havn't done anything about polygon offsets yet. There doesn't seem to be an easy way do get it right except making the offset unit as big as the lowest resolution of depth values. For now float depth is disabled by default but can be enabled through driconf (though I have seen only positive effects so far).
Diffstat (limited to 'progs/xdemos/xuserotfont.h')
0 files changed, 0 insertions, 0 deletions