bevy/assets
Carter Anderson dd4a196329 Flexible camera bindings (#1689)
Alternative to #1203 and #1611

Camera bindings have historically been "hacked in". They were _required_ in all shaders and only supported a single Mat4. PBR (#1554) requires the CameraView matrix, but adding this using the "hacked" method forced users to either include all possible camera data in a single binding (#1203) or include all possible bindings (#1611).

This approach instead assigns each "active camera" its own RenderResourceBindings, which are populated by CameraNode. The PassNode then retrieves (and initializes) the relevant bind groups for all render pipelines used by visible entities. 

* Enables any number of camera bindings , including zero (with any set or binding number ... set 0 should still be used to avoid rebinds).
* Renames Camera binding to CameraViewProj
* Adds CameraView binding
2021-03-19 20:36:40 +00:00
..
android-res/mipmap-mdpi android example polish (#845) 2020-11-11 16:31:16 -08:00
branding organize examples and add ecs guide 2020-05-01 13:12:47 -07:00
data Asset system rework and GLTF scene loading (#693) 2020-10-18 13:48:15 -07:00
fonts initial text rendering 2020-05-13 13:22:12 -07:00
models Cleanup of Markdown Files and add CI Checking (#1463) 2021-02-22 04:50:05 +00:00
scenes Fix warning in scene example (#1441) 2021-02-22 03:59:36 +00:00
shaders Flexible camera bindings (#1689) 2021-03-19 20:36:40 +00:00
sounds audio: initial (very minimal) audio plugin 2020-07-16 13:46:51 -07:00
textures Extend the Texture asset type to support 3D data (#903) 2020-11-22 12:04:47 -08:00