kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

TransformBitmapMaterial fails on scaleX and scaleY #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make an object that use a TransformBitmapMaterial
2. Set scaleX/scaleY to 0.5 and note that just half the object get the
scaled texture. The rest gets the edge pixles repeated

Original issue reported on code.google.com by jens...@gmail.com on 16 Jun 2009 at 8:25

GoogleCodeExporter commented 8 years ago
this is not a bug - you need to set repeat = true on the material in order to 
have it
repeating across an object, otherwise the bitmap values 'clamp' to the edge 
pixels of
the bitmapdata object

Original comment by rob.bate...@gmail.com on 7 Jul 2009 at 12:27