mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
improved detailed_shader
This commit is contained in:
@@ -845,6 +845,11 @@ int read_cheat_args() {
|
||||
glhr::debug_gl = true;
|
||||
#endif
|
||||
}
|
||||
else if(argis("-dsgl")) {
|
||||
#if CAP_GL
|
||||
detailed_shader = true;
|
||||
#endif
|
||||
}
|
||||
else if(argis("-mgen-off")) {
|
||||
PHASEFROM(3);
|
||||
cheat();
|
||||
|
4
glhr.cpp
4
glhr.cpp
@@ -510,8 +510,8 @@ EX void set_modelview(const glmatrix& modelview) {
|
||||
auto& cur = current_glprogram;
|
||||
if(!cur) return;
|
||||
|
||||
if(detailed_shader) println(hlog, "\n*** ENABLING MODELVIEW:\n", modelview.as_stdarray());
|
||||
if(detailed_shader) println(hlog, "\n*** ENABLING PROJECTION:\n", projection.as_stdarray());
|
||||
if(detailed_shader) println(hlog, "*** ENABLING MODELVIEW:", kz(modelview.as_stdarray()));
|
||||
if(detailed_shader) println(hlog, "*** ENABLING PROJECTION:", kz(projection.as_stdarray()));
|
||||
|
||||
if(using_eyeshift) {
|
||||
glmatrix mvp = modelview * eyeshift;
|
||||
|
Reference in New Issue
Block a user