Skip to content

Make the "plant in the wind" movements obey world time #5862

Description

@Alayan-stk-2

When a standard pause is issued, the pseudo-random movement of tree leaves and other vegetation stops. However, in replay mode, it doesn't obey the speed settings introduced in #5859.

From what I've been told, it's governed by a shader effect, but I haven't investigated yet.

Activity

  1. added this to the STK Evolution milestone on Sep 14, 2026
  2. SvenAndreasBelting commented on Sep 14, 2026

    @SvenAndreasBelting
    Contributor

    When this gets changed we probably should also look to slightly improve the movement of the shader in general.

    I already took a small look at the shader and the way the movement of the shader is determined isn't great at the moment.

    The problem is that the frequency of the (I believe) sine waves is very small, leading to the issue that medium to high poly objects get displaced strangly.

    I think currently the movement is done by two sine waves, perhaps it would be better to switch to something else like a 3D perlin noise.
    Or at least tweak the frequency and speed of the sine waves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions