stride
stride copied to clipboard
feat: Custom Depth Test Function for Materials
PR Details
Provides the ability for users to set custom depth testing functions per material for special effects
Here, a sphere clipped into another sphere by using the
Greater
depth function
This is often used for bullet impacts, selections in RTS, previews in level editors ...
Related Issue
None afaict.
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [ ] My change requires a change to the documentation.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [x] I have built and run the editor to try this change out.