mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
set cubemap width differently
This commit is contained in:
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…
x
Reference in New Issue
Block a user