Commit graph

317 commits

Author SHA1 Message Date
Carter Anderson
d9bd2d4f15 pipeline builder 2020-01-17 18:54:05 -08:00
Carter Anderson
3a674394b9 add immutable versions of run_on_hierarchy to save allocations 2020-01-17 01:29:01 -08:00
Carter Anderson
e649d4f6e1 initial render graph v2 work 2020-01-17 00:46:40 -08:00
Carter Anderson
435357ee86 start working on render_graph v2 2020-01-15 10:28:27 -08:00
Carter Anderson
724ad16c95 remove comments 2020-01-15 01:03:33 -08:00
Carter Anderson
50722089ef replace glsl_to_spirv with shaderc 2020-01-15 00:51:32 -08:00
Carter Anderson
35705dfad2 move render_graph and prevent panic when there are no passes 2020-01-14 22:40:52 -08:00
Carter Anderson
7037c8c494 cargo fmt 2020-01-14 22:23:00 -08:00
Carter Anderson
68676bf6fa add initial serialization 2020-01-14 22:19:28 -08:00
Carter Anderson
0e72f073e1 move swap_chain and device initialization to render_graph 2020-01-14 18:57:10 -08:00
Carter Anderson
e1c1da027b move app to its own namespace 2020-01-14 12:53:56 -08:00
Carter Anderson
5f6bad2dc8 add system stages to app builder 2020-01-14 12:37:01 -08:00
Carter Anderson
27eaaead30 make time optional 2020-01-14 12:04:55 -08:00
Carter Anderson
2da6ea6393 set msaa to 4 to be kinder to my laptop 2020-01-14 11:53:57 -08:00
Carter Anderson
3853e0f1c9 remove legion_transform_bundle from lib.rs 2020-01-13 19:23:28 -08:00
Carter Anderson
5433ba7ea1 add prelude 2020-01-13 19:20:58 -08:00
Carter Anderson
32f196c7c2 move mesh and texture to asset mod 2020-01-13 18:59:30 -08:00
Carter Anderson
c867c021c9 add texture types 2020-01-13 18:06:06 -08:00
Carter Anderson
7a6c938409 add uvs to vertex layout 2020-01-13 17:35:30 -08:00
Carter Anderson
5ab026d943 update alpha dst_factor 2020-01-13 02:14:10 -08:00
Carter Anderson
019cad9e04 add msaa 2020-01-13 02:11:30 -08:00
Carter Anderson
a798cf3346 add alpha to ui pipeline 2020-01-13 01:32:04 -08:00
Carter Anderson
ae325846ff Node tree structure 2020-01-12 22:18:17 -08:00
Carter Anderson
875b7492c8 rename ui_update_system 2020-01-12 18:00:58 -08:00
Carter Anderson
6da891be29 ui node system 2020-01-12 16:51:21 -08:00
Carter Anderson
7f0f2d0515 Add anchor data 2020-01-11 17:33:44 -08:00
Carter Anderson
9c3c92f39a cargo fmt 2020-01-11 15:21:31 -08:00
Carter Anderson
133cbe7846 upgrade wgpu and winit 2020-01-11 14:16:47 -08:00
Carter Anderson
e1fb86ef8e support instancing multiple meshes 2020-01-11 13:14:26 -08:00
Carter Anderson
4d903df33c simplify AssetStorage and Handles 2020-01-11 12:32:38 -08:00
Carter Anderson
41722830bd remove some todos 2020-01-11 11:57:16 -08:00
Carter Anderson
2506449097 use creat_quad in create_plane 2020-01-11 11:51:46 -08:00
Carter Anderson
13eea44bce remove Mesh2D for now 2020-01-11 11:33:49 -08:00
Carter Anderson
a9635b2c3d move vertex to render mod 2020-01-11 11:29:57 -08:00
Carter Anderson
151675a5ef upgrade legion. refactor system and world construction 2020-01-11 03:31:36 -08:00
Carter Anderson
9f7e313dc4 rustfmt crate 2020-01-11 02:11:27 -08:00
Carter Anderson
fdbe42dd7d app_builder: add world and scheduler setters 2020-01-11 01:51:20 -08:00
Carter Anderson
55c50f7185 refactor app startup. AppBuilder. clean up examples 2020-01-11 01:46:51 -08:00
Carter Anderson
aeeb85b7b0 batched rect rendering 2020-01-10 22:42:54 -08:00
Carter Anderson
eb1233d9f0 initial ui pass 2020-01-08 19:17:11 -08:00
Carter Anderson
edd0bca622 rename forward bind group 2020-01-08 09:12:54 -08:00
Carter Anderson
62364660de local -> material bind group layout 2020-01-08 09:07:49 -08:00
Carter Anderson
86a467f0f3 initial gltf example 2020-01-07 23:03:09 -08:00
Carter Anderson
f27942e961 port shadow pipeline. clean up 2020-01-07 22:35:07 -08:00
Carter Anderson
42236cfe57 new shadow pass. pipeline assignments 2020-01-05 21:38:43 -06:00
Carter Anderson
aa16023f41 port forward-instanced to RenderGraph 2020-01-01 14:24:45 -06:00
Carter Anderson
cb6de5b2bf initial RenderGraph 2020-01-01 13:53:44 -06:00
Carter Anderson
7bfafc22bc initial instancing support 2019-12-27 15:35:07 -06:00
Carter Anderson
6a819a1884 render resources refactor and normal forward rendering 2019-12-23 18:13:05 -06:00
Carter Anderson
aa2f7e9789 Use floats for vertex values 2019-12-09 23:12:50 -08:00
Carter Anderson
42fd25cfd9 move forward uniform setup to forward pass 2019-12-05 09:29:26 -08:00
Carter Anderson
03c1ec3405 we glam now 2019-12-04 00:11:14 -08:00
Carter Anderson
072346bb94 fix variable name 2019-12-03 22:12:33 -08:00
Carter Anderson
25b7dad1c2 update example 2019-12-03 19:01:48 -08:00
Carter Anderson
0e0eb97430 cleanup 2019-12-03 09:01:15 -08:00
Carter Anderson
816d0c9bdd wander spawner 2019-12-03 00:30:30 -08:00
Carter Anderson
21ce87ba45 fix camera projection 2019-12-02 15:51:24 -08:00
Carter Anderson
2a27cacba8 lights and cameras data driven. setup moved to relevant passes 2019-12-02 15:19:56 -08:00
Carter Anderson
df5c74a0ea material constructor 2019-12-02 11:05:35 -08:00
Carter Anderson
6b937d5df4 use more harmonious colors in sample 2019-12-02 10:54:42 -08:00
Carter Anderson
3922c76efe fix asset loading. no more temp! 2019-12-02 10:48:08 -08:00
Carter Anderson
a96f3cfda5 asset loading, hierarchies, more refactoring 2019-12-02 01:31:07 -08:00
Carter Anderson
188d355d10 render refactors. ecs integration 2019-12-01 20:03:04 -08:00
Carter Anderson
07c0fa0704 refactor pipelines 2019-12-01 01:16:15 -08:00
Carter Anderson
e204538ad7 transition math to nalgebra and add tiny-town. 2019-11-30 21:21:45 -08:00
Carter Anderson
cd60778d46 use wgpu example as base 2019-11-30 17:42:27 -08:00
Carter Anderson
669849c454 initial commit 2019-11-12 19:36:02 -08:00