Hi, all!
Anyone got any source, examples, tutorials on making a gradient shader for Away3D 4?
Something like the flash gradient with color, ratio, alpha etc.?
Regards,
Netphreak
Gradient shader like flash’s gradient supportSoftware: Away3D 4.x |
||
netphreak, Newbie
Posted: 08 October 2012 05:47 PM Total Posts: 10 Hi, all! Anyone got any source, examples, tutorials on making a gradient shader for Away3D 4? Something like the flash gradient with color, ratio, alpha etc.?
Netphreak |
||
|
||
John Wilson, Member
Posted: 09 October 2012 04:28 PM Total Posts: 62 [ # 2 ] Hi You can create a bitmap using standard AS3 code, then create a TextureMaterial from its bitmapData and assign as the material of your mesh. Something like this:
var b:Bitmap = theBitmapYouMade It works for me. |
||
|