Joshua Yanovski
057ba79b57
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-05-30 11:49:40 -04:00
Joshua Yanovski
1a1eb0d932
Fix point shadows.
2021-05-30 11:49:40 -04:00
Joshua Yanovski
579fdad97e
Fix directed shadows, mostly.
2021-05-30 11:49:40 -04:00
Imbris
224ddb9db6
Suppress wgpu_core::device info logging
2021-05-30 11:49:40 -04:00
Joshua Yanovski
e974ebfebd
More frustration with shadows.
2021-05-30 11:49:40 -04:00
Joshua Yanovski
ffa8f29732
Various fixes for shadows.
2021-05-30 11:49:40 -04:00
Capucho
bbbe4ea368
Fix the shadow drawing code
...
Very poorly optimized
2021-05-30 11:49:40 -04:00
Capucho
4941736cec
Re enable the skybox rendering in char select
2021-05-30 11:49:40 -04:00
Capucho
39217b7f84
Fix the buffer slicing in the submodel
...
Fixes the void figures
2021-05-30 11:49:40 -04:00
Capucho
b3985422b1
Re enable sprite rendering
2021-05-30 11:49:40 -04:00
Capucho
0394a9afce
Reenable non-player figure drawing
2021-05-30 11:49:40 -04:00
Imbris
95cc5da1e4
Draw water
2021-05-30 11:49:40 -04:00
Imbris
2534e65d0e
Fix clouds
2021-05-30 11:49:40 -04:00
Imbris
8c44fdaac2
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
2021-05-30 11:49:40 -04:00
Imbris
ec0f4db3d9
Somewhat fix lod, prevent particles spamming new buffers when disabled
2021-05-30 11:49:40 -04:00
Imbris
362a14d749
No cube spam
2021-05-30 11:49:40 -04:00
Imbris
9aad14e06e
Start lod, update wgpu to fix viewport count validation error
2021-05-30 11:49:40 -04:00
Imbris
9da50b3f4d
Add skybox
2021-05-30 11:49:40 -04:00
Capucho
b486048d0c
Fix wrong color format in col light
2021-05-30 11:49:40 -04:00
Capucho
d6062dc854
Reenable terrain rendering
...
Refractor col lights
2021-05-30 11:49:40 -04:00
Capucho
cd60e70664
Fix the orientation of the rendering
...
Reenable the rendering of the player
2021-05-30 11:49:40 -04:00
Capucho
5f1e6b1e36
Pass format to particle pipeline
2021-05-30 11:49:40 -04:00
Capucho
f6300a6378
Renable the figure and terrain drawing code (not working yet)
2021-05-30 11:49:40 -04:00
Imbris
3039bae635
Fix culling of postprocess/cloud triangles
2021-05-30 11:49:40 -04:00
Imbris
0b9e1fdf6c
Particles compiles and runs (no visuals yet)
2021-05-30 11:49:40 -04:00
Capucho
b4df7e63e8
Remove the depth buffer from the Third drawer
2021-05-30 11:49:40 -04:00
Capucho
2856f2971b
Shader fixes
2021-05-30 11:49:40 -04:00
Capucho
d1222daa76
Update dependencies
2021-05-30 11:49:40 -04:00
Imbris
a6e8a47ada
Almost make clouds/postproccess run
2021-05-30 11:49:40 -04:00
Imbris
05bda00431
Render the UIs
2021-05-30 11:49:40 -04:00
Imbris
47a476d63e
Add generic Bound<T> type for grouping consts/other bindable things with bind groups
2021-05-30 11:49:40 -04:00
Imbris
617ae80d02
Render Ui
2021-05-30 11:49:40 -04:00
Imbris
9f399f9076
Color!
2021-05-30 11:49:40 -04:00
Imbris
2d418f3d69
fixed validation errors when creating pipelines
2021-05-30 11:49:40 -04:00
Imbris
f67fce54fe
No crash on startup
2021-05-30 11:49:40 -04:00
Imbris
3b9e89c085
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-05-30 11:49:40 -04:00
Imbris
c8be3d20f9
Improve shader errors by showing shader file name, reduce repetitive shader construction code
2021-05-30 11:49:40 -04:00
Imbris
fd0a9f67c9
migrate cloud pipeline, migrate iced renderer, rebase fixes
2021-05-30 11:49:40 -04:00
Imbris
08b787e049
Make compile through various changes, update wgpu to latest git
2021-05-30 11:49:40 -04:00
Capucho
3502699732
More fixes
2021-05-30 11:49:40 -04:00
Capucho
05d97e2f2f
Switched from zerocopy to bytemuck
...
Fixing errors
2021-05-30 11:49:40 -04:00
Capucho
7e3971949d
Made the layouts more compact
2021-05-30 11:49:40 -04:00
Capucho
8045b98867
Finished porting all pipelines
2021-05-30 11:49:40 -04:00
Capucho
5336fb9255
Began porting pipeline creation
2021-05-30 11:49:39 -04:00
Capucho
63e4579d70
ported all pipelines
2021-05-30 11:49:39 -04:00
Capucho
a8981aef67
Ported most of the textures and models related methods
2021-05-30 11:49:39 -04:00
Capucho
0a5ef49d05
Started the report of wgpu
2021-05-30 11:49:39 -04:00
Marcel
f8b642ce86
Merge branch 'aweinstock/economy-20210528' into 'master'
...
Fix economy data not properly being used to price trades, resulting in default...
See merge request veloren/veloren!2353
2021-05-28 22:05:24 +00:00
Avi Weinstock
5380fc4eac
Clear the economy database when creating it.
2021-05-28 16:14:31 -04:00
Avi Weinstock
3684cf0454
Fix economy data not properly being used to price trades, resulting in default prices being applied at most towns.
...
Also add an exporter from econsim results to sqlite to aid in debugging the economy (which revealed this bug).
2021-05-28 15:09:29 -04:00