Skip to content

Fix alpha test for standard PBR shader#321

Merged
robertosfield merged 1 commit intovsg-dev:masterfrom
AnyOldName3:patch-1
Oct 15, 2024
Merged

Fix alpha test for standard PBR shader#321
robertosfield merged 1 commit intovsg-dev:masterfrom
AnyOldName3:patch-1

Conversation

@AnyOldName3
Copy link
Contributor

It looks like the existing line was copied and pasted from the Phong shader, but the variables don't match. Phong's material's equivalent is called pbr in the PBR shader, and while diffuseColor is a real variable in the PBR shader, it's not been initialised when this line runs, so baseColor should be used instead.

It looks like the existing line was copied and pasted from the Phong shader, but the variables don't match. Phong's `material`'s equivalent is called `pbr` in the PBR shader, and while `diffuseColor` is a real variable in the PBR shader, it's not been initialised when this line runs, so `baseColor` should be used instead.
@robertosfield robertosfield merged commit 629ccb6 into vsg-dev:master Oct 15, 2024
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