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

Materials: Fix depth state not set correctly with transparent meshes #13547

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Materials: Fix depth state not set correctly with transparent meshes #13547

merged 1 commit into from
Feb 20, 2023

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Feb 20, 2023

See https://forum.babylonjs.com/t/flag-depth-writemask-not-reset-after-draw-mesh/38377

The depth write mask was not reset correctly when a transparent material was forcing depth writting.

@bjsplat
Copy link
Collaborator

bjsplat commented Feb 20, 2023

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 Feb 20, 2023

@sebavan sebavan enabled auto-merge February 20, 2023 11:35
@sebavan sebavan merged commit cfa4a15 into BabylonJS:master Feb 20, 2023
@Popov72 Popov72 deleted the fix-depthwrite-transp branch April 20, 2023 09:23
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