Skip to content

Commit

Permalink
Add examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Sep 10, 2024
1 parent 38a70dd commit cfa9328
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ This function can then be executed on the GPU, ensuring massive parallelism and

To learn more about how to write fragment shaders, check out [The Book of Shaders](https://thebookofshaders.com/).

The following is a collection of examples all made using Svader.

![Shader example collage](https://raw.githubusercontent.com/sockmaster27/svader/master/resources/collage.png)

The source code for these examples can be found in the [`src/routes/`](https://github.com/sockmaster27/svader/tree/master/src/routes) directory.

## Usage

To use a fragment shader component, you first need to decide whether to use WebGL or WebGPU.
Expand Down

0 comments on commit cfa9328

Please sign in to comment.