![]() ![]() Var compositor = ElementCompositionPreview.GetElementVisual(id).Compositor ![]() I also realised that I should have watched this video from //Build as well around effects, lighting and shadows before trying to make it up on my ownĪrmed with some of what I saw in these materials, my first experiment with shadows was to make a blank UI. Which has a recipe for drop shadows and that helped a lot and caused me to more or less start over and rework the post entirely as I had spent a little time barking up the wrong tree. I’ll admit that there’s another version of this blog post where I fumbled around a bit trying to understand what the Shadowproperty was for on a SpriteVisual and trying to make use of it in a way that really didn’t work out for me and caused me to go looking for the manual.įortunately, at the time that I was writing the post, I did a search and I found this brand new article on MSDN Had me thinking “how do you do that?” and it got my interest. It’s worth saying that the official samples have a DropShadow sample and some lighting samples within them but I wanted to experiment for myself and especially around how I might create this kind of effect that the UI team shared on one of their newsletters – this picture ![]() One of the functional areas that the composition APIs offer are the abilities to add both lighting and shadowing effects to UI and I was interested in trying them out after some of my efforts with general effects like blur. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |