mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-11 11:13:01 +00:00
slr:: drawing of looped images, better shader in general, special sightrange setting
This commit is contained in:
@@ -371,6 +371,11 @@ void display_data::set_projection(int ed) {
|
||||
glUniform1f(glhr::current->uPRECZ, solv::PRECZ);
|
||||
}
|
||||
|
||||
if(glhr::new_shader_projection == glhr::shader_projection::standardSL2) {
|
||||
glUniform1f(glhr::current->uIndexSL, 0);
|
||||
glUniform1i(glhr::current->uIterations, slr::steps);
|
||||
}
|
||||
|
||||
auto cd = current_display;
|
||||
|
||||
if(!shaderside_projection || glhr::new_shader_projection == glhr::shader_projection::flatten) {
|
||||
|
||||
Reference in New Issue
Block a user