Skip to content

junglie85/wgpu-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wgpu Samples

Wgpu samples based on Learn OpenGL.

Samples

I've tried to follow the order of the original tutorials as best as possible but have added or reorganised samples where I think it makes sense. The following sections serve as a contents page of sorts. To run a specific sample, type:

cargo run --bin SAMPLE_NAME

The SAMPLE_NAME to run is shown next to the respective sample in the below list. For example, to run the Hello triangle sample, type:

cargo run --bin hello-triangle

Getting started

Lighting

Model loading

I've combined the Assimp, Mesh and Model sections into one complete sample.

Acknowledgements

It would be rude to not acknowledge, up front, the key resources that I have used to learn WGPU and graphics programming.

  • Learn OpenGL. Thank you Joey de Vries for the awesome work you've done explaining GPU graphics programming and the OpenGL API.
  • Learn Wgpu. Thank you Benjamin Hansen for the amazing kickstart your knowledge of wgpu has given me.

License

My code is made available under the terms of the MIT license.

The original Learn OpenGL code is copyright Joey de Vries and made available under the terms of the CC BY-NC 4.0 license (human readable format, full license). Images and other media from the original Learn OpenGL tutorials are made available under the terms of the CC BY 4.0 license (human readable format, full license).

About

Wgpu samples based on learnopengl.com

Resources

License

Stars

Watchers

Forks

Languages