Rayview now uses the shader manager.
This commit is contained in:
parent
edee3ac0c9
commit
766b20f3f8
5 changed files with 14 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue