mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 02:56:38 +00:00 
			
		
		
		
	set cubemap width differently
This commit is contained in:
		
							parent
							
								
									5baff05bac
								
							
						
					
					
						commit
						9ab3a0c44b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
		Reference in a new issue