Hello,
we are migrating from Ogre 2.1 to 2.2, but I am triggering an assert in Image2::loadDynamicImage when trying to set up the skybox.
Code: Select all
assert( (textureType != TextureTypes::TypeCube || depthOrSlices == 6u) && "depthOrSlices must be 6!" );
The skybox is set up just like in the tutorial (Sample_TutorialSky_Postprocess), I am creating a render window with createRenderWindow and adding the workspace with addWorkspace, passing in the texture of the render window just like in the sample. The post-process material and compositor settings are also like in the sample as far as I can tell. "depthOrSlices" is 1 by the way, but I don't know where I would change that since in the sample there also does not seem to be any special setup regarding the texture.