Home Creators Posts Import Register Favorites Logout

Content

Well, first the bad news, the 64-units dithering kernel can't be used in the BSP lighting rasterizer. To do that, I'd have to increase the amount of per-pixel instructions, which would slow down the performance.

In the case of the fog and the sky horizon color fading, I only had to add a few extra instructions per span segment, but the amount of per-pixel instructions remained the same, so the performance impact was small.

Anyway, I've implemented the 64-units dithering kernel into the mesh model (MDL & MD5) lighting rasterizer. The difference isn't big yet, because I only implemented it into the brightness component of the lighting, but it does improve the quality a little. However, I'll try to also implement it into the hue & saturation component of the lighting, because the colored lighting doesn't look good enough and I think it can be improved on mesh models.

From the top of my mind, the only other stuff that may benefit from the higher-res dithering kernel is the soft-depth and the alpha blending, but I'm not sure of how much of an improvement that could be.

Comments

No comments found for this post.