Commit graph

5039 commits

Author SHA1 Message Date
Carter Anderson
7eb99f3eb5 finish uniform names refactor 2020-02-22 15:01:11 -08:00
Carter Anderson
ba1f48f743 start working out field bind type info 2020-02-22 12:42:40 -08:00
Carter Anderson
65284fcacb more work on texture bindings 2020-02-21 00:15:24 -08:00
Carter Anderson
fb61204d53 start working out how AsUNiforms works with textures 2020-02-20 21:52:45 -08:00
Carter Anderson
4eaae0f815 add texture and sampler shader reflection 2020-02-19 00:24:59 -08:00
Carter Anderson
2f1a0cb4a4 macros are now fully screaming snake 2020-02-18 22:59:33 -08:00
Carter Anderson
8a10c06ad5 add texture to frag shader. fix weird macro name collision bug 2020-02-18 20:26:02 -08:00
Carter Anderson
a1b9e3a7a5 add shader_def to albedo ColorSource and auto import trait in macro 2020-02-18 19:08:17 -08:00
Carter Anderson
b809b22589 add ColorSource and remove test macro from StandardMaterial 2020-02-18 09:16:34 -08:00
Carter Anderson
f820e4207c add macro example to custom_shader 2020-02-18 09:06:24 -08:00
Carter Anderson
e0e0e41c33 Add "standard config" to pipeline builder 2020-02-17 20:43:50 -08:00
Carter Anderson
ad7acb111a fix custom_shader example 2020-02-17 20:23:00 -08:00
Carter Anderson
6cf981c610 use full path in macro references 2020-02-17 19:53:48 -08:00
Carter Anderson
c96183cf1c update readme 2020-02-17 19:33:41 -08:00
Carter Anderson
cb251a6da2 update readme 2020-02-17 19:31:33 -08:00
Carter Anderson
a76b40bbb4 Fix pipeline name 2020-02-17 19:15:28 -08:00
Carter Anderson
57f798c0bd cleanup 2020-02-17 19:06:12 -08:00
Carter Anderson
6f376b5f3f remove old render graph 2020-02-17 18:36:31 -08:00
Carter Anderson
acebeb924c shader reflection for dynamic uniforms 2020-02-17 16:33:46 -08:00
Carter Anderson
2fe9710c04 Shader reflection works for everything but dynamic uniforms 2020-02-17 14:12:10 -08:00
Carter Anderson
c29a6f7dd2 more shader reflection 2020-02-16 20:35:44 -08:00
Carter Anderson
8698dcea25 start work on shader reflection 2020-02-16 12:12:55 -08:00
Carter Anderson
dbd634b8d8 upgrade winit 2020-02-16 01:02:05 -08:00
Carter Anderson
decf5d1462 add rspirv 2020-02-15 23:27:23 -08:00
Carter Anderson
c208945833 add assigned meshes render target
dynamic compiling w/ entity-specifc macros works!
2020-02-15 22:17:24 -08:00
Carter Anderson
56e5414b63 only update pipelines when macros change. better handle debug print 2020-02-15 19:00:30 -08:00
Carter Anderson
26588d0c41 make pipelines cloneable and draw_target a part of render_graph 2020-02-15 17:08:46 -08:00
Carter Anderson
4de039eb71 Make PipelineDescriptor an Asset that references Handle<Shader> 2020-02-15 16:28:17 -08:00
Carter Anderson
478d475219 more shader assignment work 2020-02-15 13:58:40 -08:00
Carter Anderson
e38d3be0e3 move wgpu shader code out of Shader 2020-02-13 09:17:18 -08:00
Carter Anderson
7759fdefac collect uniform shader_defs in preparation for on-demand shader compiling 2020-02-12 17:58:58 -08:00
Carter Anderson
edf57c0dd3 rename entitybuilder to worldbuilder 2020-02-11 19:39:10 -08:00
Carter Anderson
649e1b113f add world.insert passthrough to entitybuilder 2020-02-11 19:37:48 -08:00
Carter Anderson
cd6ccc45b1 resolve warnings 2020-02-11 19:10:38 -08:00
Carter Anderson
f24a274a2a add renderable to render related queries 2020-02-11 19:09:05 -08:00
Carter Anderson
d58c5e7f5c tweak simple new 2020-02-11 18:54:04 -08:00
Carter Anderson
7cdc2351ba add default to MeshEntity 2020-02-11 18:29:39 -08:00
Carter Anderson
7a1036fa0b add quick profiling doc 2020-02-10 22:13:05 -08:00
Carter Anderson
eedec80e89 add shader def fields / proc macro 2020-02-10 19:26:04 -08:00
Carter Anderson
4a12d16307 add uniform field attribute 2020-02-09 21:41:51 -08:00
Carter Anderson
c1bac8869e move uniforms around 2020-02-09 18:09:54 -08:00
Carter Anderson
5b48de96db Add Uniforms proc macro 2020-02-09 18:04:18 -08:00
Carter Anderson
9078b67677 add texture_new example (not working) 2020-02-09 13:53:43 -08:00
Carter Anderson
a9754cd91e enable incremental release builds and optimized dev builds (unoptimized results in completely useless framerates) 2020-02-09 12:38:17 -08:00
Carter Anderson
a721f3595d rustfmt: use field init shorthand 2020-02-09 11:43:45 -08:00
Carter Anderson
76d5f6057c add rustfmt.toml and set merge_imports to true 2020-02-09 11:42:26 -08:00
Carter Anderson
4f4213be11 update logo 2020-02-08 17:21:11 -08:00
Carter Anderson
5306fa36fa break up shader mod 2020-02-08 17:17:07 -08:00
Carter Anderson
428bb985c4 move mesh draw target to draw target folder 2020-02-08 15:42:07 -08:00
Carter Anderson
ebcb925d6f remove broken import 2020-02-08 15:31:38 -08:00