EmbarkStudios / rust-gpu

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

Home Page:https://shader.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve documentation to include visual of what example app should look like?

JulianKnodt opened this issue · comments

I was hoping to learn how to write rust-gpu shaders, so I was going through the tutorial, and have to run the CPU version on my old mac air.

I think for rendering, it may be useful to include images, as I'm not sure if this output looks correct:

image

Specifically it may be useful to include an image after the initial build steps to make sure that it's running correctly.

commented

Really late reply, but this looks like you are just outputting the sun in the sky example. This looks like the output when I was testing the hot reloading and removed the added sky color at the end of the shader
(something like lin + l0 is what it should say)

at this point completely forgot what I was doing, but I'm pretty sure I didn't edit any of the shaders, it's just the output looked wrong after following the tutorial so I had no idea what was happening.