Hi guys it’s possible to combine the normal and color maps to avoid using the bumped difuse shader? I’m asking this just to know if it will increase performance or at least use less memory in Iphone games.
you can bake the normal impact but then it will be for a single light direction only. you can not get dynamic normalmapping + diffuse with a single texture
Ok, thanks dreamora
If you are going to bake lighting into your textures, you might try my Editor script: http://www.unifycommunity.com/wiki/index.php?title=Bake_Material_to_Texture
It requires Pro license however.
ReJ,
I can’t get your script working with Unity 3.3 Pro (IOS project). Error:
Assets/Editor/BakeMaterial.js(353,20): BCE0019: ‘settings’ is not a member of ‘UnityEditor.EditorWindow’.
Assets/Editor/BakeMaterial.js(360,16): BCE0019: ‘SetupScene’ is not a member of ‘UnityEditor.EditorWindow’.
Assets/Editor/BakeMaterial.js(365,24): BCE0019: ‘CaptureMaterial’ is not a member of ‘UnityEditor.EditorWindow’.
Assets/Editor/BakeMaterial.js(367,16): BCE0019: ‘DestroyScene’ is not a member of ‘UnityEditor.EditorWindow’.
Assets/Editor/BakeMaterial.js(369,20): BCE0019: ‘settings’ is not a member of ‘UnityEditor.EditorWindow’.
Any idea how to fix this?
Peter.
The problem was after all easy to fix. I know that it is personal but Unityscript isn’t match fun to write for me. Lots of guessing and weak Intellisense!!
Anyway thanks for this awesome script
Peter.
519625–18438–$BakeMaterial.js (15.6 KB)