mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add 'emission' block wrap property
This commit is contained in:
parent
54d1398d1b
commit
dfdc7ebf6b
7 changed files with 32 additions and 22 deletions
|
|
@ -22,9 +22,11 @@ class DrawContext;
|
|||
struct BlockWrapper {
|
||||
glm::ivec3 position;
|
||||
std::array<std::string, 6> textureFaces {};
|
||||
float emission = 1.0f;
|
||||
|
||||
// --- render cache ---
|
||||
util::TextureRegion texRegions[6] {};
|
||||
UVRegion uvRegions[6] {};
|
||||
const voxel* vox = nullptr;
|
||||
BlockModelType modelType {};
|
||||
uint8_t cullingBits = 0xFF;
|
||||
uint8_t dirtySides = 0xFF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue