[rust-gpu] How do I run/build my own shaders locally?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

    Long story short, I watched this video about shader programs, and got inspired to try writing shader programs in Rust. I came across rust-gpu which seems to fit the bill. My problem is that I don't really understand its documentation for this particular part.

  • I think I managed to get through the compilation step (my current project files are here), but I don't know what I need to render the shaders. Doesn't need to be anything fancy, a window doing nothing other than running one shader program would be plenty, but I could use some advice at this stage. Anything I'm doing wrong? What should my next step be?

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts