This is a mirror of official site: http://jasper-net.blogspot.com/

Silverlight Tip of the Day #36 – Creating Smooth Tile Transitions using Opacity Masks

| Sunday, October 24, 2010
This tutorial will look into using the Opacity property on the tiles to create smooth, natural looking transitions between tiles. For example, blending a dirt tile into a grass tile, a grass tile into a rock tile, etc.

Below, on the left, is a screen shot of a grass and dirt tile without the use of an opacity mask. As you can see, the straight line does not make for a very real looking transition! On the right is the result with an opacity mask applied, making for a much more realistic transition.

image_6.png

Read more: Silverlight Tip of the Da

Posted via email from .NET Info

0 comments: