Commit Graph

194 Commits

Author SHA1 Message Date
Joshua Barretto
a0dae82a2b Added correctly allocated labours, fishing 2020-04-23 18:19:40 +01:00
Joshua Barretto
46190aa634 Began work on basic economic simulation 2020-04-23 18:19:40 +01:00
Joshua Barretto
b9cc0f387b Cleaner clouds, better movement 2020-04-23 18:19:40 +01:00
Joshua Barretto
df5aa93fd7 Better AO, fixed cloud pixelation 2020-04-23 18:19:40 +01:00
Joshua Barretto
d91d66027a Fixed cloud bugs, made pets run into you less 2020-04-23 18:19:40 +01:00
Joshua Barretto
5f2d0021a3 Reversed water draw order 2020-04-23 18:19:40 +01:00
Joshua Barretto
0021bd6452 Added new settlement generation to world, basic rendering 2020-04-23 18:19:40 +01:00
Joshua Yanovski
f2953087f6 Fix shadowing for specular reflections. 2020-04-23 00:01:20 +02:00
Joshua Yanovski
ddd4a67a97 HDR fixes. 2020-04-22 22:56:12 +02:00
Joshua Yanovski
1015e60dee More lighting changes. 2020-04-21 18:25:19 +02:00
Joshua Yanovski
80c264abd1 Lighting experiments. 2020-04-13 00:29:59 +02:00
Joshua Yanovski
8414987e58 WIP -- lighting changes and soft shadows. 2020-04-09 02:38:40 +02:00
Capucho
8f6686adc1 Fix the problems of players walking over water with dithering 2020-04-07 22:50:01 +00:00
Capucho
a21ae27a77 Add player transparency and silhouette 2020-04-04 19:36:55 +00:00
Joshua Yanovski
9cd2b3fb0d Merge branch 'sharp/new-lighting' into sharp/small-fixes 2020-04-04 02:33:29 +02:00
Joshua Yanovski
8b149ad11a Trying out a new lighting model. 2020-04-04 02:32:39 +02:00
Joshua Yanovski
b0ac9f36f7 Use bicubic interpolation for terrain. 2020-04-03 07:56:11 +02:00
Joshua Yanovski
ed2d0111d9 Combining colors and LOD. 2020-04-02 06:49:27 +02:00
Joshua Yanovski
33140a2951 Merge remote-tracking branch 'origin/master' into zesterer/lod 2020-04-02 04:36:21 +02:00
Joshua Barretto
3a989f061f Better water shaders 2020-03-27 15:13:36 +00:00
Joshua Barretto
3559252a5e Nicer point lights 2020-03-17 13:29:42 +00:00
Joshua Barretto
2fa7b2d20d Added mist to LoD 2020-02-24 17:49:53 +00:00
Joshua Barretto
aab059a450 Added LoD slider 2020-02-24 15:14:06 +00:00
Joshua Barretto
779c36b538 Reduced cost of vertex pushing 2020-02-24 12:54:55 +00:00
Joshua Barretto
9fea150473 Fixed maths, improved LoD resolution 2020-02-24 12:38:53 +00:00
Joshua Barretto
5481df38fe Dynamically relocate LoD vertices to enhance details 2020-02-24 11:22:50 +00:00
Joshua Barretto
255f450ae9 Better LoD precision 2020-02-23 16:53:17 +00:00
Joshua Barretto
3d027aebe8 Better falloff 2020-02-23 16:04:03 +00:00
Joshua Barretto
be775c9484 Applied good ideas from experimental branch 2020-02-23 15:30:45 +00:00
Joshua Barretto
58587b6854 Minor fixes to LoD merging 2020-02-21 16:15:13 +00:00
Joshua Barretto
7b42aebd70 Capped LoD dragging 2020-02-21 15:04:44 +00:00
Joshua Barretto
8aafc559f8 Better blending between LoD and terrain border 2020-02-21 14:54:37 +00:00
Joshua Barretto
edd3455d51 Fixed LoD z depth, added sea level offset 2020-02-21 14:40:19 +00:00
Joshua Barretto
b9b0674462 Better LoD smoothing 2020-02-21 14:27:43 +00:00
Joshua Barretto
2400786c13 Use world map as LoD source 2020-02-21 13:48:40 +00:00
Joshua Barretto
dbf650f504 Better clouds at distance 2020-02-21 11:12:26 +00:00
Joshua Barretto
5e6f81b86c sync 2020-02-21 11:12:25 +00:00
Joshua Barretto
745e7540dd Improved cloud falloff mist, faster noise sampling 2020-02-21 11:12:02 +00:00
Joshua Barretto
f6a200d0cb Improved long-range depth precision, removed unnecessary LoD polygons 2020-02-21 11:12:02 +00:00
Joshua Barretto
63d1b2bb22 Working LoD shader 2020-02-21 11:12:02 +00:00
Joshua Barretto
f13d98ee3e LoD first attempt (stack overflow issue) 2020-02-21 11:10:16 +00:00
Treeco
abe47d8621 Gamma setting now works 2020-02-17 00:46:31 +00:00
Treeco
aaf1de9f9b Added gamma setting, not hooked up yet 2020-02-16 20:32:17 +00:00
Joshua Yanovski
e524e86090 Merge branch 'sharp/zoom-minimap' into 'master'
Minimap rotation, zoom, orientation indicator, Mainmap changes & indicator

See merge request veloren/veloren!784
2020-02-06 17:34:32 +00:00
Monty Marz
93d7c67cdc Hack to allow minimap rotation.
Currently it just always rotates towards the camera, but it wouldn't be
hard to create a config option that swaps out the rotation of the
indicator and the map.
2020-02-06 17:34:32 +00:00
Joshua Barretto
e520712077 Minor performance improvements 2020-02-04 22:58:56 +00:00
Vechro
377433c2fc Get abs value of maxd and mind 2020-01-31 12:12:57 +02:00
Treeco
6ada176e54 Bumped up the numbers further, behaves nicer still 2020-01-27 14:28:20 +00:00
Treeco
7334f9782c Made depths behave nicer when zoomed really far out 2020-01-27 12:12:38 +00:00
Joshua Barretto
4eb5b76d5f Added point light ambiance 2020-01-27 10:58:33 +00:00
Joshua Barretto
d2e0445b34 Added point light ambiance 2020-01-27 01:47:23 +00:00
Joshua Barretto
115ecf15d3 Made stars spin with sun and moon 2020-01-27 01:22:07 +00:00
Joshua Barretto
966a61ad42 Stopped stars popping into existence 2020-01-27 01:03:55 +00:00
Joshua Barretto
7167320c92 Fixed shadows, better pathfinding cap 2020-01-26 12:52:28 +00:00
Imbris
166aba61f0 Make nametages etc fixed size and only display within limited range 2020-01-24 22:09:45 -05:00
Joshua Barretto
34c88708af Adjusted cloud fuzz factor 2020-01-21 13:14:25 +00:00
Joshua Barretto
8e7a8aa4f9 Shader optimisations 2020-01-21 12:58:20 +00:00
Imbris
9d6bf66a32 Add options to turn off the clouds and to render ugly water 2020-01-19 14:05:31 -05:00
Joshua Barretto
54773b57b6 Fixed water normals 2020-01-19 18:39:20 +00:00
Joshua Barretto
020c57ec4a Fixed terrain normal decoding 2020-01-19 18:27:03 +00:00
Joshua Barretto
21069a48dd Made clouds bigger, more performant and prettier 2020-01-19 18:06:34 +00:00
Monty Marz
851d7858e6 Scrolling Combat Text (SCT) 2020-01-10 00:33:38 +00:00
Yusuf Bera Ertan
fd9cc76786 Reimplement #210 2020-01-07 18:40:45 +03:00
Joshua Barretto
3a5c69a314 Prevented chunk load popping with smooth view distance growth 2019-11-20 10:38:11 +00:00
Joshua Barretto
8745d0a3af Non-linear depth buffer 2019-11-20 09:59:27 +00:00
Joshua Barretto
c60799de3d Stronger moonlight 2019-11-19 20:43:41 +00:00
Joshua Barretto
9993a4c81a Smoother water at distance, fixed warnings 2019-11-19 19:22:56 +00:00
Joshua Barretto
7ad22c647d Fixed cloud shader banding issue 2019-11-19 19:09:22 +00:00
Joshua Barretto
5cb6f691dc Fixed dense cloud void issue 2019-11-19 19:09:22 +00:00
Joshua Barretto
28e625635f Split terrain rendering to avoid redrawing skybox 2019-11-19 19:09:22 +00:00
Joshua Barretto
bca3817163 Massive performance boost for clouds, fixed reflection misprojection bug 2019-11-19 19:09:22 +00:00
Joshua Barretto
39d686961e Removed cloud sampler early return 2019-11-19 19:09:22 +00:00
Joshua Barretto
651bc8a9a3 Fixed close cloud precision noise 2019-11-19 19:09:22 +00:00
Joshua Barretto
eeec7df7d3 Fixed passthrough reduction curve 2019-11-19 19:09:22 +00:00
Joshua Barretto
fa4e68c165 Cleanup and speedup 2019-11-19 19:09:22 +00:00
Joshua Barretto
559106ff2c Better passthrough calculation 2019-11-19 19:09:22 +00:00
Joshua Barretto
4ccd8ac72a Improved cloud precision from internal perspective 2019-11-19 19:09:22 +00:00
Joshua Barretto
b7e59dfcc2 Better precision cloud sampling and moon halo highlight 2019-11-19 19:09:22 +00:00
Joshua Barretto
2c2dd49aed Made clouds render over terrain 2019-11-19 19:09:22 +00:00
Joshua Barretto
9d48cc8fb7 Better water transparency 2019-11-19 19:09:22 +00:00
Joshua Barretto
fd2c9e8cde Prevent sun/moon terrain overlap 2019-11-19 19:09:22 +00:00
Joshua Barretto
f80f303a18 Prevented cloud overlap on terrain 2019-11-19 19:09:22 +00:00
Joshua Barretto
0f37bfa829 Fixed hill colour blending 2019-11-19 19:09:22 +00:00
Joshua Barretto
337383feaa Faster cloud reflections 2019-11-19 19:09:22 +00:00
Joshua Barretto
7375c2c207 Faster clouds, better water 2019-11-19 19:09:22 +00:00
Joshua Barretto
5162256e45 Faster and more visually pleasing clouds 2019-11-19 19:09:22 +00:00
Joshua Barretto
aa111d34e5 Added clouds 2019-11-19 19:09:22 +00:00
Joshua Barretto
18ec6dbbec Prevented the moon rising/setting too early/late 2019-11-19 19:09:22 +00:00
Joshua Barretto
68502b22c1 Better moonlight 2019-11-19 19:09:22 +00:00
Joshua Barretto
10ce8b45e7 Added moon 2019-11-19 19:09:22 +00:00
Joshua Barretto
2134bf87a7 Smaller water details 2019-11-05 15:45:01 +00:00
Joshua Barretto
671313a523 Overhauled water shaders 2019-11-05 15:45:01 +00:00
Joshua Barretto
6d8d06ff7c Smoother water 2019-11-05 15:45:01 +00:00
Joshua Barretto
7ecfde2925 Better water 2019-11-05 15:45:01 +00:00
Vechro
c9787846d5 Fix MSAA x16 2019-10-21 21:55:49 +03:00
Joshua Barretto
dcf8655202 Fixed srgb normal bug 2019-10-17 17:35:17 +01:00
Joshua Barretto
04c64dc122 Better (and faster) water shaders 2019-10-17 17:11:55 +01:00
Joshua Barretto
3279a278b7 Move computations to terrain fragment shaders 2019-10-16 15:05:45 +01:00
Joshua Barretto
c01e19fc05 Don't render water that isn't there, improved chunk render order 2019-10-16 12:40:18 +01:00
Joshua Yanovski
8ae2692b6e Allow canceling chunk generation.
Currently we only do this when no players are in range of the chunk.  We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.

We now check an atomic flag for every column sample in a chunk.  We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00