aboutsummaryrefslogtreecommitdiff
path: root/src/client (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement shadow offsets for the new SM distortion function (#12191)x20482022-04-143-14/+12
| | | | | | | | * Move shadow position calculation to vertex shaders * Animate entire scene before rendering shadows to prevent lagging of shadows * Remove unnecessary use of PolygonOffsetFactor * Apply normal offset to both nodes and objects * Rename getPerspectiveFactor -> applyPerspectiveDistortion * Remove perspective distortion from fragment shaders
* Spacing fixesShadowNinja2022-04-084-6/+6
|
* Fix compiler warningsShadowNinja2022-04-082-5/+7
|
* Remove obsolete commented code (follow up to #12166)Dmitry Kostenko2022-04-071-9/+0
|
* Adjust shadowmap distortion to use entire SM texture (#12166)x20482022-04-078-61/+73
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-071-2/+2
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Add depth sorting for node faces (#11696)x20482022-04-026-93/+624
| | | | Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning
* Increase the ratio between shadow range and viewing rangeDmitry Kostenko2022-04-021-1/+1
|
* Limit shadow map to the viewing range (#12158)x20482022-03-311-0/+2
|
* Tune shadow perspective distortion (#12146)x20482022-03-315-18/+76
| | | | | * Pass perspective distortion parameters as uniforms * Set all perspective bias parameters via ShadowRenderer * Recalibrate perspective distortion and shadow range to render less shadow geometry with the same quality and observed shadow distance
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-266-29/+90
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Fix footsteps for players whose collision box min y != 0 (#12110)Gregor Parzefall2022-03-141-3/+5
|
* Fix undefined behavior in TileLayer (#12125)Daroc Alden2022-03-111-2/+3
| | | Initialize the values properly
* Use Irrlicht bindings for GL callsfan52022-03-091-18/+11
|
* Correct normal bias for entitiesDmitry Kostenko2022-03-073-12/+7
| | | | | | Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane
* Fix shadows for upright sprite nodesDmitry Kostenko2022-03-071-24/+21
| | | | | Avoid using read only materials in mesh scene node, as it confuses shadow renderer.
* Avoid possible buffer overflow when checking face normalsDmitry Kostenko2022-03-071-1/+1
|
* Use correct indexes when checking mesh normalsDmitry Kostenko2022-03-071-1/+1
|
* Detect 'insane' normals in checkMeshNormals.Dmitry Kostenko2022-03-071-0/+16
| | | | | Detect non-zero normals which point in the opposite direction from the face plane normal.
* Improve lighting of entities.Dmitry Kostenko2022-03-073-18/+25
| | | | | Pass correct natural & artificial light to the shaders Use natural/artificial light ratio for correct rendering of shadows
* Apply shadow texture to wield-based entitiesDmitry Kostenko2022-03-071-2/+7
| | | | For example, dropped nodes and items.
* Render shadows on entities.Dmitry Kostenko2022-03-071-0/+11
| | | | Fixes problem with mod 'drawers'.
* Readd basic_debug as a HUD flag (#12020)Lars Müller2022-03-051-35/+36
|
* Allow to set the displayed item count and its alignment via meta (#8448)DS2022-02-101-12/+57
| | | | | | | | | | | | | * Allow to set the displayed item count and its offset via meta * fix rect constr call * devtest: add dump_item chatcommand * fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now * add missing utf8 to wide conversion * rename to count_meta
* Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)rubenwardy2022-01-315-6/+6
|
* Fix builtin statbar backgroundsLars Mueller2022-01-311-4/+3
| | | | see #12000
* Get rid of `basic_debug` last minutesfan52022-01-302-11/+8
| | | This isn't a revert but rather just disables the codepaths. also see #12011
* Disable dynamic shadows for the 5.5.0 releaseSmallJoker2022-01-295-6/+6
| | | | | | | | | The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development.
* Rework drawtime and related timekeeping code to use microsecondssfan52022-01-276-82/+89
|
* Automatically migrate client mod storage (#11960)Jude Melton-Houghton2022-01-273-5/+43
|
* Fix consistency of sky sun/moon texture behavioursfan52022-01-223-122/+67
| | | | Also cleans up related code somewhat.
* Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy2022-01-221-1/+1
|
* Fix local animation not instantly updating after being setsfan52022-01-191-0/+1
|
* Reset override material in anaglyphDmitry Kostenko2022-01-161-0/+1
| | | | Reset override material properties before applying the color filter.
* Restore pass-through of direction keys (#11924)sfan52022-01-096-59/+53
| | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
* Fully remove bitmap font support (#11863)sfan52022-01-082-140/+22
| | | Freetype is now a build requirement.
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-072-20/+16
|
* Cap damage overlay duration to 1 second (#11871)Wuzzy2022-01-021-0/+4
|
* Recalculate normals before adding mesh to the scenex20482022-01-021-4/+3
|
* Print announce error response (#11878)ShadowNinja2022-01-011-3/+3
| | | | | | | | Fix HTTPFetch caller and request ID to 64 bits Check that allocated caller ID is not DISCARD Print body if serverlist request returns error Don't print control characters from HTTP responses Document special HTTPFetch caller IDs Allow unicode to be printed
* Improve TTF support for pixel-style fonts (#11848)Vincent Robinson2021-12-301-6/+11
|
* Socket-related cleanupssfan52021-12-291-1/+0
| | | Improve error handling on Windows and reduce the size of the `Address` class
* Add more neighbors on mesh update (#6765)Vitaliy2021-12-293-68/+43
|
* Fix segfault in drawItems() due to missing inventory listSmallJoker2021-12-291-1/+5
| | | | | This fixes a nullptr dereference when the specified inventory list is not known. Happens when HUD elements are sent before the required inventory list is created.
* Restore GCC 5 compatibility (#11778)JosiahWI2021-12-281-1/+1
|
* Protect font initialization with mutexsfan52021-12-182-39/+14
| | | | fixes #4532
* Disable inventory if player's inventory formspec is blank (#11827)ROllerozxa2021-12-131-7/+14
|
* Remove creative/damage info in Esc/Pause menuWuzzy2021-12-131-8/+10
|
* Fix various code & correctness issues (#11815)sfan52021-12-052-2/+2
|
* Network: Delete copy constructor and use std::move instead (#11642)SmallJoker2021-12-011-1/+1
| | | This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.