Skip to content

Conversation

@Popov72
Copy link
Contributor

@Popov72 Popov72 commented Oct 29, 2025

It also fixes a bug in the original implementation of the background material because vBackgroundCenter was only set when REFLECTIONFRESNEL was defined, whereas if you look at the shader code, you will see that this uniform is only used when both REFLECTIONFRESNEL and REFLECTIONFALLOFF are defined, or when OPACITYFRESNEL is defined.

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@georginahalpern
Copy link
Contributor

i would recommend updating the title to mention the bug fix (the floatingorigin change is the less impactful one i would say :) )

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@Popov72 Popov72 changed the title Background material: Fix material not working with floating origin mode Background material: Fix material not working with floating origin mode + fix use of the sceneCenter property Oct 29, 2025
@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@deltakosh deltakosh enabled auto-merge (squash) October 29, 2025 16:39
@bjsplat
Copy link
Collaborator

bjsplat commented Oct 29, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 30, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Oct 30, 2025

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants