Rename _nm to _Normal for normal map textures
This commit is contained in:
parent
9c2f91c11b
commit
681ef66d8d
@ -676,7 +676,7 @@ void SPTexture::generateHQMipmap(void* in,
|
|||||||
imMipmapCascade cascade;
|
imMipmapCascade cascade;
|
||||||
imReduceOptions options;
|
imReduceOptions options;
|
||||||
imReduceSetOptions(&options,
|
imReduceSetOptions(&options,
|
||||||
m_path.find("_nm.") != std::string::npos ?
|
m_path.find("_Normal.") != std::string::npos ?
|
||||||
IM_REDUCE_FILTER_NORMALMAP: IM_REDUCE_FILTER_LINEAR/*filter*/,
|
IM_REDUCE_FILTER_NORMALMAP: IM_REDUCE_FILTER_LINEAR/*filter*/,
|
||||||
2/*hopcount*/, 2.0f/*alpha*/, 1.0f/*amplifynormal*/,
|
2/*hopcount*/, 2.0f/*alpha*/, 1.0f/*amplifynormal*/,
|
||||||
0.0f/*normalsustainfactor*/);
|
0.0f/*normalsustainfactor*/);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user