- Home /
How can I import 2 texture from 1 image?
I have 1 heightmap image and want to set it that it would generate 1 normalmap and 1 heightmap in the same size, 2 texture inconclusion. Are there any setting to make importer generate 2 texture without duplicate that image?
Thank you very much
Answer by AlejandroGorgal · Nov 30, 2013 at 04:46 AM
You could just load the same heightmap to the height and normal map channels on the material, so you would be using the same texture on two different material slots, but I doubt that's going to look any good. Ideally you want to genera a map for each thing, if you had to pick between a normal and a heightmap because you are trying to reduce texture count then definitely go for the normal map.
Well, reading on the documentation all you need to do is add the height map on the alpha channel of your normal map, so this would effectively be one 32 bit texture only, isn't that what you are looking for?
Source: http://docs.unity3d.com/Documentation/Components/shader-NormalParallaxDiffuse.html