Fixed up the floor and ceiling textures to not have seams.

This commit is contained in:
Zed A. Shaw 2025-01-22 06:17:28 -05:00
parent fdc5931b96
commit 5305aea077
8 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -17,7 +17,7 @@ union ColorConv {
}; };
inline uint32_t dumb_lighting(uint32_t pixel, double distance) { inline uint32_t dumb_lighting(uint32_t pixel, double distance) {
if(distance < 0.9) return pixel; if(distance < 1) return pixel;
ColorConv conv{.as_int=pixel}; ColorConv conv{.as_int=pixel};
conv.as_color.r /= distance; conv.as_color.r /= distance;