Increase maximum texture size to 8192

This commit is contained in:
Dale Glass 2020-07-03 23:43:18 +02:00
parent cf41ed40ae
commit 9f25891639
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
#include "ModelPropertiesDialog.h"
#include "InterfaceLogging.h"
static const int MAX_TEXTURE_SIZE = 1024;
static const int MAX_TEXTURE_SIZE = 8192;
void copyDirectoryContent(QDir& from, QDir& to) {
for (auto entry : from.entryInfoList(QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot |

View file

@ -51,7 +51,7 @@ using ColorType = glm::vec3;
#define HFM_COLOR_ELEMENT gpu::Element::VEC3F_XYZ
#endif
const int MAX_NUM_PIXELS_FOR_FBX_TEXTURE = 2048 * 2048;
const int MAX_NUM_PIXELS_FOR_FBX_TEXTURE = 8192 * 8192;
using ShapeVertices = std::vector<glm::vec3>;

View file

@ -41,7 +41,7 @@ using namespace gpu;
static const glm::uvec2 SPARSE_PAGE_SIZE(128);
static const glm::uvec2 MAX_TEXTURE_SIZE_GLES(2048);
static const glm::uvec2 MAX_TEXTURE_SIZE_GL(4096);
static const glm::uvec2 MAX_TEXTURE_SIZE_GL(8192);
bool DEV_DECIMATE_TEXTURES = false;
std::atomic<size_t> DECIMATED_TEXTURE_COUNT{ 0 };
std::atomic<size_t> RECTIFIED_TEXTURE_COUNT{ 0 };