bevy/examples/shader
Anselmo Sampietro 9b7ed18f72 Add animate shaders example (#1765)
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>
2021-04-15 19:49:31 +00:00
..
animate_shader.rs Add animate shaders example (#1765) 2021-04-15 19:49:31 +00:00
array_texture.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00
hot_shader_reloading.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00
mesh_custom_attribute.rs Remove unused material (#1898) 2021-04-13 02:39:50 +00:00
shader_custom_material.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00
shader_defs.rs Make Commands and World apis consistent (#1703) 2021-03-23 00:23:40 +00:00