aboutsummaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2022-04-21Fix some debug info showing despite being disabled in the UI (#12205)Lars Müller
2022-04-16Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)paradust7
Stop scaling images to POT immediately when loaded. The 'combine' modifier hardcodes X and Y coordinates, and so behaves incorrectly if applied to a scaled image. Images emitted by generateImage() are already scaled to POT before being used as a texture, so nothing should break.
2022-04-15upright_sprite: Fix walk animation in first person (#12194)SmallJoker
2022-04-14Implement shadow offsets for the new SM distortion function (#12191)x2048
* 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
2022-04-08Spacing fixesShadowNinja
2022-04-08Fix compiler warningsShadowNinja
2022-04-07Remove obsolete commented code (follow up to #12166)Dmitry Kostenko
2022-04-07Adjust shadowmap distortion to use entire SM texture (#12166)x2048
2022-04-07Disentangle map implementations (#12148)Jude Melton-Houghton
Fixes violation of Liskov substitution principle Fixes #12144
2022-04-02Add depth sorting for node faces (#11696)x2048
Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning
2022-04-02Increase the ratio between shadow range and viewing rangeDmitry Kostenko
2022-03-31Limit shadow map to the viewing range (#12158)x2048
2022-03-31Tune shadow perspective distortion (#12146)x2048
* 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
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x2048
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-03-14Fix footsteps for players whose collision box min y != 0 (#12110)Gregor Parzefall
2022-03-11Fix undefined behavior in TileLayer (#12125)Daroc Alden
Initialize the values properly
2022-03-09Use Irrlicht bindings for GL callsfan5
2022-03-07Correct normal bias for entitiesDmitry Kostenko
Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane
2022-03-07Fix shadows for upright sprite nodesDmitry Kostenko
Avoid using read only materials in mesh scene node, as it confuses shadow renderer.
2022-03-07Avoid possible buffer overflow when checking face normalsDmitry Kostenko
2022-03-07Use correct indexes when checking mesh normalsDmitry Kostenko
2022-03-07Detect 'insane' normals in checkMeshNormals.Dmitry Kostenko
Detect non-zero normals which point in the opposite direction from the face plane normal.
2022-03-07Improve lighting of entities.Dmitry Kostenko
Pass correct natural & artificial light to the shaders Use natural/artificial light ratio for correct rendering of shadows
2022-03-07Apply shadow texture to wield-based entitiesDmitry Kostenko
For example, dropped nodes and items.
2022-03-07Render shadows on entities.Dmitry Kostenko
Fixes problem with mod 'drawers'.
2022-03-05Readd basic_debug as a HUD flag (#12020)Lars Müller
2022-02-10Allow to set the displayed item count and its alignment via meta (#8448)DS
* 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
2022-01-31Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)rubenwardy
2022-01-31Fix builtin statbar backgroundsLars Mueller
see #12000
2022-01-30Get rid of `basic_debug` last minutesfan5
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-29Disable dynamic shadows for the 5.5.0 releaseSmallJoker
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.
2022-01-27Rework drawtime and related timekeeping code to use microsecondssfan5
2022-01-27Automatically migrate client mod storage (#11960)Jude Melton-Houghton
2022-01-22Fix consistency of sky sun/moon texture behavioursfan5
Also cleans up related code somewhat.
2022-01-22Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy
2022-01-19Fix local animation not instantly updating after being setsfan5
2022-01-16Reset override material in anaglyphDmitry Kostenko
Reset override material properties before applying the color filter.
2022-01-09Restore pass-through of direction keys (#11924)sfan5
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2022-01-08Fully remove bitmap font support (#11863)sfan5
Freetype is now a build requirement.
2022-01-07Use a database for mod storage (#11763)Jude Melton-Houghton
2022-01-02Cap damage overlay duration to 1 second (#11871)Wuzzy
2022-01-02Recalculate normals before adding mesh to the scenex2048
2022-01-01Print announce error response (#11878)ShadowNinja
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
2021-12-30Improve TTF support for pixel-style fonts (#11848)Vincent Robinson
2021-12-29Socket-related cleanupssfan5
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-29Add more neighbors on mesh update (#6765)Vitaliy
2021-12-29Fix segfault in drawItems() due to missing inventory listSmallJoker
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.
2021-12-28Restore GCC 5 compatibility (#11778)JosiahWI
2021-12-18Protect font initialization with mutexsfan5
fixes #4532
2021-12-13Disable inventory if player's inventory formspec is blank (#11827)ROllerozxa