Open lasa01 opened 3 years ago
Connect the normal map alpha channel to eg. specular input, like this:
When exporting as datasmith, the normal texture is exported like this:
<Texture name="de_santorini_santorinistreet_n_png" file="tests_normal_a_Assets/de_santorini_santorinistreet_n_png.png" rgbcurve="0.0" srgb="2" texturemode="1" texturefilter="3"> <Hash value="fb025e72f57146225a0e2e81515513a4"/> </Texture>
The texturemode is 1, which is not correct. If you remove the alpha channel connection, the texture is correctly flagged as a normal map (texturemode 3):
<Texture name="de_santorini_santorinistreet_n_png" file="untitled_Assets/de_santorini_santorinistreet_n_png.png" rgbcurve="0.0" srgb="2" texturemode="3" texturefilter="3"> <Hash value="fb025e72f57146225a0e2e81515513a4"/> </Texture>
Connect the normal map alpha channel to eg. specular input, like this:
When exporting as datasmith, the normal texture is exported like this:
The texturemode is 1, which is not correct. If you remove the alpha channel connection, the texture is correctly flagged as a normal map (texturemode 3):