mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed the clipping in Poincare Ball model
This commit is contained in:
parent
e898f0ccf0
commit
4affb01062
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user