Fixed up the floor and ceiling textures to not have seams.
This commit is contained in:
parent
fdc5931b96
commit
5305aea077
8 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ union ColorConv {
|
|||
};
|
||||
|
||||
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};
|
||||
conv.as_color.r /= distance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue