The raycaster can now pair a floor with a ceiling tile and to demonstrate this I have a blue light that shines on to a stone floor. I also played with just pixelating a regular image rather than painting it and honestly it looks better in a lot of ways.

This commit is contained in:
Zed A. Shaw 2025-05-26 13:59:26 -04:00
parent e015652f4c
commit 931d9493d2
11 changed files with 50 additions and 39 deletions

View file

@ -25,8 +25,6 @@ struct Raycaster {
double $plane_y = 0.66;
sf::Texture $view_texture;
sf::Sprite $view_sprite;
const uint32_t *$floor_texture = nullptr;
const uint32_t *$ceiling_texture = nullptr;
DinkyECS::Entity aiming_at = 0;
std::unique_ptr<RGBA[]> $pixels = nullptr;