Home Creators Posts Import Register Favorites Logout

Content

The amplitude of the wavy shorelines and of the wavy shoreline foam varies too much across mipmap levels. The wavy effect of the liquid texture mapping also varies a little between mipmap levels. Both of these inaccuracies must be fixed.

Fixing both issues mentioned above is also a requirement for implementing trilinear dithering of mipmap levels, which liquid surfaces doesn't have yet.

Liquid surfaces lacks anisotropic texturemapping, so they don't look as smooth as they should. This looks specially bad on lava surfaces using QRP HD textures, which have very high contrast. A good fix requires the same screenspace partitioning of spans that the rigid surfaces have, but I'm not sure how much this would slow down the rendering. Also, my spans partitioning algorithm is only used on horizontal surfaces, because it slows down the rendering too much on vertical surfaces, but vertical liquid surfaces would require it for anisotropic texturemapping anyway since maps with non-lightmapped liquid surfaces doesn't feature surface subdivision in BSP worldspace. So, I'm not sure if anisotropic texturemapping would be worth it on liquid surfaces, but I'll investigate it.

There are also some other things to improve and optimize on the liquid rasterization, but those mentioned above are the major ones.

Files

Some Liquid Rasterization Issues

Running in the Retroquad game engine, wip version 0.24.0: https://www.patreon.com/mankrip Hardware: CPU AMD Ryzen 5 PRO 3350G 3.6Ghz 4MB Cache AM4 Motherboard Biostar A320MH DDR4 RAM 16GB 2666MHz DDR4 SSD 256GB Sata 6GB/s Galax GeForce RTX 4060, 8GB, GDDR6 (for video recording only) Notes: The amplitude of the wavy shorelines and of the wavy shoreline foam varies too much across mipmap levels. The wavy effect of the liquid texture mapping also varies a little between mipmap levels. All of these inaccuracies must be fixed. Liquid surfaces lacks anisotropic texturemapping, so they don't look as smooth as they should. This looks specially bad on lava surfaces. A good fix requires the same screenspace partitioning of spans that the rigid surfaces have, but I'm not sure how much this would slow down the rendering.

Comments

No comments found for this post.