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

fixed Poincare ball in nonisotropic

This commit is contained in:
Zeno Rogue 2019-11-09 12:33:00 +01:00
parent e17747791e
commit dac132b094

View File

@ -123,7 +123,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
else if(glhr::noshaders) {
shader_flags |= SF_PIXELS;
}
else if(pmodel == mdDisk && GDIM == 3 && !spherespecial) {
else if(pmodel == mdDisk && GDIM == 3 && !spherespecial && !nonisotropic) {
coordinator += "t /= (t[3] + uAlpha);\n";
vsh += "uniform mediump float uAlpha;";
shader_flags |= SF_DIRECT | SF_BOX;