Skip to content

Extended ps_ssfx_gloss_minmax for "Glossy Puddles" addon - #659

Merged
themrdemonized merged 5 commits into
themrdemonized:prfrom
LVutner:for-da-puddles
Sep 7, 2026
Merged

themrdemonized merged 5 commits into
themrdemonized:prfrom
LVutner:for-da-puddles

Conversation

@LVutner

@LVutner LVutner commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The Glossy Puddles addon uses shader_param_5 to change reflectivity of the puddles. Many addons shares the same shader_param_N constants, and that can lead into compability issues.

So, I decided to reuse ps_ssfx_gloss_minmax. Originally, it was an FVec3, so I changed it to FVec4 in order to store an additional value for Glossy Puddles addon.

Note:
This requires the author to swap shader_param_5.w for ssfx_gloss.w in the terrain shaders.
Variable has min value of 0.0 and max of 1.0 - which should be sufficient.

2d01c9cb7a9aef494d9a33dddb87abdd

@themrdemonized
themrdemonized changed the base branch from all-in-one-vs2022-wpo to pr September 7, 2026 05:19
@themrdemonized
themrdemonized merged commit d4b5666 into themrdemonized:pr Sep 7, 2026
17 of 18 checks passed
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