aboutsummaryrefslogtreecommitdiff
path: root/cmake (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-08Remove duplication in config.hShadowNinja1-10/+6
2022-04-08Spacing fixesShadowNinja31-83/+82
2022-04-08Treat empty XDG_CACHE_HOME same as unsetShadowNinja1-1/+1
This matches the XDG base directory spec.
2022-04-08Use build directory for buildsShadowNinja5-11/+11
2022-04-08Fix compiler warningsShadowNinja9-51/+44
2022-04-07Remove reference to a removed file in devtest (followup to #12157)Dmitry Kostenko1-1/+0
2022-04-07Remove obsolete commented code (follow up to #12166)Dmitry Kostenko1-9/+0
2022-04-07Adjust shadowmap distortion to use entire SM texture (#12166)x204812-112/+156
2022-04-07Disentangle map implementations (#12148)Jude Melton-Houghton6-57/+57
Fixes violation of Liskov substitution principle Fixes #12144
2022-04-07Enable shadows by default in devtest (#12157)x20482-8/+14
* 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-Houghton5-34/+103
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-03Fix -mwindows flag not being applied anymoresfan51-1/+4
closes #12165
2022-04-02Add depth sorting for node faces (#11696)x20488-93/+629
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 Kostenko1-1/+1
2022-04-01Avoid negation of comparison operator (luacheck warning)Dmitry Kostenko1-1/+1
2022-03-31Limit shadow map to the viewing range (#12158)x20481-0/+2
2022-03-31Tune shadow perspective distortion (#12146)x204812-59/+117
* 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-Houghton10-21/+36
2022-03-29Optimize swapping nodes with equivalent lightingJude Melton-Houghton2-20/+51
2022-03-29Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS10-96/+56
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x204824-169/+375
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-03-19Improve lua vector helper class doumentation (#12090)DS1-23/+81
2022-03-14Fix memory leak in EmergeManagerDaroc Alden1-0/+1
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 Parzefall1-3/+5
2022-03-11Fix undefined behavior in TileLayer (#12125)Daroc Alden1-2/+3
Initialize the values properly
2022-03-09Remove direct OpenGL(ES) dependencysfan53-106/+3
IrrlichtMt now provides this for us (see last commit) fixes #12041
2022-03-09Use Irrlicht bindings for GL callsfan51-18/+11
2022-03-09Fix memory leak from SpatialAreaStore (#12120)Daroc Alden1-0/+1
2022-03-07Reuse normal offset calculation for nodesDmitry Kostenko2-5/+16
2022-03-07Correct normal bias for entitiesDmitry Kostenko4-15/+14
Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane
2022-03-07Change normal bias for entities to avoid shadow acneDmitry Kostenko2-11/+12
2022-03-07Remove debugging codeDmitry Kostenko2-4/+0
2022-03-07Ensure nightRatio is greater than zero in object shaderDmitry Kostenko1-1/+1
2022-03-07Fix shadows for upright sprite nodesDmitry Kostenko1-24/+21
Avoid using read only materials in mesh scene node, as it confuses shadow renderer.
2022-03-07Apply texture matrix when rendering shadowmapDmitry Kostenko1-1/+1
Fixes shadows of animated sprite entities
2022-03-07Avoid possible buffer overflow when checking face normalsDmitry Kostenko1-1/+1
2022-03-07Use correct indexes when checking mesh normalsDmitry Kostenko1-1/+1
2022-03-07Fix shadow rendering with filtering disabledDmitry Kostenko2-0/+6
2022-03-07Detect 'insane' normals in checkMeshNormals.Dmitry Kostenko1-0/+16
Detect non-zero normals which point in the opposite direction from the face plane normal.
2022-03-07Improve lighting of entities.Dmitry Kostenko5-25/+50
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 Kostenko2-4/+12
Add compatibility with colored shadows.
2022-03-07Copy shadow mapping shader from nodes to objectsDmitry Kostenko2-82/+235
2022-03-07Apply shadow texture to wield-based entitiesDmitry Kostenko1-2/+7
For example, dropped nodes and items.
2022-03-07Render shadows on entities.Dmitry Kostenko1-0/+11
Fixes problem with mod 'drawers'.
2022-03-05Readd basic_debug as a HUD flag (#12020)Lars Müller6-60/+55
2022-03-05Allow get_sky to return a table (#11963)Zughy4-31/+74
2022-03-02Fix segfault with autoscale_mode (again)sfan51-5/+5
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++14sfan59-20/+13
2022-02-24Fix broken dependency enabling due to missing `enabled` field (#12093)rubenwardy1-5/+7
2022-02-23Lua API documentation: Various fixes (#12059)SmallJoker3-45/+68
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