16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 14:49:19 +02:00

Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim

This commit is contained in:
milek7
2022-01-05 01:02:56 +01:00
76 changed files with 9277 additions and 5749 deletions

View File

@@ -27,6 +27,7 @@ struct opengl_material {
std::optional<float> opacity;
std::optional<float> selfillum;
float glossiness { 10.f };
int shadow_rank { 0 }; // priority as shadow caster; higher = more likely to be skipped
std::string name;
glm::vec2 size { -1.f, -1.f }; // 'physical' size of bound texture, in meters