Dot3BitmapMaterialCache.as is doing just this. But this class was in 3.3 up to 
3.5. Not 3.6
Why not use prebaking as it gives way better results, and you do not have to 
generate the normalmap.

Fabrice


On Jun 29, 2011, at 2:20 PM, itcore.co wrote:

> Hi,
> 
> I have used NormalMapGenerator to generate normalBitmap for
> Dot3BitmapMaterial. That works great.
> After applying Dot3BitmapMaterial to mesh performance of my app is so
> low that seams to hang.
> Mesh is complicated and texture is very big, so I expected that.
> 
> What I'm trying to do is to convert some way Dot3BitmapMaterial to
> BitmapMaterial.
> I'd like to copy  bitmapdata from Dot3BitmapMaterial and create
> BitmapMaterial using this bitmapdata.
> 
> This would be somtehing like 'shadow generator'.
> 
> I tryed everything with no success.
> 
> Does anybody know how to do this? I there some built in method to get
> bitmapdata from Dot3BitmapMaterial.
> 
> Dot3BitmapMaterial bitmap and normalBitmap property gives only source
> bitmaps not the output with lights.
> 
> 
> Thanks for any help.

Reply via email to