mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Shadow mapping render pass (#11244)
Co-authored-by: x2048 <codeforsmile@gmail.com>
This commit is contained in:
parent
46f42e15c4
commit
c47313db65
35 changed files with 2624 additions and 38 deletions
|
@ -27,6 +27,7 @@ struct ItemStack;
|
|||
class Client;
|
||||
class ITextureSource;
|
||||
struct ContentFeatures;
|
||||
class ShadowRenderer;
|
||||
|
||||
/*!
|
||||
* Holds color information of an item mesh's buffer.
|
||||
|
@ -124,6 +125,8 @@ private:
|
|||
// so this variable is just required so we can implement
|
||||
// getBoundingBox() and is set to an empty box.
|
||||
aabb3f m_bounding_box;
|
||||
|
||||
ShadowRenderer *m_shadow;
|
||||
};
|
||||
|
||||
void getItemMesh(Client *client, const ItemStack &item, ItemMesh *result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue