Commit Graph

134 Commits (master)

Author SHA1 Message Date
rhysd 54121a5c54 fix some typos 3 years ago
Ben Hansen c0843b3f92 fixes #285 3 years ago
Ben Hansen 7a42a0d4db reworking the alignment readme 3 years ago
Ben Hansen 4ae6c3f89f added 0.12.md and examples now compile 3 years ago
Ben Hansen 2073b0fbc1 updated to 0.12 3 years ago
sotrh 92c56a6aa4
Merge pull request #272 from nxsy/tutorial12-updates
Minor update nits for tutorial 12
3 years ago
sotrh a3b9a42c7a
Merge pull request #270 from nxsy/tutorial10-into
Update tutorial 10 to match types and remove deprecated flags
3 years ago
Neil Blakey-Milner 24f4ccea20 Minor update nits for tutorial 12 3 years ago
Neil Blakey-Milner 6f388ff8eb Improve clarity of tutorial11 in terms of updates, files 3 years ago
Neil Blakey-Milner 41d8286645 Add missing or rename shader vars 3 years ago
Neil Blakey-Milner 6be05f781e Update tutorial 10 to match types and remove deprecated flags 3 years ago
Ferdinand Schäffler bd46bdb243 Converted docs. 3 years ago
Martino Fontana 11b24cebc5 model.rs: added "_bind_group" where appropriate 3 years ago
Ben Hansen c0754f9dd3 migrated tutorial5 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Ben Hansen 0f618a2ff8 migrated tutorial3 3 years ago
Ben Hansen 822f2d6191 started 0.10 3 years ago
Ben Hansen 806d5aa8af some notes on pbr 3 years ago
Martino Fontana 463b6117eb Renamed "light" to "light_uniform" 3 years ago
Martino Fontana b2b77294f6 Change "uniform" naming to "camera" 3 years ago
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
Martino Fontana 467cec5367 Removed unnecessary borrows 3 years ago
Martino Fontana c80b5a9ae2 Collapsed event_loop match 3 years ago
Martino Fontana b5af53b272 Simplify DrawModel and DrawLight lifetimes 3 years ago
Ben Hansen f46b2f6d74 fixed #142 3 years ago
sotrh 0dce068dcc
Merge pull request #205 from hwoodiwiss/fix-tutorial-10
fix: Tutorial 10 Docs Specular Lighting Shader Problems
3 years ago
Hugo Woodiwiss 87d74d104f
Fix type issue when using pow in wgsl 3 years ago
Hugo Woodiwiss af11f05523
Fix errors in tutorial for specular lighting
Also minor fix to file name
3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 3 years ago
Ben Hansen 53a019b902 fixed #189 3 years ago
Ben Hansen 63e0d9c6b8 intermediate tutorials migrated 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d8a861b515
Merge branch 'master' into cgmath-0.18 3 years ago
Hiroaki Yutani 24f565ee58 Update winit to 0.24 3 years ago
Hiroaki Yutani 1bb374c89e docs 4 years ago
Elijah C. Voigt bcc79b5e41 Misc typo and code fixes.
009: impl Vertex for ModelVertex was using the vertex_attr_array! macro.
009: RenderPipelineDescriptor has a `vertex` member not  `vertex_state`.
009: to_rgba() should be to_rgba8(), to_rgba is set to be deprecated.

010: BindGroupDescriptor has a `entries` member not `bindings`.
010: Remove re-declaration of mat4 model_matrix;
010: Prefer hard-coded [#.#; #] instead of `Foo::fn().into()`.
010: Clarify which shader frag/vert file changes are in.

011: Change Model::load return type to Result<Self>.
011: TextureDescriptor does not have a array_layer_count member.

012: Add .into() to calls in Uniforms::update_view_proj().
012: Dereference delta variable in State::input().

013: Add more changed lines to Model::load to avoid compiler yelling.
4 years ago
Linden Krouse f6f6fa29c4
Fixed some spelling and grammar errors 4 years ago
Ben Hansen 87d0a97404 migrated intermediate tutorial docs 4 years ago
Ben Hansen b4dd4654e4 intermediate tutorial code migrated 4 years ago
Ben Hansen 3901419a58 beginner tutorial code done 4 years ago
Ben Hansen 91879d405b code up to 7 migrated 4 years ago
Ben Hansen 1f9024691c shaderc 1.6 -> 0.7 4 years ago
Ben Hansen c92d2a528e modified camera tutorial to use `DeviceEvent` 4 years ago
Ben Hansen c770e1860f fixed code for #116 4 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Ben Hansen 9a221fb2c4 migrated Light struct to use bytemuck derive 4 years ago
Ben Hansen 0ccb80e7e3 updated Uniforms struct to use bytemuck derive 4 years ago
Ben Hansen 8ad575f750 finished #121 4 years ago
sotrh 3e83cf5a17
Merge pull request #112 from pudnax/winit_0.23
Migration to winit 0.23
4 years ago
Alex Komissarov ae3f7e8e95
Wrong light_bind_group_layout 4 years ago
Alex Komissarov d38731e472
Migration to winit 0.23 4 years ago
Ben Hansen 786ce2410c fixed config and readded missing tutorial11 4 years ago
Ben Hansen ad5cd8e12f fixed #93 4 years ago
Ben Hansen 9b02850917 started threading 4 years ago
Ben Hansen cb5cfd074f fixed #86 4 years ago
Ben Hansen 8d5de2d87c migrated tutorial11 4 years ago
Ben Hansen 03b1b64e55 migrated tutorial10 4 years ago
Alex Butler a03a57bb60
Fix some easy-win lints 4 years ago
Ben Hansen 252ca8b909 forgot github link, etc 4 years ago
Ben Hansen 0ae192f440 fixed missing screenshot 4 years ago
Ben Hansen d6d6995066 finished camera changes 4 years ago
Hiroaki Yutani c80c674dd5 Move the comment 4 years ago
Hiroaki Yutani 3d9edd9b3a
Add some explanations on tutorial11 4 years ago
Ben Hansen 4063cc49de fixed #46 4 years ago
Hiroaki Yutani 5e0ecd91cf
Improve tutorial 10 4 years ago
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.
4 years ago
Ben Hansen 752533a706 finish normal mapping 4 years ago
Ben Hansen 387e17ba5f finished normal mapping tutorial 4 years ago
Ben Hansen ec5339bd3b started normals tutorial 4 years ago
Ben Hansen 107d64a70e preparing for 0.5 deploy 4 years ago
Ben Hansen 032253fea9 cleaning up for 0.5 4 years ago
downtime 6d2d839411 Updated dependencies 4 years ago
Ben Hansen ab0513146d cleanup for lighting deploy 4 years ago
Ben Hansen 3b22ab9da9 finished lighting rewrite 4 years ago
Ben Hansen be23faee06 finished gif showcase 5 years ago
Ben Hansen e0d88871a5 finished lighting 5 years ago
Ben Hansen a805bd8fa3 updated lighting tutorial to use model.rs 5 years ago
Ben Hansen 9e30f8bc99 added "spheres" 5 years ago
Ben Hansen da4c268fbc updated winit to 0.20 5 years ago
Ben Hansen df7840a3ca added AutoGithubLink and fixed uniforms challenge 5 years ago
Ben Hansen 58fa5be6d2 finished uniforms tutorial 5 years ago
Ben Hansen 348a06ee0f reorganized project, added challenge impls 5 years ago
Ben Hansen 045b960bee finished windowless 5 years ago
Ben Hansen 8ecb859b9f tutorial 1 finished 5 years ago