aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-07Enable shadows by default in devtest (#12157)x2048
* Move all shadow control to util_commands * Shadows are now controlled with /set_shadow Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07Compile Lua as C++ (#11683)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-03Fix -mwindows flag not being applied anymoresfan5
closes #12165
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-04-01Avoid negation of comparison operator (luacheck warning)Dmitry 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-29Store vector metatable in registryJude Melton-Houghton
2022-03-29Optimize swapping nodes with equivalent lightingJude Melton-Houghton
2022-03-29Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS
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-19Improve lua vector helper class doumentation (#12090)DS
2022-03-14Fix memory leak in EmergeManagerDaroc Alden
EmergeManager keeps a copy of the BiomeGen that it creates, but never deletes it.
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-09Remove direct OpenGL(ES) dependencysfan5
IrrlichtMt now provides this for us (see last commit) fixes #12041
2022-03-09Use Irrlicht bindings for GL callsfan5
2022-03-09Fix memory leak from SpatialAreaStore (#12120)Daroc Alden
2022-03-07Reuse normal offset calculation for nodesDmitry Kostenko
2022-03-07Correct normal bias for entitiesDmitry Kostenko
Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane
2022-03-07Change normal bias for entities to avoid shadow acneDmitry Kostenko
2022-03-07Remove debugging codeDmitry Kostenko
2022-03-07Ensure nightRatio is greater than zero in object shaderDmitry Kostenko
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-07Apply texture matrix when rendering shadowmapDmitry Kostenko
Fixes shadows of animated sprite entities
2022-03-07Avoid possible buffer overflow when checking face normalsDmitry Kostenko
2022-03-07Use correct indexes when checking mesh normalsDmitry Kostenko
2022-03-07Fix shadow rendering with filtering disabledDmitry 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-07Improve self-shadowing based on light/normal angleDmitry Kostenko
Add compatibility with colored shadows.
2022-03-07Copy shadow mapping shader from nodes to objectsDmitry Kostenko
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-03-05Allow get_sky to return a table (#11963)Zughy
2022-03-02Fix segfault with autoscale_mode (again)sfan5
closes #12100 This time add some asserts so there is no misunderstanding about the NULL-ness of layer->texture.
2022-02-26Move the codebase to C++14sfan5
2022-02-24Fix broken dependency enabling due to missing `enabled` field (#12093)rubenwardy
2022-02-23Lua API documentation: Various fixes (#12059)SmallJoker
Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
2022-02-22FormspecMenu: make drawing of backgrounds less hacky (#9517)DS
2022-02-22Add TGA test nodes to devtest (#11978)Nils Dagsson Moskopp
2022-02-22Lua API: Consistently use double vs. single quotes (#12075)Lars Müller
2022-02-17Clean up ClientReady packet handlingsfan5
fixes #12073
2022-02-16Use absolute value for bouncy in collision (#11969)pecksin
* use abs(bouncy) in collision * test case for negative bouncy * send abs(bouncy) to old clients
2022-02-12Apply texture pack main menu textures immediately (#12018)ROllerozxa