Consistently use normal_map

This commit is contained in:
Marcel Admiraal
2020-12-23 09:34:26 +00:00
parent 6cebb8c117
commit b4a190e0bc
28 changed files with 102 additions and 102 deletions

View File

@ -216,7 +216,7 @@ static Ref<Image> basis_universal_unpacker(const Vector<uint8_t> &p_buffer) {
format = basist::transcoder_texture_format::cTFETC2; // get this from renderer
imgfmt = Image::FORMAT_ETC2_RGBA8;
} else {
//gles2 most likely, bad for normalmaps, nothing to do about this.
//gles2 most likely, bad for normal maps, nothing to do about this.
format = basist::transcoder_texture_format::cTFRGBA32;
imgfmt = Image::FORMAT_RGBA8;
}