fixed the clipping in Poincare Ball model

This commit is contained in:
Zeno Rogue 2019-11-16 01:40:49 +01:00
parent e898f0ccf0
commit 4affb01062
1 changed files with 1 additions and 1 deletions

View File

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