set cubemap width differently

0.6.3
Miloslav Číž 7 years ago
parent 5baff05bac
commit 9ab3a0c44b

@ -780,7 +780,7 @@ namespace MWRender
int cubeWidth = Settings::Manager::tryGetInt("s360 cubemap size","Video",screenshotWidth / 2);
if (mapping == SphericalScreenshot::MAPPING_CUBEMAP)
cubeWidth = screenshotWidth / 6; // the image will consist of 6 cube sides in a row
screenshotWidth = cubeWidth * 6; // the image will consist of 6 cube sides in a row
SphericalScreenshot s(cubeWidth);

Loading…
Cancel
Save