Skip to content

Conversation

@kblaschke
Copy link
Member

Changes just released in v4.1.6 cherry-picked for master and, where applicable, changed to fit the renderer refactoring where necessary.

@kblaschke kblaschke added this to the 4.2 milestone Nov 28, 2025
@kblaschke kblaschke self-assigned this Nov 28, 2025
@kblaschke kblaschke added the enhancement The feature is considered an enhancement. label Nov 28, 2025
kblaschke and others added 12 commits December 1, 2025 15:39
…hader

Only custom waves set the point size to 2, default waveforms still render the 2x2 pattern when using dots. Other draw calls aren't affected as they only draw lines/triangles, but it's good practice to not leave the uniform in an undefined state.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
All waves were rendered upside-down, breaking presets requiring the wave to be at the top or bottom due to warp movement. Using the flipped transformation matrix for drawing will take care of this globally.

Also fixed two small mistakes regarding operators.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Since this might be vendor-specific behavior, a new API function to configure the X/Y texel offsets has been added.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Fixes "martin - mayday (shifters escape retouched).milk" and probably some others.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
…eadability.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
…eral 1 as exponent

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Previously, if the TextureManager was recreated, e.g. when changing the texture paths, all loaded textures were deleted, even if currently in use by a preset. Storing textures and samplers as shared pointers instead of weak pointers will make sure the objects are kept alive until the preset is unloaded.

Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement The feature is considered an enhancement.

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

[DEV BUG] Incorrect rendering of certain pre-2.0 presets possibly due to default warp shader

2 participants