Skip to content

Repository files navigation

App

Rust Linux Rust Windows Rust macOS

Simple Renderer Wgpu

A modern 3D/2D render engine that uses wgpu

[dependencies]
wgpu = "29"
imgui-wgpu = "0.28.0"
imgui = "0.12"
winit = "0.30.9"
legion = {version = "0.4.0", features = ["extended-tuple-impls"]}
cgmath = "0.18.0"

Features

  • Ecs
  • Phong shading
  • Imgui
  • Mesh entity
  • Light entity
  • SkyBox
  • IBL
  • PBR
  • Exposure
  • Tonemapping
  • Skybox selctor
  • xyz Axis
  • Docking Gui
  • Mesh Bounding box
  • Entity selection
  • Outline selection
  • Hierarchy entity
  • Import gltf with hierarchy
  • Material Editor per Submesh
  • Material gltf Transmission
  • Material gltf Volume
  • Material gltf Ior
  • Material gltf TextureTransform
  • Material gltf TextureCoords[0,1]
  • Material gltf Sheen
  • Environment rotation
  • Mesh Instance
  • Direct Light shadow
  • Object toggle visiblility
  • SSAO
  • [ ]

Platforms

  • Windows
  • Linux
  • MacOs

Compiling and running

git clone https://github.com/AlessandroScrem/app.git
cd app

cargo build
cargo test --lib
cargo run --release -- -v

// run with options 
cargo run --release -- --help
cargo run --release -- -w<WIDTH> -h<HEIGHT> --verbose

Screenshots

Hello PBR Cube

Known issues

Fixed Prioriry Description
todo Low Background color is influenced by final filtering (gamma, color filtering)
todo Low Environment / Skybox orientation different fromGltfViewer -90 Y
fixed High Panic if click on bbox ui if no meshes in scene
fixed Low WGSL std140 / std430 uniform/storage buffer require allignemets to 16 bytes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages