jadedbay / bevy_procedural_grass

A bevy plugin for rendering grass
Apache License 2.0
53 stars 3 forks source link

Bevy 0.13 update #1

Open EmiOnGit opened 8 months ago

EmiOnGit commented 8 months ago

Kind reminder that it would be awesome if this crate also upgrades to the new bevy version :)

jadedbay commented 8 months ago

Thanks, I've already got updated everything but there's an issue with globals not being accessible in the vertex shader: https://github.com/bevyengine/bevy/pull/12032, so just waiting on 0.13.1.

EmiOnGit commented 8 months ago

Are you using the globals besides the time? I had the same problem in warblers_grass and just decided to push my own globals as a uniform into the shader. Really wasn't that much code.

If you upload your code, I'd pr that part if you want to.

jadedbay commented 8 months ago

Yea I was planning on doing that but I was also in the middle of rewriting a lot of the shader so its a bit of a mess atm, I'll fix it up soon though.

jadedbay commented 7 months ago

Just thought I would give an update since now 0.13.2 is out, but 0.13 also broke something about how i was doing interaction with an image (my fault somewhere) and the code for it is a bit of a mess, but i plan on pretty much rewriting a lot of this plugin. At the moment I'm working a different project at the moment to learn more about bevy rendering and compute shaders which I plan on using when I rewrite this :)