mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
9b7ed18f72
This PR adds an example on how to animate a shader by passing the global `time.seconds_since_startup()` to a component, and accessing that component inside the shader. Hopefully this is the current proper solution, please let me know if it should be solved in another way. Co-authored-by: Carter Anderson <mcanders1@gmail.com> |
||
---|---|---|
.. | ||
animate_shader.rs | ||
array_texture.rs | ||
hot_shader_reloading.rs | ||
mesh_custom_attribute.rs | ||
shader_custom_material.rs | ||
shader_defs.rs |