bevyengine / bevyengine/bevy

Add a toon shader

Open
#16,171 5 comments 7 reactions 0 assignees View on GitHub
A-Rendering C-Feature D-Shaders D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

Toon shading (also called cel shading) is a very common and popular effect for stylized games, discretizing colors to create an effect like that seen in Windwaker.

![Image](https://github.com/user-attachments/assets/69ffb6f0-f494-4323-9a4e-b1ccbd1694d8)

## What solution would you like?

We create and maintain a high quality example teaching users how to do this.

## What alternative(s) have you considered?

We could add a configurable built-in way to do this.

I think that an example is probably more valuable here, as the level of configurability needed is super high. If it turns out to be popular and feasible, we can later change the example into a feature.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reviewing Bevy’s existing examples and shader documentation to determine where a maintained toon-shading example belongs; done means a high-quality example demonstrates the effect and its scope is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.