Commit graph

1355 commits

Author SHA1 Message Date
Vsevolod Kremianskii
39a70eb64b doc: Remove Discord invitation link from the README.md
[ci skip]
2021-02-23 15:36:12 +07:00
Vsevolod Kremianskii
2a2fab97d8 Add image for DeadlyStream forum thread 2021-02-23 14:46:23 +07:00
Vsevolod Kremianskii
f2367bd7fb fix: Fix JSON to 2DA conversion tool 2021-02-23 12:36:56 +07:00
Vsevolod Kremianskii
6eeabf8510 feat: Implement JSON to GFF conversion tool 2021-02-23 11:45:48 +07:00
Vsevolod Kremianskii
6c2d51f161 feat: Implement GFF writer 2021-02-22 16:29:05 +07:00
Vsevolod Kremianskii
6d6d4714ed tools: Include field type in GFF to JSON output 2021-02-22 00:09:41 +07:00
Vsevolod Kremianskii
ceaac82d8a refactor: Refactor 2DA and GFF file formats
- Separate data structures and format handling
- Convert TwoDaRow into a POD structure
2021-02-21 23:33:30 +07:00
Vsevolod Kremianskii
6ae62610e9 feat: Add empty Encounter(Blueprint) classes 2021-02-21 11:59:28 +07:00
Vsevolod Kremianskii
7a44fcd278 refactor: Drop nested types.h files for simplicity 2021-02-21 10:31:13 +07:00
Vsevolod Kremianskii
a221e2810f feat: Add support for RLE TGA images 2021-02-21 09:41:43 +07:00
Vsevolod Kremianskii
565d6e0bd2 build: Use GLM from external by default 2021-02-21 08:46:49 +07:00
Vsevolod Kremianskii
854b66079b fix: Preinitialize samplers and uniform blocks
Hopefully this solves graphical artifacts when running on Intel Mesa
driver.
2021-02-20 21:58:19 +07:00
Vsevolod Kremianskii
2a54ea157f fix: Add padding at the end of general uniforms 2021-02-20 21:41:02 +07:00
Vsevolod Kremianskii
913b81ad20 refactor: When computing IBL images, bind textures earlier 2021-02-20 21:29:25 +07:00
Vsevolod Kremianskii
66942f60db fix: Fix vertex offsets of the cubemap mesh 2021-02-20 21:29:25 +07:00
Vsevolod Kremianskii
4881131b47 build: Fix compilation errors on Debian 2021-02-20 02:29:27 -05:00
Vsevolod Kremianskii
ff31f1289d Redesign the project icon 2021-02-18 20:17:52 +07:00
Vsevolod Kremianskii
6423eb0e1c fix: Fix particle orientation 2021-02-18 00:07:54 +07:00
Vsevolod Kremianskii
dfd0b405b7 fix: In PBR HDR mode apply gamma to lightmaps and env maps 2021-02-17 23:44:43 +07:00
Vsevolod Kremianskii
508a1b788f feat: Allow combining dynamic room lighting with lightmaps 2021-02-17 23:30:00 +07:00
Vsevolod Kremianskii
27d66ad5bf fix: Doors must not cast shadows 2021-02-17 23:18:14 +07:00
Vsevolod Kremianskii
78762b79c4 chore: Apply shadows after all lighting calculations 2021-02-17 23:16:41 +07:00
Vsevolod Kremianskii
0c334d8437 chore: Decrease shadow bias from 0.5 to 0.1 2021-02-17 23:04:06 +07:00
Vsevolod Kremianskii
3858d8fc78 fix: Room models must never produce shadows (because artifacts) 2021-02-17 23:00:25 +07:00
Vsevolod Kremianskii
230e5efc16 feat: Implement fading of the shadow light 2021-02-17 22:57:08 +07:00
Vsevolod Kremianskii
14c3ee3722 refactor: Refactor lighting and shading conditionals 2021-02-17 21:52:29 +07:00
Vsevolod Kremianskii
e794f2ced9 refactor: Drop all falloff types but quadratic as the most compatible 2021-02-17 21:46:31 +07:00
Vsevolod Kremianskii
91ffc7b54b fix: Fix lighting not affecting equipment 2021-02-17 21:10:25 +07:00
Vsevolod Kremianskii
455ba0e60c refactor: Drop directional light type for simplicity 2021-02-17 20:55:23 +07:00
Vsevolod Kremianskii
6ffd09db49 fix: Apply lighting to self-illuminated models that are not room models 2021-02-17 20:34:20 +07:00
Vsevolod Kremianskii
a19be2db5d fix: Prefiltered envmap must not be gamma corrected 2021-02-17 20:25:01 +07:00
Vsevolod Kremianskii
270170ff69 feat: Treat ambientOnly lights as affecting only room geometry 2021-02-17 18:57:54 +07:00
Vsevolod Kremianskii
f1f72f898e fix: When selecting lights, use light radius, not 4x light radius 2021-02-17 18:38:15 +07:00
Vsevolod Kremianskii
807f6d1985 fix: With Phong lighting limit object color by diffuse color 2021-02-17 18:10:51 +07:00
Vsevolod Kremianskii
c84d04c936 refactor(render): Tweak self-illumination in shaders 2021-02-17 17:38:03 +07:00
Vsevolod Kremianskii
2e0a5dff74 feat: Make quadratic falloff the default 2021-02-16 20:13:48 +07:00
Vsevolod Kremianskii
88e44a783a fix: Increase prefiltered color influence in HDR mode 2021-02-16 19:20:05 +07:00
Vsevolod Kremianskii
a5d32e4853 feat: Add sphere mesh 2021-02-16 19:12:18 +07:00
Vsevolod Kremianskii
71768863ac fix: Improve closest light selection for large models 2021-02-16 18:41:02 +07:00
Vsevolod Kremianskii
c42c418f9f fix: Dynamic room lighting must be available only in developer mode 2021-02-16 10:21:12 +07:00
Vsevolod Kremianskii
35191458bb chore: Tweak exposure stepping 2021-02-15 22:23:18 +07:00
Vsevolod Kremianskii
bd5bc19284 feat: Left and right bracket keys change exposure in PBR HDR mode 2021-02-15 22:06:16 +07:00
Vsevolod Kremianskii
36a52228e1 feat: Implement special handling of default materials
If model has an envmap, metallness and roughness will depend on the
alpha channel of the diffuse texture.
2021-02-15 21:37:47 +07:00
Vsevolod Kremianskii
a1cb2609af feat: Make maximum number of lights configurable 2021-02-15 21:21:50 +07:00
Vsevolod Kremianskii
935e9581b7 feat: Make four light falloff types available to Blinn-Phong and PBR 2021-02-15 20:33:14 +07:00
Vsevolod Kremianskii
d8479e7c94 chore: Multiply shadowres parameter by 1024 2021-02-15 19:43:58 +07:00
Vsevolod Kremianskii
b757066244 feat: Make inverse square falloff a toggleable feature 2021-02-15 19:04:36 +07:00
Vsevolod Kremianskii
56ec59b93a feat: In developer mode F1-F4 toggle graphical features 2021-02-15 18:38:44 +07:00
Vsevolod Kremianskii
52930c8539 feat: Make shadow map resolution configurable 2021-02-15 18:33:32 +07:00
Vsevolod Kremianskii
7b5cf3a8cc fix: Increase shadow bias, self-illuminated node do not cast shadows 2021-02-15 18:23:36 +07:00