Skip to content

Conversation

AdrianTheFrog
Copy link
Contributor

Removes the dark band around Gaussian Splat models against other objects.
Tested in Built-In render pipeline, URP, and HDRP.
Screenshot from 2025-07-15 11-04-33
Screenshot from 2025-07-15 11-06-46

The opacity around the edges can also be increased (without darkening edges) by changing
return float4(GammaToLinearSpace(col.rgb/col.a),col.a);
to
return float4(GammaToLinearSpace(col.rgb/col.a),saturate(col.a*1.5));
but I'm unsure exactly what the purpose of this was before.

@wells2kb
Copy link

It is impossible to make skyboxes look good without this. Hope this gets merged :)

@aras-p aras-p merged commit 4822f2e into aras-p:main Aug 5, 2025
@aras-p
Copy link
Owner

aras-p commented Aug 5, 2025

Yeah the original alpha multiplication by 1.5 I have added because it "felt better" around the edges of some splats I tested, but overall it probably causes more problems than it is worth. Thanks for the PR!

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.

3 participants