bevy/crates/bevy_pbr
Robert Swain 3c6fad269b
Fix shader_material_glsl example after #9254 (#9311)
# Objective

- Fix shader_material_glsl example

## Solution

- Expose the `PER_OBJECT_BUFFER_BATCH_SIZE` shader def through the
default `MeshPipeline` specialization.
- Make use of it in the `custom_material.vert` shader to access the mesh
binding.

---

## Changelog

- Added: Exposed the `PER_OBJECT_BUFFER_BATCH_SIZE` shader def through
the default `MeshPipeline` specialization to use in custom shaders not
using bevy_pbr::mesh_bindings that still want to use the mesh binding in
some way.
2023-07-31 13:14:40 +00:00
..
src Fix shader_material_glsl example after #9254 (#9311) 2023-07-31 13:14:40 +00:00
Cargo.toml Use GpuArrayBuffer for MeshUniform (#9254) 2023-07-30 13:17:08 +00:00