scp-fs2open / scp-fs2open/fs2open.github.com

FR: Auto-culling for alpha-blended particles that slow down FPS

Open
#4,670 0 comments 0 reactions 0 assignees View on GitHub
discussion graphics
Dominant language
C++
Stars
487
Forks
184
Avg merge
3d 9h
Merged PRs (30d)
44

Description

If the player is next to a ship that is emitting damage spew, and the radii for that ship's damage spew is on the bigger side (> 2.0 meters), there are considerable FSP drops. Video is attached, with FPS drop (60 to mid 30's).

In talking with @EatThePath, the idea arose of making any alpha-blended particles spawn less often or die faster if the framerate is low, or making them subject to a performance setting. Given the recent optimizations to FSO, it might be very useful to investigate of discuss this possible optimization as well.

https://user-images.githubusercontent.com/14077810/190884620-6c7e0508-4294-40a9-ae79-eab47ecb5d13.mp4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.