How to make blur in CUI ?
Setting blur in CUI?Solved
- 1
- 2
use sprites
Thread Up.
In response to misticos ():Thread Up.
One correct answer could be that way (instead of the first smart alec)
var innerLine = new CuiElement
{
Name = CuiHelper.GetGuid(),
Parent = mainPanel,
Components =
{
new CuiRawImageComponent { Color = "0 0 0 0.5", Sprite = "assets/content/materials/highlight.png", Material = "assets/content/ui/uibackgroundblur-ingamemenu.mat" },
new CuiRectTransformComponent{ AnchorMin = "0 0", AnchorMax = "0.9 0.9" }
}
};
Example visual:
Cool stuff.
If I would betray all my tricks at once, I would probably be unemployed in no time ;)
Locked automatically
- 1
- 2