1
0
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:
Zeno Rogue
2019-08-25 19:14:03 +02:00
parent 4d01632bb6
commit 02269267c9
6 changed files with 101 additions and 24 deletions

View File

@@ -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) {