Now I can attach arbitrary shaders to sprites based on things that happen in the world.

This commit is contained in:
Zed A. Shaw 2025-04-20 00:09:56 -04:00
parent bec8fe0a13
commit 787be78a69
6 changed files with 53 additions and 16 deletions

View file

@ -13,7 +13,6 @@ struct Raycaster {
int $pitch=0;
sf::Clock $clock;
std::shared_ptr<sf::Shader> $brightness = nullptr;
std::shared_ptr<sf::Shader> $flame = nullptr;
double $pos_x = 0;
double $pos_y = 0;