noniso skies

This commit is contained in:
Zeno Rogue 2022-12-15 18:59:20 +01:00
parent 839beabbc9
commit 33380fba89
2 changed files with 4 additions and 2 deletions

View File

@ -2456,7 +2456,7 @@ EX void drawqueue() {
#endif
#if MAXMDIM >= 4 && CAP_GL
if(embedded_plane && (hyperbolic || geom3::sph_in_euc()) && !vrhr::rendering()) make_air();
if(embedded_plane && (hyperbolic || geom3::sph_in_euc() || geom3::euc_in_noniso() || geom3::hyp_in_solnih()) && !vrhr::rendering()) make_air();
#endif
#if CAP_VR

View File

@ -69,7 +69,9 @@ EX void delete_sky() {
void compute_skyvertices(const vector<sky_item>& sky) {
skyvertices.clear();
if(!draw_sky) return;
if(vid.wall_height < 0 && geom3::euc_in_hyp()) return; /* just looks bad */
if(vid.wall_height < 0 && geom3::euc_in_hyp()) return; /* just looks bad, hollow horospheres should not have sky */
if(vid.wall_height < 0 && meuclid && geom3::ggclass() == gcNIH) return; /* same */
if(among(geom3::ggclass(), gcSol, gcSolN)) return; /* errors */
int sk = get_skybrightness();