depth_bias
is ignored on StandardMaterial
#14169
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.14.0
Relevant system information
What you did
Spawned a small plane mesh with a transparent ring texture and a
depth_bias
off32::INFINITY
.What went wrong
Z-fighting:
![image](https://private-user-images.githubusercontent.com/37475791/346231165-a76bc105-38df-4609-a531-74e35b34e1cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzUyMTQsIm5iZiI6MTcyMDU3NDkxNCwicGF0aCI6Ii8zNzQ3NTc5MS8zNDYyMzExNjUtYTc2YmMxMDUtMzhkZi00NjA5LWE1MzEtNzRlMzViMzRlMWNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxMjgzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYxZDMwMmUwYzkyNjZkZDFlYWYxOTI3MjA1ZWFhZTk0NTNjZmMwOTg0ZTg5NDhlOTlhMzFiOTQ3OGQyNTAxYzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OdRk8yB9OvKHpFQD8yH_h6tielznoHsvw2egxPAaxKg)
Additional information
This was previously functional on Bevy 0.13.2. As a "workaround" (probably how I should've done it from the beginning) I made a different camera on a higher render layer to render the ring on top of all other 3d meshes.
The text was updated successfully, but these errors were encountered: