Module twilight: Change committed
coderjoe at icculus.org
coderjoe at icculus.org
Tue Jan 13 09:56:52 EST 2004
Commiter : coderjoe
CVSROOT : /cvs/cvsroot/twilight
Module : twilight
Commit time: 2004-01-13 14:56:51 UTC
Log message:
Add SmartFlt-based resample function. it could probably do with a few optimizations.
set r_smartflt to 1 to enable, and use the r_smartflt_y, r_smartflt_cb, and r_smartflt_cr cvars
to set the thresholds for the three channels. changes only take effect on the next texture upload.
Y is essentially brightness, Cb is the blue color, and Cr is the red color. the C* channels change
values faster than the Y channel. (also, Y is mostly green.)
it would be nice to be able to use this for some other textures, too. :)
Modified files:
src/renderer/textures.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20040113.145651.coderjoe.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040113/ad6db786/attachment.diff>
More information about the twilight-commits
mailing list