Rayview now uses the shader manager.

This commit is contained in:
Zed A. Shaw 2025-04-13 22:31:13 -04:00
parent edee3ac0c9
commit 766b20f3f8
5 changed files with 14 additions and 11 deletions

View file

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