materials

Implement Bevy 0.15 materials with StandardMaterial, custom traits, and AsBindGroup bindings.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill materials-gregoryraymond
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: materials
Source: https://github.com/gregoryraymond/claude-agents-and-skills/tree/main/skills/materials
Command: npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill materials-gregoryraymond

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bevy 0.15 material workflows are fragmented across material definitions, shader binding, and vertex attributes. This skill provides a consolidated reference for implementing StandardMaterial, custom Material trait, and AsBindGroup boundaries to streamline rendering development.

Core Features & Use Cases

  • Guides StandardMaterial field usage and textures
  • Defines how to implement a custom Material trait and its shader integration
  • Demonstrates AsBindGroup attribute usage and WGSL binding groups
  • Use Case: implement and render advanced materials in a Bevy 0.15 scene

Quick Start

Set up a Bevy 0.15 material system with StandardMaterial, a custom material trait, and AsBindGroup bindings for your rendering pipeline.

Frequently Asked Questions about materials

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement custom materials in Bevy 0.15?

StandardMaterial in Bevy 0.15 provides built-in fields and textures for common rendering workflows. It serves as the starting point before implementing custom Material traits and AsBindGroup bindings for advanced shading.

How do I bind uniforms and textures in Bevy WGSL shaders using AsBindGroup?

AsBindGroup attributes map Rust struct fields to WGSL binding groups in Bevy. You annotate fields with bind types, automatically generating the binding group layout for your custom materials and shader references.

Does Bevy 0.15 StandardMaterial support custom textures and field definitions?

Yes, Bevy 0.15 StandardMaterial supports various field definitions and textures. You can configure these fields directly to satisfy typical rendering workflows before needing a fully custom Material trait implementation.

What is the best way to structure WGSL binding groups for a Bevy custom material?

The best way to structure WGSL binding groups for a Bevy custom material is to align your shader bindings with AsBindGroup attributes on your Rust struct, ensuring fields, binding groups, and shader references match correctly.

Why are my Bevy custom material shader bindings not working?

Bevy custom material shader bindings often fail when AsBindGroup attributes do not match your WGSL binding group declarations. Verify that your material field definitions, binding groups, and shader references align correctly.