added light color mask texture support

This commit is contained in:
Turánszki János
2025-03-28 08:58:56 +01:00
parent 528977b013
commit d1578b0179
12 changed files with 128 additions and 24 deletions
+10 -1
View File
@@ -319,7 +319,12 @@ void LightWindow::Create(EditorComponent* _editor)
shadowResolutionComboBox.SetSelected(0);
AddWidget(&shadowResolutionComboBox);
y += step * 0.5f;
tipLabel.Create("TipLabel");
tipLabel.SetText("Tip: you can add a material to this entity, and the base color texture of it will be used to tint the light color.");
tipLabel.SetPos(XMFLOAT2(mod_x, y += step));
tipLabel.SetSize(XMFLOAT2(100, 50));
AddWidget(&tipLabel);
lensflare_Label.Create("Lens flare textures: ");
lensflare_Label.SetPos(XMFLOAT2(mod_x, y += step));
@@ -590,6 +595,10 @@ void LightWindow::ResizeLayout()
y += jump;
add_fullwidth(tipLabel);
y += jump;
add_fullwidth(lensflare_Label);
add_fullwidth(lensflare_Button[0]);
add_fullwidth(lensflare_Button[1]);