The reload mechanism for shaders is a bit better, but still to make them unique.
This commit is contained in:
parent
08bc48df3d
commit
19b9a4affd
7 changed files with 68 additions and 44 deletions
|
@ -393,7 +393,6 @@ void Raycaster::update_level(GameLevel level) {
|
|||
}
|
||||
|
||||
void Raycaster::init_shaders() {
|
||||
std::string the_fucking_name{"rayview_sprites"};
|
||||
$brightness = shaders::get_shared(the_fucking_name);
|
||||
$brightness = shaders::get("rayview_sprites");
|
||||
$brightness->setUniform("source", sf::Shader::CurrentTexture);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue