Hi,

I have a Plane which has a material applied to it which I want to
repeat horizontally but not vertically. The material is a Tree image
which has transparency on it in the spaces around the tree outline.

So I use the TransformBitmapMaterial class like so:
var mat = new TransformBitmapMaterial(Cast.bitmap(Tree),
{repeat:true,scaleX:0.25, scaleY:1});

The material does indeed repeat horizontally and not vertically like I
require BUT the problem is that at the very top of the plane you can
see a very thin jaggedy line. Its as if its trying to start the next
repeat vertically but then stopping.

If I set repeat to false on TransformBitmapMaterial then the problem
disappears but then of course it does not repeat horizontally anymore.

Any ideas what the problem is and how I can fix it? Its driving me
mad.

Many Thanks!

Reply via email to