Graphics: Set default render mask for LightComponent and GraphicsComponent

This commit is contained in:
SirLynix
2023-01-29 11:38:08 +01:00
parent 4a91f3d470
commit 3f200edeb6
5 changed files with 18 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ int main()
{
auto& nodeComponent = textEntity.emplace<Nz::NodeComponent>();
auto& gfxComponent = textEntity.emplace<Nz::GraphicsComponent>();
gfxComponent.AttachRenderable(textSprite, 0xFFFFFFFF);
gfxComponent.AttachRenderable(textSprite);
Nz::Boxf textBox = textSprite->GetAABB();
Nz::Vector2ui windowSize = mainWindow.GetSize();