Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable interpolation and use variable FPS in GPUParticles by default #70777

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 19, 2023

  1. Disable interpolation and use variable FPS in GPUParticles by default

    This fixes various issues caused by simulating particles at a low framerate
    (then interpolating the result), such as:
    
    - Curve properties (scale, color) not being interpolated.
    - Jitter at low speed scale, or when moving particles with global coordinates.
    - Collision issues (tunneling, poor friction/bounce response).
    
    From testing on two different GPUs (GeForce GTX 1080 and Radeon RX 6900 XT),
    simulating particles at a lower framerate then interpolating the result had
    very little performance benefit in most cases.
    
    Instead, it's better to enable interpolation and reduce simulation rate
    only when it provides a tangible performance benefit.
    This may be the case with 100,000+ particles, not so much with
    a few thousand particles.
    Calinou committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    fb59589 View commit details
    Browse the repository at this point in the history