Skip to content

[1.4] Performance tweaks

Latest
Compare
Choose a tag to compare
@Lutymane Lutymane released this 08 Jan 19:17
· 17 commits to main since this release
2f1c097

Features

  • New renderer with progressive enhancement for utilizing of OffscreenCanvas in a worker thread
  • Shader parsing is moved to a worker thread as well
  • Added manual shader recompilation

⚠️ Issues ⚠️

Large shaders may take long to recompile and since the GPU resources are not properly shared between main and worker threads there will still be a UI freeze.

To eliminate this issue you need to disable "Hardware Acceleration" in settings of your browser. Alternatively opt into manual recompilation.

Changes

  • Textures now have mipmaps generated by default, so you can use textureLod() to sample the levels