We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c70b867 + 18b7c2a commit 14abed7Copy full SHA for 14abed7
1 file changed
src/pbrt/textures.cpp
@@ -1336,13 +1336,6 @@ GPUFloatImageTexture *GPUFloatImageTexture::Create(
1336
// Initialize _ImageTexture_ parameters
1337
Float maxAniso = parameters.GetOneFloat("maxanisotropy", 8.f);
1338
std::string filter = parameters.GetOneString("filter", "bilinear");
1339
- MIPMapFilterOptions filterOptions;
1340
- filterOptions.maxAnisotropy = maxAniso;
1341
- pstd::optional<FilterFunction> ff = ParseFilter(filter);
1342
- if (ff)
1343
- filterOptions.filter = *ff;
1344
- else
1345
- Error(loc, "%s: filter function unknown", filter);
1346
1347
std::string wrapString = parameters.GetOneString("wrap", "repeat");
1348
pstd::optional<WrapMode> wrapMode = ParseWrapMode(wrapString.c_str());
0 commit comments