GitXplorerGitXplorer
b

webgpu_examples_c

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
8978461180068ad4f15f087db18a19f0d937a1ab

chapter 'fract()' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
fe2308de74f480b2e089d601f2df87e4c9f6dc12

chapter 'add colors' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
8bfb99863a113295bf6764d36a1af69cbba7b9e3

chapter '1/x' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
881999c9d3f21d4f47032b78d67a0dc2a4645f2a

chapter 'sin() and iTime' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
573f2b555b5e8decbc6dc9f091805795dbaf73f2

chapter 'smoothstep()' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago
Unverified
304c4de4c921828f34ace411b1a3ca4f1e237708

chapter 'step()' of 'An introduction to Shader Art Coding'

bbobajeff committed a year ago

README

The README file for this repository.

webgpu examples c

Note: I'm freezing the wgpu version at v0.17.0.2 because the webgpu native API is still very much in flux and it's alot of work to update all of the examples for breaking changes.

This project is more of an extension on the webgpu_fundamentals_c. The examples here aren't from https://webgpufundamentals.org/ and are more exersizes I've been trying or in the case of the shadertoy example just something I've ported. Still just learning wgpu.

building

get the source

git clone git@github.com:bobajeff/webgpu_examples_c.git

get the dependecies

  • wgpu-native v0.17.0.2 (required) -

build the project

In source directory run:

cmake -B build
cmake --build build

running examples

Run the executables found in their respective build subdirectories or run the test_build.sh script