Skip to content

Conversation

@atlv24
Copy link
Contributor

@atlv24 atlv24 commented Jan 8, 2026

Objective

Solution

  • new crate bevy_material with MaterialProperties struct that lets one define when a material draws, how it behaves, what shaders it uses, specialization functions, and bind group layouts expected.

Testing

@atlv24 atlv24 marked this pull request as draft January 8, 2026 12:54
@atlv24 atlv24 added A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 8, 2026
@alice-i-cecile alice-i-cecile added the M-Release-Note Work that should be called out in the blog due to impact label Jan 8, 2026
@alice-i-cecile
Copy link
Member

@atlv24 is this ready for review? You've added the label but it's still in draft mode :)

@Zeophlite
Copy link
Contributor

@atlv24 is this ready for review? You've added the label but it's still in draft mode :)

Waiting on #22408 to merge first

@atlv24
Copy link
Contributor Author

atlv24 commented Jan 9, 2026

the label is "Needs Review" not "Ready for Review" :P

It is reviewable, but i recommend reviewing and letting char's PR merge first.

@Zeophlite
Copy link
Contributor

you can view a clean diff here: https://github.com/tychedelia/bevy/compare/type-erase-more-materials...atlv24:ad/material2?expand=1

Love how simple this is!

@atlv24
Copy link
Contributor Author

atlv24 commented Jan 9, 2026

Yeah im pretty happy with the diff being 1,227 additions and 607 deletions, and the majority of the additions are license files and the new tomls

@atlv24
Copy link
Contributor Author

atlv24 commented Jan 9, 2026

I really appreciate all the exploratory work you did in this space btw @Zeophlite ! It was very useful for determining where we needed another "cut" so to speak to make the crate fall out more cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen M-Release-Note Work that should be called out in the blog due to impact S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants