Skip to content

Commit

Permalink
Deferred map edge extension rendering (#3880)
Browse files Browse the repository at this point in the history
* Enable drawing into deferred buffers with map edge extension

* dont draw map edge into deferred buffers if its not visible

* map edge extension: move some stuff into FS from GS, fix minimap seams

Note that the performance of the deferred pass is quite poor
Needs config int and widgethandler change

* map edge extension: move some stuff into FS from GS, fix minimap seams

Note that the performance of the deferred pass is quite poor
Needs config int and widgethandler change

* write less deferred buffers like a champ

* Fix deferred drawing, still needing a fix: normals mirroring

* Fix deferred map edge rendering

* fix every f*cking seam I could find
  • Loading branch information
Beherith authored Nov 1, 2024
1 parent 47f4b22 commit fbdc01a
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 47 deletions.
3 changes: 3 additions & 0 deletions luaintro/springconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ Spring.SetConfigInt("MaxDynamicModelLights", 0)
Spring.SetConfigInt("AllowDeferredMapRendering", 1)
Spring.SetConfigInt("AllowDeferredModelRendering", 1)

-- Enables the DrawGroundDeferred event, which is needed for deferred map edge rendering
Spring.SetConfigInt("AllowDrawMapDeferredEvents", 1)

-- Disable LoadingMT because: crashes on load, but fixed in 105.1.1-1422, redisable in 105.1.1-1432
--Spring.SetConfigInt("LoadingMT", 0)

Expand Down
Loading

0 comments on commit fbdc01a

Please sign in to comment.