mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed rug shading
This commit is contained in:
parent
425cbef846
commit
cfffdbcf24
2
rug.cpp
2
rug.cpp
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user