Ian Curtis
|
6f6c98c671
|
The translator map seems to work with paletted colour values too, and the result is not clamped. Colours are passed to the GPU as unsigned bytes to multiplying by 16 will overflow, so we do the logic in the shader. If we passed floats we could skip the shader logic.
|
2020-05-11 09:05:46 +00:00 |
|
Ian Curtis
|
864bb36b5a
|
Technically backface culling should cull polys when the dot product = 0, since when it equals 0 the polys is perpendicular to the camera and thus invisible. When you complete sega rally2 (if you can get that far lol) the champagne is invisible. The reason is because all the face normals are 0. So when multiplied by the model matrix they are still 0 and get culled. Tweaking the condition to only cull polys when greater than 0 fixes this, and allows these 'bad' polys to render as they do on the model3.
|
2019-01-16 01:07:56 +00:00 |
|
Ian Curtis
|
538a714086
|
Fade out microtextures with higher textures LODs. Fixes incorrectly applied microtextures in LA machineguns.
|
2018-10-23 00:16:23 +00:00 |
|
Ian Curtis
|
3eeec35e7c
|
Correctly emulate the real3d pro-1000 texture modes in our shader.
|
2018-10-13 13:29:45 +00:00 |
|
Ian Curtis
|
b5f9ad9651
|
Quad rendering engine. Set QuadRendering = 1 in the ini file to use, or -quad-rendering at the end of the command line to use.
|
2018-09-13 12:50:34 +00:00 |
|