Skip to content

feat: Terrain conforming particles - #3245

Draft
stephanmeesters wants to merge 6 commits into
TheSuperHackers:mainfrom
stephanmeesters:feat/terrain-conforming-particles
Draft

feat: Terrain conforming particles#3245
stephanmeesters wants to merge 6 commits into
TheSuperHackers:mainfrom
stephanmeesters:feat/terrain-conforming-particles

Conversation

@stephanmeesters

@stephanmeesters stephanmeesters commented Sep 1, 2026

Copy link
Copy Markdown

Merge by rebase

Summary

Makes it possible to render particles correctly on uneven terrain.

  • Can be enabled for a particle system by using the new INI option IsGroundConforming.
  • The feature can be enabled by using the define ENABLE_TERRAIN_CONFORMING_PARTICLES.
  • Rendering ground-conforming particles correctly on bridges is out of scope.

Method

Testing

How-to

Using a test build

See this test build.

Using data patch

Building Patch2 with a modification to particle systems see the data PR.

Using code

Alternatively, you can cherry-pick this commit which force-enables the right particles:

git cherry-pick 22dcc0eed

Performance impact

The test build was used to test a moderately heavy scene (3 nuke cannons + 3 nukes shooting at a hill in Alpine Assault) using a Macbook Pro 2013 base spec aka Potato, which showed a 5.5% average FPS loss.

Graphics Settings Resolution Particle Rendering FPS
Lowest 800x600 Original 57
Lowest 800x600 Conforming 56
Very High 800x600 Original 53
Very High 800x600 Conforming 50
Low 1920x1080 Original 24
Low 1920x1080 Conforming 24
Very High 1920x1080 Original 22
Very High 1920x1080 Conforming 20
Very High 3072x1920 Original 9
Very High 3072x1920 Conforming 8

Image gallery

Screenshot From 2026-09-01 19-46-07
More Screenshot From 2026-09-01 19-46-52 Screenshot From 2026-08-22 17-29-21

Todo

  • Add pull ID to commits
  • Clean up commits after review
  • Replicate in Generals

@stephanmeesters stephanmeesters added Enhancement Is new feature or request Gen Relates to Generals ZH Relates to Zero Hour Rendering Is Rendering related labels Sep 1, 2026
@stephanmeesters
stephanmeesters force-pushed the feat/terrain-conforming-particles branch from b535227 to b0d2d9b Compare September 6, 2026 19:11
@stephanmeesters
stephanmeesters force-pushed the feat/terrain-conforming-particles branch from b0d2d9b to 4b2af0a Compare September 6, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Is new feature or request Gen Relates to Generals Rendering Is Rendering related ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant