1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 18:59:59 +00:00

fixed rug shading

This commit is contained in:
Zeno Rogue 2020-03-29 12:02:57 +02:00
parent 425cbef846
commit cfffdbcf24

View File

@ -1273,7 +1273,7 @@ EX void drawRugScene() {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glDisable(GL_BLEND);
current_display->next_shader_flags = GF_LIGHTFOG | GF_TEXTURE;
current_display->next_shader_flags = GF_VARCOLOR | GF_TEXTURE;
glhr::set_depthtest(true);
glhr::set_depthwrite(true);
glDepthFunc(invert_depth ? GL_GREATER : GL_LESS);