Hi, Thanks for answer, I will check this class. But I'm must swith to 3.5 first.
I cant prebake this beacuse In my app user can change parts of model that are separate. That would be to many images to prebake. Thanks a lot, MG On 29 Cze, 14:58, Fabrice3D <[email protected]> wrote: > 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.
