Re: WineD3D: paletted texture emulation using fragment shaders
17 Dec
2006
17 Dec
'06
10:43 a.m.
On 16.12.2006 22:24, Roderick Colenbrander wrote:
+ "MUL index.x, index.x, constants.x;\n" /* Scale the index by 255/256 */ + "ADD index.x, index.x, constants.y;\n" /* Add a bias of '0.5' in order to sample in the middle */
FWIW, this can be conflated to "MAD index.x, index.x, constants.x, constants.y;". -f.r.
6934
Age (days ago)
6934
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Richter