When I get these lines, setting repeat to false usually fixes it. But
in you case you want the repeat so that wont work!

Have you tried reducing the scaleY to 0.99 or 0.98? I remember doing
that once to remove these lines...

ath.

Jerome.

On Nov 25, 7:04 pm, jonny <[email protected]> wrote:
> 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