aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-08Remove generate-texture-normals.shShadowNinja
Minetest does not use normal maps any more.
2022-04-08Fix typo and update settings filesShadowNinja
2022-04-08Fix spaces generated by settings file generatorShadowNinja
2022-04-08Use CMake's -B, --build, and --install optionsShadowNinja
2022-04-08Fix OOB read in trim("")ShadowNinja
2022-04-08Remove duplicate test for trimShadowNinja
2022-04-08Update directory name sanitizationShadowNinja
Only ASCII spaces have to be handles specially, and leading spaces are also disallowed.
2022-04-08Add tests for sanitizeDirNameShadowNinja
2022-04-08Add additional reserved directory namesShadowNinja
2022-04-08Auto-detect level of parallelismShadowNinja
2022-04-08Remove duplication in config.hShadowNinja
2022-04-08Spacing fixesShadowNinja
2022-04-08Treat empty XDG_CACHE_HOME same as unsetShadowNinja
This matches the XDG base directory spec.
2022-04-08Use build directory for buildsShadowNinja
2022-04-08Fix compiler warningsShadowNinja
2022-04-07Remove reference to a removed file in devtest (followup to #12157)Dmitry Kostenko
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