Transparent objects working.

This commit is contained in:
Tleety
2014-05-29 23:59:36 +02:00
parent eb37cc2296
commit cc84f04542
15 changed files with 244 additions and 81 deletions
+2 -1
View File
@@ -11,11 +11,12 @@ namespace Components
struct Model : Component
{
Model() : Visible(true), ShadowCaster(true) { }
Model() : Visible(true), ShadowCaster(true), Transparent(false) { }
std::string ModelFile;
Color Color;
bool Visible;
bool ShadowCaster;
bool Transparent;
virtual Model* Clone() const override { return new Model(*this); }
};