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

Backport shader and random texture fixes from master to 4.1.x for v4.1.3 #861

Merged

Conversation

kblaschke
Copy link
Member

Two small but important functionality fixes backported from master which will greatly improve the 4.1 release series.

Had to simulate it with the "x * exp2(exp)" expression in GLSL, as GLSL only supports integer types as exponents in its native ldexp implementation, while HLSL solely uses floats.
@kblaschke kblaschke added this to the 4.1.3 milestone Dec 16, 2024
@kblaschke kblaschke self-assigned this Dec 16, 2024
Always use lower-case unqualified names to find and cache the actual textures.
If a preset uses different long-form samplers for a single random slot, this will result in a failure, e.g. using both "sampler_rand00_something" and "sampler_rand00_else". As this also isn't supported by Milkdrop and would create a conflict situation, we don't care.
@kblaschke kblaschke force-pushed the v4.1.x-backport-master-fixes branch from 3215522 to 327fad5 Compare December 16, 2024 16:53
@kblaschke kblaschke merged commit 327fad5 into projectM-visualizer:v4.1.x Dec 19, 2024
9 checks passed
@kblaschke kblaschke deleted the v4.1.x-backport-master-fixes branch December 19, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants