Commit Graph

3229 Commits

Author SHA1 Message Date
Imbris
9123d468a8 Properly rebind shadow textures when they are changed 2021-04-25 08:14:00 -04:00
Joshua Yanovski
73621a45b1 Inverse depth planes.
Also added a function that has extensive details about what the
projection options mean, and set our near plane much closer (0.25 to
0.0625) and far plane much farther (100000.25 to 524288.0625).  In the
future we may completely remove the far plane (opting for an infinite
one) and may possibly improve accuracy elsewhere using analysis of other
floating point values.
2021-04-25 08:14:00 -04:00
Joshua Yanovski
e5ef8b31ca Fix point shadows. 2021-04-25 08:14:00 -04:00
Joshua Yanovski
46a4103890 Fix directed shadows, mostly. 2021-04-25 08:14:00 -04:00
Joshua Yanovski
697f63455a More frustration with shadows. 2021-04-25 08:14:00 -04:00
Joshua Yanovski
7299746b1a Various fixes for shadows. 2021-04-25 08:14:00 -04:00
Capucho
5317dc1af4 Fix the shadow drawing code
Very poorly optimized
2021-04-25 08:14:00 -04:00
Capucho
201c90e056 Re enable the skybox rendering in char select 2021-04-25 08:14:00 -04:00
Capucho
a0b7971585 Fix the buffer slicing in the submodel
Fixes the void figures
2021-04-25 08:14:00 -04:00
Capucho
42c8e2fece Re enable sprite rendering 2021-04-25 08:14:00 -04:00
Capucho
024818043c Reenable non-player figure drawing 2021-04-25 08:14:00 -04:00
Imbris
3d48c6261f Draw water 2021-04-25 08:14:00 -04:00
Imbris
68a64a1fb8 Fix clouds 2021-04-25 08:14:00 -04:00
Imbris
6c8978a513 Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-04-25 08:14:00 -04:00
Imbris
513b761909 No cube spam 2021-04-25 08:14:00 -04:00
Imbris
7048e57a2b Start lod, update wgpu to fix viewport count validation error 2021-04-25 08:14:00 -04:00
Imbris
b8a5e0e3b9 Add skybox 2021-04-25 08:14:00 -04:00
Capucho
ad0970ee0a Fix wrong color format in col light 2021-04-25 08:14:00 -04:00
Capucho
a8cc322727 Reenable terrain rendering
Refractor col lights
2021-04-25 08:14:00 -04:00
Capucho
3bdd25ec4c Fix the orientation of the rendering
Reenable the rendering of the player
2021-04-25 08:14:00 -04:00
Capucho
03f5e65867 Pass format to particle pipeline 2021-04-25 08:14:00 -04:00
Capucho
1f70b7d24d Renable the figure and terrain drawing code (not working yet) 2021-04-25 08:13:59 -04:00
Imbris
f83110cfc9 Fix culling of postprocess/cloud triangles 2021-04-25 08:13:19 -04:00
Imbris
f268c8fba8 Particles compiles and runs (no visuals yet) 2021-04-25 08:13:19 -04:00
Capucho
b7d22c7971 Remove the depth buffer from the Third drawer 2021-04-25 08:13:19 -04:00
Capucho
c159346489 Shader fixes 2021-04-25 08:13:19 -04:00
Capucho
a6d5d6df7c Update dependencies 2021-04-25 08:13:19 -04:00
Imbris
48b8ec5d49 Almost make clouds/postproccess run 2021-04-25 08:13:19 -04:00
Imbris
4667512b5a Render the UIs 2021-04-25 08:13:19 -04:00
Imbris
49cb1520ca Add generic Bound<T> type for grouping consts/other bindable things with bind groups 2021-04-25 08:13:18 -04:00
Imbris
455082a7af Render Ui 2021-04-25 08:12:52 -04:00
Imbris
90a1371673 Color! 2021-04-25 08:11:37 -04:00
Imbris
0f569266aa fixed validation errors when creating pipelines 2021-04-25 08:11:37 -04:00
Imbris
53b3bd7e2c No crash on startup 2021-04-25 08:11:37 -04:00
Imbris
612e4fe823 Made shaders compile by adding locations and bindings and splitting textures and samplers out into two things and adding guards for double including shaders 2021-04-25 08:11:37 -04:00
Imbris
73f5c571d5 Improve shader errors by showing shader file name, reduce repetitive shader construction code 2021-04-25 08:11:37 -04:00
Imbris
c5235590e3 migrate cloud pipeline, migrate iced renderer, rebase fixes 2021-04-25 08:11:37 -04:00
Imbris
27bea8379b Make compile through various changes, update wgpu to latest git 2021-04-25 08:11:37 -04:00
Capucho
81148b3664 More fixes 2021-04-25 08:11:37 -04:00
Capucho
801dec8ebe Switched from zerocopy to bytemuck
Fixing errors
2021-04-25 08:11:37 -04:00
Capucho
03f8531945 Made the layouts more compact 2021-04-25 08:11:37 -04:00
Capucho
f7ae702410 Finished porting all pipelines 2021-04-25 08:11:37 -04:00
Capucho
574a930864 Began porting pipeline creation 2021-04-25 08:11:37 -04:00
Capucho
5d487b2299 ported all pipelines 2021-04-25 08:11:37 -04:00
Capucho
27f0afc786 Ported most of the textures and models related methods 2021-04-25 08:11:37 -04:00
Capucho
56428a2c4e Started the report of wgpu 2021-04-25 08:11:37 -04:00
juliancoffee
8fd1037bf3 Update doc-strings 2021-04-25 09:12:15 +03:00
Snowram
c16ec43938 Body specific beam offsets 2021-04-25 04:07:12 +02:00
Snowram
8f54a0bf31 More phoenix AI work
More phoenix AI work
2021-04-25 04:07:12 +02:00
Snowram
8cf8e51962 Phoenix npc + AI (WIP) 2021-04-25 04:07:11 +02:00