Commit Graph

92 Commits

Author SHA1 Message Date
Ben Hansen
3ef4df6fd9 migrated tutorial1 and removed instancing examples 2020-08-20 13:26:44 -06:00
Ben Hansen
3c4f8f9134 Merge branch 'master' into rework-instancing 2020-08-12 16:10:01 -06:00
Ben Hansen
540b03aded Merge branch 'master' of github.com:sotrh/learn-wgpu 2020-08-12 16:09:04 -06:00
Ben Hansen
ae1564117f fixed #75 2020-08-12 16:06:14 -06:00
Ben Hansen
a5c6b5ad48 finished instancing rewrite 2020-08-12 16:04:50 -06:00
Ben Hansen
b543c16492 started instancing rework 2020-08-11 15:28:50 -06:00
Ben Hansen
0cd250d5fe started instancing examples 2020-08-11 13:17:14 -06:00
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Ben Hansen
252ca8b909 forgot github link, etc 2020-07-24 15:47:04 -06:00
Ben Hansen
0ae192f440 fixed missing screenshot 2020-07-24 15:36:50 -06:00
Ben Hansen
d6d6995066 finished camera changes 2020-07-24 13:24:45 -06:00
Ben Hansen
d14c3a4aef fixed camera issues 2020-07-22 15:21:37 -06:00
Ben Hansen
69ec7ba20b Merge branch 'master' of github.com:sotrh/learn-wgpu 2020-07-21 19:35:21 -06:00
Ben Hansen
1a6194556e working on fps camera 2020-07-21 19:35:10 -06:00
Dzmitry Malyshau
e9ea5854ca
Fix a mismatch in light VS versus FS varying of v_color 2020-07-09 16:37:40 -04:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -06:00
Ben Hansen
622a73fd72 fixed mip flipping 2020-06-23 14:59:22 -06:00
Ben Hansen
4ee7343f7d added env_logger 2020-06-23 13:02:10 -06:00
Ben Hansen
b9778a4f74 switch back to mipmapping normal map 2020-06-22 16:33:58 -06:00
Ben Hansen
8eee289c41 res folder now copied to OUT_DIR 2020-06-22 16:03:11 -06:00
Ben Hansen
1a850cc1b1 started performance research 2020-06-21 00:49:43 -06:00
Ben Hansen
4063cc49de fixed #46 2020-06-09 21:18:45 -06:00
Ben Hansen
6ffa5c044c fixed #40 2020-05-28 13:57:07 -06:00
Ben Hansen
2be19f2070 updating to shaderc 2020-05-28 13:47:05 -06:00
Ben Hansen
6e369e99ee Merge branch 'master' into pong 2020-05-28 13:24:15 -06:00
Ben Hansen
c6229a7ca6 finished pong 2020-05-28 13:22:06 -06:00
Ebrahim Byagowi
3555c713cb Use shaderc instead the deprecated glsl-to-spirv
I was getting lots of these errors,

glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/../Include/Common.h:99:
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:314:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
    void setAllocator(TPoolAllocator* a) { allocator = *a; }
                                           ~~~~~~~~~ ^ ~~
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:244:21: note: declared private here
    TPoolAllocator& operator=(const TPoolAllocator&);  // don't allow assignment operator
                    ^

And had to replace the apparently now deprecated glsl-to-spirv with shaderc-rs in order to
see the tutorial and thought would be useful for others also.
2020-05-27 00:05:41 +04:30
Ben Hansen
32e5989dc1 some tweaks 2020-05-25 18:33:53 -06:00
Ben Hansen
0c3249e7f9 fixed centering and added bloops 2020-05-21 14:07:02 -06:00
sotrh
dea850863e
Merge pull request #39 from CleanCut/tutorial1-2-improvements
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
2020-05-19 15:01:59 -06:00
Ben Hansen
67f163aaec fixed crash in later example code 2020-05-19 11:46:04 -06:00
Ben Hansen
7c595d344a navigation done 2020-05-19 11:42:01 -06:00
Ben Hansen
87f065acdd got basic game working 2020-05-14 15:03:58 -06:00
Nathan Stocks
e247decf46 Fixed some things I noticed while doing tutorial 1 and tutorial 2. 2020-05-12 22:45:23 -06:00
Ben Hansen
752533a706 finish normal mapping 2020-05-04 13:03:39 -06:00
Ben Hansen
387e17ba5f finished normal mapping tutorial 2020-05-03 22:45:42 -06:00
Ben Hansen
a118435ba7 debugging the normal mapping 2020-05-01 14:14:10 -06:00
Ben Hansen
ec5339bd3b started normals tutorial 2020-04-29 12:31:35 -06:00
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
bbeacfa923 migrated windowless 2020-04-25 17:22:26 -06:00
Ben Hansen
4a772f7ee0 migrated gifs 2020-04-25 16:51:23 -06:00
Ben Hansen
032253fea9 cleaning up for 0.5 2020-04-25 16:32:17 -06:00
Ben Hansen
d8a2657878 adjusted migration to tutorial10 2020-04-25 15:27:56 -06:00
Ben Hansen
368021047a adjusted migration to tutorial9 2020-04-25 14:10:14 -06:00
sotrh
a5bdad14ab
Merge pull request #28 from Pointime/0.5
fix async style
2020-04-25 12:24:44 -06:00
Ben Hansen
2b8e97b6fa migrated tutorial8 2020-04-25 12:21:51 -06:00
Pointu
13cbe0ca68
Update main.rs 2020-04-24 12:09:50 +08:00
Pointu
a1059d5ccc
Update main.rs 2020-04-24 12:09:16 +08:00
Ben Hansen
baf4377930 forgot to add examples 2020-04-23 21:18:03 -06:00
Ben Hansen
a7833f3c16 migrated tutorial7 2020-04-23 21:17:41 -06:00