ITADN

Bevy 13: Shader changes

#14ClosedStay1444 创建于 2024-03-01
S
Stay1444commented
- Custom 2d and 3d mesh/material shaders should now use bind group 2 @group(2) @binding(x) for their bound resources, instead of bind group 1. - Many internal pieces of rendering code have changed so that mesh data is now in bind group 1, and material data is now in bind group 2. Semi-custom rendering setups (that don’t use the Material or Material2d APIs) should adapt to these changes. [Migrating from 0.12 to 0.13](https://bevyengine.org/learn/migration-guides/0-12-to-0-13/)
关闭于 2024-07-06 3 条评论