Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Disentangle map implementations (#12148) | Jude Melton-Houghton | 2022-04-07 | 6 | -57/+57 | |
| | | | | Fixes violation of Liskov substitution principle Fixes #12144 | |||||
* | Enable shadows by default in devtest (#12157) | x2048 | 2022-04-07 | 2 | -8/+14 | |
| | | | | | | * Move all shadow control to util_commands * Shadows are now controlled with /set_shadow Co-authored-by: sfan5 <sfan5@live.de> | |||||
* | Compile Lua as C++ (#11683) | Jude Melton-Houghton | 2022-04-07 | 5 | -34/+103 | |
| | | | Co-authored-by: sfan5 <sfan5@live.de> | |||||
* | Fix -mwindows flag not being applied anymore | sfan5 | 2022-04-03 | 1 | -1/+4 | |
| | | | | closes #12165 | |||||
* | Add depth sorting for node faces (#11696) | x2048 | 2022-04-02 | 8 | -93/+629 | |
| | | | | Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning | |||||
* | Increase the ratio between shadow range and viewing range | Dmitry Kostenko | 2022-04-02 | 1 | -1/+1 | |
| | ||||||
* | Avoid negation of comparison operator (luacheck warning) | Dmitry Kostenko | 2022-04-01 | 1 | -1/+1 | |
| | ||||||
* | Limit shadow map to the viewing range (#12158) | x2048 | 2022-03-31 | 1 | -0/+2 | |
| | ||||||
* | Tune shadow perspective distortion (#12146) | x2048 | 2022-03-31 | 12 | -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 | |||||
* | Store vector metatable in registry | Jude Melton-Houghton | 2022-03-29 | 10 | -21/+36 | |
| | ||||||
* | Optimize swapping nodes with equivalent lighting | Jude Melton-Houghton | 2022-03-29 | 2 | -20/+51 | |
| | ||||||
* | Fix the documentation of InvRef:get_lists() and clean up code (#12150) | DS | 2022-03-29 | 10 | -96/+56 | |
| | ||||||
* | Add API to control shadow intensity from the game/mod (#11944) | x2048 | 2022-03-26 | 24 | -169/+375 | |
| | | | * Also Disable shadows when sun/moon is hidden. Fixes #11972. | |||||
* | Improve lua vector helper class doumentation (#12090) | DS | 2022-03-19 | 1 | -23/+81 | |
| | ||||||
* | Fix memory leak in EmergeManager | Daroc Alden | 2022-03-14 | 1 | -0/+1 | |
| | | | | EmergeManager keeps a copy of the BiomeGen that it creates, but never deletes it. | |||||
* | Fix footsteps for players whose collision box min y != 0 (#12110) | Gregor Parzefall | 2022-03-14 | 1 | -3/+5 | |
| | ||||||
* | Fix undefined behavior in TileLayer (#12125) | Daroc Alden | 2022-03-11 | 1 | -2/+3 | |
| | | | Initialize the values properly | |||||
* | Remove direct OpenGL(ES) dependency | sfan5 | 2022-03-09 | 3 | -106/+3 | |
| | | | | | IrrlichtMt now provides this for us (see last commit) fixes #12041 | |||||
* | Use Irrlicht bindings for GL call | sfan5 | 2022-03-09 | 1 | -18/+11 | |
| | ||||||
* | Fix memory leak from SpatialAreaStore (#12120) | Daroc Alden | 2022-03-09 | 1 | -0/+1 | |
| | ||||||
* | Reuse normal offset calculation for nodes | Dmitry Kostenko | 2022-03-07 | 2 | -5/+16 | |
| | ||||||
* | Correct normal bias for entities | Dmitry Kostenko | 2022-03-07 | 4 | -15/+14 | |
| | | | | | | Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane | |||||
* | Change normal bias for entities to avoid shadow acne | Dmitry Kostenko | 2022-03-07 | 2 | -11/+12 | |
| | ||||||
* | Remove debugging code | Dmitry Kostenko | 2022-03-07 | 2 | -4/+0 | |
| | ||||||
* | Ensure nightRatio is greater than zero in object shader | Dmitry Kostenko | 2022-03-07 | 1 | -1/+1 | |
| | ||||||
* | Fix shadows for upright sprite nodes | Dmitry Kostenko | 2022-03-07 | 1 | -24/+21 | |
| | | | | | Avoid using read only materials in mesh scene node, as it confuses shadow renderer. | |||||
* | Apply texture matrix when rendering shadowmap | Dmitry Kostenko | 2022-03-07 | 1 | -1/+1 | |
| | | | | Fixes shadows of animated sprite entities | |||||
* | Avoid possible buffer overflow when checking face normals | Dmitry Kostenko | 2022-03-07 | 1 | -1/+1 | |
| | ||||||
* | Use correct indexes when checking mesh normals | Dmitry Kostenko | 2022-03-07 | 1 | -1/+1 | |
| | ||||||
* | Fix shadow rendering with filtering disabled | Dmitry Kostenko | 2022-03-07 | 2 | -0/+6 | |
| | ||||||
* | Detect 'insane' normals in checkMeshNormals. | Dmitry Kostenko | 2022-03-07 | 1 | -0/+16 | |
| | | | | | Detect non-zero normals which point in the opposite direction from the face plane normal. | |||||
* | Improve lighting of entities. | Dmitry Kostenko | 2022-03-07 | 5 | -25/+50 | |
| | | | | | Pass correct natural & artificial light to the shaders Use natural/artificial light ratio for correct rendering of shadows | |||||
* | Improve self-shadowing based on light/normal angle | Dmitry Kostenko | 2022-03-07 | 2 | -4/+12 | |
| | | | | Add compatibility with colored shadows. | |||||
* | Copy shadow mapping shader from nodes to objects | Dmitry Kostenko | 2022-03-07 | 2 | -82/+235 | |
| | ||||||
* | Apply shadow texture to wield-based entities | Dmitry Kostenko | 2022-03-07 | 1 | -2/+7 | |
| | | | | For example, dropped nodes and items. | |||||
* | Render shadows on entities. | Dmitry Kostenko | 2022-03-07 | 1 | -0/+11 | |
| | | | | Fixes problem with mod 'drawers'. | |||||
* | Readd basic_debug as a HUD flag (#12020) | Lars Müller | 2022-03-05 | 6 | -60/+55 | |
| | ||||||
* | Allow get_sky to return a table (#11963) | Zughy | 2022-03-05 | 4 | -31/+74 | |
| | ||||||
* | Fix segfault with autoscale_mode (again) | sfan5 | 2022-03-02 | 1 | -5/+5 | |
| | | | | | closes #12100 This time add some asserts so there is no misunderstanding about the NULL-ness of layer->texture. | |||||
* | Move the codebase to C++14 | sfan5 | 2022-02-26 | 9 | -20/+13 | |
| | ||||||
* | Fix broken dependency enabling due to missing `enabled` field (#12093) | rubenwardy | 2022-02-24 | 1 | -5/+7 | |
| | ||||||
* | Lua API documentation: Various fixes (#12059) | SmallJoker | 2022-02-23 | 3 | -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 | |||||
* | FormspecMenu: make drawing of backgrounds less hacky (#9517) | DS | 2022-02-22 | 4 | -22/+43 | |
| | ||||||
* | Add TGA test nodes to devtest (#11978) | Nils Dagsson Moskopp | 2022-02-22 | 11 | -0/+117 | |
| | ||||||
* | Lua API: Consistently use double vs. single quotes (#12075) | Lars Müller | 2022-02-22 | 1 | -20/+20 | |
| | ||||||
* | Clean up ClientReady packet handling | sfan5 | 2022-02-17 | 3 | -44/+35 | |
| | | | | fixes #12073 | |||||
* | Use absolute value for bouncy in collision (#11969) | pecksin | 2022-02-16 | 3 | -4/+10 | |
| | | | | | * use abs(bouncy) in collision * test case for negative bouncy * send abs(bouncy) to old clients | |||||
* | Apply texture pack main menu textures immediately (#12018) | ROllerozxa | 2022-02-12 | 1 | -9/+12 | |
| | ||||||
* | Add support for 'seed' in disallow_mapgen_settings (#12023) | Wuzzy | 2022-02-12 | 2 | -7/+12 | |
| | ||||||
* | Correct world_format.txt specification (#12061) | Dennis Jenkins | 2022-02-12 | 1 | -1/+4 | |
| | | | The node timers appear at the end of a mapblock for map format version >= 25, not just map format version 25. |