Hi,
I did a quiet complex shader.
Do you know guys if there is a way to output the all shader as textures.
Just output the specular informations, the nmap infomations, the diffuse information. Inside textures 1 texture per pass.
Like this that will be simplyfying the shader and keep the same visual.
Thanks in advance.
Massimo
Replies
Other advice ?
1.Plug the thing you want to export to the diffuse output of the shader. So if you want to export the specular information of your shader as a texture plug it to diffuse. (Normal map must be plugged to the normal map output because they are not calculated the same way.)
2.Than hit the "flatten material to texture for mobile device" button.
3.Select the baked texture and export to file it to you hardrive.
I still must find how to keep the resulted bake texture not lighted by the lighting model of the shader. Any help is really welcome.
So this method is ok but we must bake one texture at a time.