- Change the search paths for auto folders

This commit is contained in:
Magnus Norddahl 2018-02-21 23:20:31 +01:00
parent 05827ffcda
commit 57e66555da

View file

@ -780,12 +780,13 @@ struct AutoTextureSearchPath
static AutoTextureSearchPath autosearchpaths[] = static AutoTextureSearchPath autosearchpaths[] =
{ {
{ "brightmaps/auto/", offsetof(FTexture::MiscGLInfo, Brightmap) }, { "brightmaps/auto/", offsetof(FTexture::MiscGLInfo, Brightmap) }, // For backwards compatibility
{ "normalmaps/auto/", offsetof(FTexture::MiscGLInfo, Normal) }, { "materials/brightmaps/auto/", offsetof(FTexture::MiscGLInfo, Brightmap) },
{ "specular/auto/", offsetof(FTexture::MiscGLInfo, Specular) }, { "materials/normalmaps/auto/", offsetof(FTexture::MiscGLInfo, Normal) },
{ "metallic/auto/", offsetof(FTexture::MiscGLInfo, Metallic) }, { "materials/specular/auto/", offsetof(FTexture::MiscGLInfo, Specular) },
{ "roughness/auto/", offsetof(FTexture::MiscGLInfo, Roughness) }, { "materials/metallic/auto/", offsetof(FTexture::MiscGLInfo, Metallic) },
{ "ao/auto/", offsetof(FTexture::MiscGLInfo, AmbientOcclusion) } { "materials/roughness/auto/", offsetof(FTexture::MiscGLInfo, Roughness) },
{ "materials/ao/auto/", offsetof(FTexture::MiscGLInfo, AmbientOcclusion) }
}; };
void AddAutoMaterials() void AddAutoMaterials()