Commit graph

771 commits

Author SHA1 Message Date
Adngel
6a863a86e9 Update Changes.txt 2024-02-11 19:37:43 +01:00
Lwmte
acf385693e Fixed sounds resuming in pause mode while switching between apps 2024-02-09 02:32:09 +01:00
Lwmte
05788b7978 Update Changes.txt 2024-02-07 17:39:20 +01:00
Stranger1992
919ff5065a Added comment to changelog 2024-02-04 20:55:29 +00:00
Jakub
1cdb4e0726
Update Changes.txt 2024-02-04 17:11:39 +00:00
Jakub
4fdedc3b00
Update Changes.txt 2024-02-04 17:00:40 +00:00
hispidence
ba648e1383 Fixed doc comments and regenerated docs. 2024-01-07 13:22:52 +00:00
Lwmte
d1c0050d8d Update config.ld 2024-01-06 15:26:58 +01:00
Lwmte
860b44223b Update Changes.txt 2024-01-06 13:16:26 +01:00
Lwmte
a0a5ee68db Update Changes.txt 2024-01-06 12:33:42 +01:00
Jakub
e4b286e41d
Update Changes.txt 2024-01-05 22:23:22 +00:00
Jakub
b63cf527bc
Renderer refactor (#1287)
* Fixed vertex effects for statics

* WIP implementing SMAA antialiasing

* Fixed double drawing of additive faces

* SMAA working, need to tune it

* Cleaned SMAA code, ready for test

* Formatting

* Renderer cleaning Tier 1

* Renamed Renderer11 to Renderer;
Forced DX11 hardware support;
Removed m_ from private fields in Renderer class;
Refactored render targets: optional depth buffer creation;
Back buffer now is a RenderTarget2D;

* Converting constexpr and defines to enum classes

* Converting enum to enum classes, tier 2;

* Converting constexpr to enum classes, tier 3

* Cleaned enums and constants; Renamed some files;

* Fixed shaders; Renamed AlphaTestModes;

* Cleaned shaders directory; Reverted hardware version to DX10.1 (we'll upgrade it again in the next releases);

* Renamed private fields;
Refactored quad vertex buffer for sprites;
Refactored HUD renderer structure;
Minor fixes;

* Deleted some files

* Removed reference to RendererQuad.h

* New renderer transparency, for rooms now

* Continue work

* Implemented WOIT for alpha blending;
Started renderer refactoring;

* Removed redundant DirectX api calls

* Added G-Buffer with normals and depth

* Refactored and optimized particle enemies (rats, bats, locusts, beetles);
Extended G-Buffer to effects, rats, bats, locusts, beetles, gunshells, debris;
Extended animated textures sequence to 256;
Fixed normal mapping for items and statics;

* Removed WOIT code;
Removed write to depth map in opaque pass (it's already done in depth pre-pass);
Cleaned debris rendering code;

* Removed legacy render targets;
Added dual paraboloid mapping for ambient light (to finish the light shader):
Minor cleanups;

* Implement additive debug triangles

* Unhardcode value

* Finished room ambient code, commented for now (need to write a gaussian filter);

* Fixed wrong constant buffer slot in SMAA

* Renamed draw effects functions;
Moved prepare sprites function before the draw code;
Restored additive drawing;
Restored alpha blend faces collect;

* Enhance visual debug object API

* Partially restored sprites drawing

* Rename local variables

* Improve spheres

* Update names

* Rename function

* Remove unneeded parameter

* Formatting

* Cleaned and optimized drawing of opaque/additive sprites

* Removed legacy alpha blend code;
Added drawing of alpha blended faces for rooms;

* Completed drawing of non commutative objects;
FIxed compilation;
Removed old files;

* Refactored debug statistics for renderer

* Fixed FPS calculation

* Removed not used render targets and shaders

* Added base post-process framework;
Added monochrome and sepia effects;

* SSAO WIP

* SSAO almost working, needs tuning;
Changes to G-Buffer;

* Removed .cpp files in Graphics directory and moved constructors to headers;
Templatized VertexBuffer class;
New post-process system work in progress;
New blur stage for SSAO;

* SSAO at 1/4 resolution

* Removed FinalPass.fx and moved pixel shader to PostProcess.fx;
Added color to PostProcessVertex;
Rewritten the post-process step using new system;
Tweaked some variables for SSAO;
Fixed drawing of render targets debug thumbnails;

* Rewritten antialiasing techniques with new post-process system;
Made depth target optional when creating render targets using UNKNOWN DXGI format;

* Fix for empty vertex and index buffers

* Encode normals to RGBA8 render target;
Fixed samplers of depth texture;

* Removed legacy hairs shader

* Restored SSAO at fuill res for now;
Fixed shaders structs;

* Optimized G-Buffer shaders for speed and avoid DX log spam;
Renamed updateData to UpdateData in constant buffers;

* Bilateral gaussian filter for SSAO

* Fixed wrong enum

* Cleaning constant buffers tier 1

* Added SSAO setting

* Fixed shaders

* Fixed shaders

* Update SystemStrings.lua

* Refactored initialization code;
Added read and write of ambient occlusion in Windows registry;
Refactored shaders;
Added LUA API for setting color scheme;
Removed some old variables;

* Added effect strength to post-process framework

* Some shaders cleaning;
Don't calculate SSAO if disabled;

* Restored wireframe mode

* Revert "Merge branch 'develop' into renderer_refactor"

This reverts commit 4706f46982, reversing
changes made to bd413d00b2.

* Add negative postprocess effect

* Update PostProcess.fx

* Removed some DX log spam in SMAA shaders;
Fixed crash while drawing alpha blended faces from static objects;

* Fixed alpha blended faces drawing double sided for items and statics

* Fixed flickering of alpha blended faces of rooms

* Fixed gunflashes

* Revert "Revert "Merge branch 'develop' into renderer_refactor""

This reverts commit 536c555b2d.

* Fixed shadow mapping for point lights

* Fixed bad merge in speedometer

* Fix display pickup crash

* Fix SSAO toggle with left key

* Refactoring postprocess effect workflow

- Added exclusion mode
- Separated effect mode and strength to different functions
- Reset postprocess on level start
- Preserve postprocess on savegame reload
- Enum and function renames to maintain consistency

* Fix some comments

* Fix display pickup drawing

* Rename

* Fix for lights not affecting big static objects

* Fixed antialiasing for pickup objects and for inventory scene

* Fixed ghost polygons bug

* Fixed SSAO on surfaces with no or invalid normals

* Fix merge

* Bypass postprocessing if effect strength is set to 0

* Update SystemStrings.lua

* Update Changes.txt

* Update Changes.txt

* Turn on SSAO and target highlighter by default

* Remove duplicated changelog entries

* Implement LARA_START_POS object handling

* Update lara_initialise.cpp

* Update Changes.txt

* Update Changes.txt

* Fixed double sided alpha blend faces again

* Added things to changes.txt

* Update Changes.txt

* Don't use LARA_START_POSes with OCB 0

* Fixed 3D sprites like footprints

* Fixed glow for statics;
Fixed world position for items;

* Per-triangle sorting alpha blend

* Fixed missing last polygons in alpha blending

* Code cleaning

* Added alpha blending to rats, bats, locusts, scarabs

* Restored fast alpha blend

* Fixed AA in title level

* Improved light collector;
Added code for disable statics instancing if needed for debug;

* Fixed rare wrong caustics textures sizes

---------

Co-authored-by: MontyTRC89 <montyhammet@hotmail.it>
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-01-05 22:19:52 +00:00
Adngel
0ad626c1d6 Wolf new OCB
- OCB 0: Wolf starts in walking animation, ready to chase Lara.
  - OCB 1: Wolf starts in sleeping animation. (As it was before).
2023-12-30 12:36:53 +01:00
Sezz
07879bc744 Minor formatting 2023-12-29 18:19:52 +11:00
Lwmte
bfc7d1b3d4
Lara start position handling (#1301)
* Implement LARA_START_POS object handling

* Update lara_initialise.cpp

* Update Changes.txt

* Update Changes.txt

* Don't use LARA_START_POSes with OCB 0
2023-12-28 20:36:33 +00:00
hispidence
a70159d95b Regen docs and fix some doc comments 2023-12-26 20:47:08 +00:00
Lwmte
b7ed52c53d Fix playback issues with audio tracks placed in subfolders 2023-12-26 00:56:11 +01:00
Lwmte
14fa1d39aa
Pick objects by cursor (#1296)
* Initial Commit
* Move GetRayFrom2DPosition to los.cpp
* Quick formatting
* Reogranize conversions a bit
* Update ViewHandler.cpp
* Remove unued temp variables
* Update Changes.txt

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-12-25 10:15:57 +02:00
Lwmte
8cb7ef6418 Fix several issues with limited pistol ammo 2023-12-21 01:19:29 +01:00
Lwmte
640cbefed8 Add Room:GetColor lua function 2023-12-20 02:35:18 +01:00
Lwmte
c921c0dd62 Add GetCameraPosition and GetCameraTarget lua functions 2023-12-20 02:01:53 +01:00
Jakub
bbee2abc67
Update Changes.txt 2023-12-18 09:44:52 +00:00
Lwmte
dbf69de04f Implement GetCameraRoom instead of GetCameraUnderwater 2023-12-18 01:58:05 +01:00
Lwmte
15b4ad2b46 Add GetCameraUnderwater() to lua API 2023-12-18 01:08:28 +01:00
Lwmte
87da98178c Fix #1280 2023-12-17 11:27:05 +01:00
Lwmte
921dcb905a Update Changes.txt 2023-12-16 12:36:02 +01:00
Lwmte
969a0f0bed Revert "Update Changes.txt"
This reverts commit a0f2cd973a.
2023-12-16 12:34:22 +01:00
Sezz
a0f2cd973a Update Changes.txt 2023-12-14 18:16:30 +11:00
Sezz
718bc86c4d Fix jittery camera when performing crawl-to-hang 2023-12-14 14:56:45 +11:00
Lwmte
99a04a6718 Merge branch 'event_set_editor_enhancements' into develop 2023-12-11 08:20:01 +01:00
Jakub
8ad6966c3b
Update Changes.txt 2023-12-10 10:46:02 +00:00
Jakub
fb74011e69
Update Changes.txt 2023-12-04 10:48:31 +00:00
Lwmte
c5aa4c7fac Update Changes.txt 2023-12-03 07:51:41 +01:00
Lwmte
637218d74d Update Changes.txt 2023-12-03 07:51:03 +01:00
Lwmte
cf7ed097c2 Update Changes.txt 2023-12-03 07:50:34 +01:00
Lwmte
202380d696 Update Changes.txt 2023-12-03 07:49:48 +01:00
Jakub
762889ed02
Update Changes.txt 2023-12-02 10:49:14 +00:00
Sezz
b63ef90d6c Accurately rotate display sprites around pivot 2023-11-29 00:34:32 +11:00
Jakub
19264a5ee1
Update Changes.txt 2023-11-28 11:07:12 +00:00
Sezz
22cdf68fd0 Update Changes.txt 2023-11-28 22:02:52 +11:00
Sezz
9c16f3d4c9 Update Changes.txt 2023-11-28 21:45:06 +11:00
Jakub
2bfde737c1
Update Changes.txt 2023-11-18 09:32:37 +00:00
Jakub
481dd3bb82
Update Changes.txt 2023-11-18 09:29:26 +00:00
Sezz
3ae5fa613e Update Changes.txt 2023-11-17 00:19:45 +11:00
Jakub
cb21a95917
Update Changes.txt 2023-11-16 12:05:51 +00:00
Jakub
00a527a5ac
Update Changes.txt 2023-11-16 12:05:36 +00:00
Sezz
b884c8e69b Separate underwater switch objects 2023-11-14 20:06:52 +11:00
Adngel
e22501a646 Update Changes.txt 2023-11-12 14:06:41 +01:00
Lwmte
371cc2e033 Fix crashing if title logo is removed from Textures folder 2023-11-12 08:08:32 +01:00
hispidence
e7ffb94d19 Regen docs, increase margin in css file 2023-11-11 12:16:23 +00:00