fintelia / terra

A large scale terrain rendering library written in Rust
Apache License 2.0
504 stars 14 forks source link

locked up screen #16

Closed gedw99 closed 2 years ago

gedw99 commented 3 years ago

on mac with 16 gb ram and integrated gpu.

When i ran the demo my Mac completely locked up, and the game moved one frame in 1 minute.

Not sure what is causing it.

fintelia commented 3 years ago

As a guess, does your Mac also have a very high resolution display? I just experimented some on my laptop with an integrated GPU and found it was spending most of its time running pixel shaders.

Could you try running this branch and see if performance is any better? It disables the atmospheric scattering calculation that was running for every pixel on the screen, so it might help things.