added light color mask texture support
This commit is contained in:
+10
-1
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user