Transparent objects working.
This commit is contained in:
@@ -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); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user