Skip to content

Instantly share code, notes, and snippets.

View viridia's full-sized avatar

Talin viridia

View GitHub Profile
//! This example shows how to manually render 3d items using "mid level render apis" with a custom
//! pipeline for 3d meshes.
//! It doesn't use the [`Material`] abstraction, but changes the vertex buffer to include vertex color.
//!
//! [`Material`]: bevy::pbr::Material
use bevy::{
core_pipeline::core_3d::{Transparent3d, CORE_3D_DEPTH_FORMAT},
pbr::{
DrawMesh, MeshPipeline, MeshPipelineKey, MeshPipelineViewLayoutKey, RenderMeshInstances,