Ian Curtis
|
82ac030dff
|
calculate the correct number of mipmap textures
|
2017-03-24 16:51:52 +00:00 |
|
Ian Curtis
|
17f878421b
|
Originally to do mipmapping, I just used the base texture and then let the h/w automatically generate the mipmap chain. I wasn't sure the real3d api even exposed to the programmer the ability to directly set the mipmap data. Anyway, as pointed out by HarryTuttle scud actually uses darker mipmaps for an effect on the water. This patch uses the uses the actual mipmap data from the real3d memory. Only tested scud, so hopefully I didn't cause any cataclysmic errors :)
|
2017-03-24 13:38:20 +00:00 |
|
Ian Curtis
|
a310e8e5cf
|
minor optimisations
|
2016-11-28 17:32:25 +00:00 |
|
Ian Curtis
|
54c405709f
|
Need to walk back in memory and check the previous texture tiles to see if they overlap with the current textures being invalidated. If they overlap they must be cleared too. Algorithm is a bit brute forcy and more expensive than I'd like but it fixes the bad textures in Spikeout.
|
2016-11-22 20:30:10 +00:00 |
|
Ian Curtis
|
d799c63b1a
|
cache bound texture
|
2016-06-10 11:29:20 +00:00 |
|
Ian Curtis
|
65d6342947
|
remove dead code
|
2016-05-21 16:26:00 +00:00 |
|
Ian Curtis
|
fd3eb49369
|
support 4 bit textures
|
2016-05-21 15:50:54 +00:00 |
|
Ian Curtis
|
3693a51cbb
|
Make sure texture is bound to correct texture unit, stop flashing micro textures in daytona
|
2016-05-04 16:30:15 +00:00 |
|
Ian Curtis
|
ecea4cad56
|
change tex format 4
|
2016-04-04 10:21:34 +00:00 |
|
Ian Curtis
|
e1278f4451
|
allow 8 bit mono textures to be contour textures, fixes a bunch of missing transparency in harley la riders
|
2016-03-27 08:39:40 +00:00 |
|
Ian Curtis
|
4992e59673
|
Cache rom models, for better performance.
|
2016-03-26 22:44:26 +00:00 |
|
Bart Trzynadlowski
|
34301e97e1
|
Adding new 3D engine by Ian Curtis. Old engine moved to Graphics/Legacy3D/.
|
2016-03-21 04:10:14 +00:00 |
|