
Bevy pbr materials
Guides an agent through Bevy 0.20 PBR materials, lights, and WESL shader errors
Bevy pbr materials is an open-source agent skill for developer tools. It is available on Claude Code and Cursor.
- Scripts
- None
- Platforms
- Claude Code, Cursor
- GitHub stars
- 38
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Bevy pbr materials
This skill gives a coding agent reference knowledge for physically based rendering in Bevy 0.20. It covers spawning meshes with StandardMaterial, writing custom Material types that bind uniforms through AsBindGroup and use WESL shaders, and configuring lights for shadow maps and contact shadows. It also covers camera-side options such as ContactShadows and ScreenSpaceTransmission, and spawning an Atmosphere entity.
The skill is mostly a migration and troubleshooting guide. It lists renamed fields and removed APIs from Bevy 0.18 to 0.19 and from 0.19 to 0.20, including the move from naga_oil directives to WESL imports and the change to glTF material sub-asset paths. Rust code samples show the current patterns, and a separate reference file covers the Material trait, lighting, and mesh primitives.
It is written for Rust projects using Bevy and expects the agent to edit source and shader files in an assets folder. The skill has no scripts and does not call external services.
When your agent uses it
Use when spawning `Mesh3d` with `StandardMaterial`, writing a custom `Material` with `AsBindGroup` and a `.wesl` shader, enabling `shadow_maps_enabled` / `contact_shadows_enabled` on lights, adding `ContactShadows` or `ScreenSpaceTransmission` to a `Camera3d`, spawning an `Atmosphere` entity, loading glTF `#Material0/std` sub-assets, or fixing `#import` / `#ifdef` shader errors after the WESL switch in Bevy 0.20.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 4 files (29 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the raea plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raeaOr copy only this skill to ~/.claude/skills/bevy-pbr-materials:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-pbr-materials &&
cp -R "$tmp/skills/bevy/pack/bevy-pbr-materials" ~/.claude/skills/bevy-pbr-materials &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/bevy-pbr-materials inside it instead.
Copy the skill folder to ~/.agents/skills/bevy-pbr-materials to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-pbr-materials &&
cp -R "$tmp/skills/bevy/pack/bevy-pbr-materials" ~/.agents/skills/bevy-pbr-materials &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/bevy-pbr-materials inside it instead.
Copy the skill folder to ~/.cursor/skills/bevy-pbr-materials to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-pbr-materials &&
cp -R "$tmp/skills/bevy/pack/bevy-pbr-materials" ~/.cursor/skills/bevy-pbr-materials &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/bevy-pbr-materials inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-pbr-materialsOr copy the folder to ~/.gemini/skills/bevy-pbr-materials yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bevy-pbr-materials:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-pbr-materials &&
cp -R "$tmp/skills/bevy/pack/bevy-pbr-materials" ~/.copilot/skills/bevy-pbr-materials &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/bevy-pbr-materials inside it instead.
Get the folder:
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.gitThen copy raea-skills/skills/bevy/pack/bevy-pbr-materials into your agent's skills folder as bevy-pbr-materials. Agents that support SKILL.md read one folder per skill.
What it does
- StandardMaterial setup
- Shows how to spawn a mesh with a physically based material and tune base color, roughness, and metallic values.
- Custom Material authoring
- Explains defining a Material with AsBindGroup uniforms and pointing it at a WESL fragment shader.
- Light and shadow options
- Covers shadow map and contact shadow fields on point, directional, and spot lights.
- WESL shader migration
- Lists how naga_oil directives such as #import and #ifdef map to WESL syntax in Bevy 0.20.
- Version upgrade notes
- Summarizes renamed fields and removed APIs across the Bevy 0.18 to 0.20 releases.
- Atmosphere and glass rendering
- Describes spawning an Atmosphere entity and enabling screen-space transmission for translucent materials.
Good for
- Make a mesh look metallic with a custom roughness value in Bevy
- Write a custom Bevy material that tints a mesh through a WESL shader
- Fix a shadows_enabled compiler error after upgrading to Bevy 0.19
- Convert a naga_oil #import line to WESL import syntax
- Load a glTF material as a StandardMaterial handle in Bevy 0.20
- Enable contact shadows on a directional light and camera
Bevy pbr materials FAQ
Which Bevy version does Bevy pbr materials target?
It targets Bevy 0.20 and includes migration notes from 0.18 and 0.19.
Does the skill run any scripts or external tools?
No. It has no scripts and contains reference guidance and code samples only.
What should I do when a shader fails with an #import error?
The skill says naga_oil is gone in 0.20, so imports are rewritten as WESL import statements and shader files use the .wesl extension.
Why does transparent glass look flat after upgrading?
In Bevy 0.20 ScreenSpaceTransmission is opt-in, so it must be added to the camera or transmissive materials.
How do I install Bevy pbr materials in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/bevy-pbr-materials to use it in all your projects, or to .claude/skills/bevy-pbr-materials in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.
Does Bevy pbr materials run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Bevy pbr materials?
Claude Code and Cursor. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Bevy pbr materials?
The closest alternatives to Bevy pbr materials are Bevy rendering, Bevy vfx, Bevy assets, Bevy migration 0 19 to 0 20 and Bevy migration 0 17 to 0 18.
Where this comes from
- Description: from the skill's own SKILL.md.
More from shinyobjectz/raea-skills

Check and consult a project's generated vocabulary before naming anything
- Open source
- 38 GitHub stars
- Knowledge and memory

Blank template for authoring new raea skills with a standard section layout
- Open source
- 38 GitHub stars
- Developer tools

Lets an agent write and render video, motion graphics and 3D scenes as React code
- Open source
- 38 GitHub stars
- Design and media

Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version
- Open source
- 38 GitHub stars
- Developer tools

Guides an agent through accessibility design and audits for Bevy 0.20 games
- Open source
- 38 GitHub stars
- Developer tools

Guides an agent through Bevy 0.20 animation: graphs, blending, events and easing
- Open source
- 38 GitHub stars
- Developer tools

