preparing for PR, back to the default background mode SKy_DOME

This commit is contained in:
Sam Gateau 2015-05-06 10:27:31 -07:00
parent c86a8b3944
commit fe3b5d1867
2 changed files with 2 additions and 2 deletions

View file

@ -184,7 +184,7 @@ public:
uint32 getRowPitch() const { return getWidth() * getTexelFormat().getSize(); }
// The number of faces is mostly used for cube map, and maybe for stereo ? otherwise it's 1
// For cube maps, this means the pixels of the different faces are supposed to bepacked back to back in a mip
// For cube maps, this means the pixels of the different faces are supposed to be packed back to back in a mip
// as if the height was NUM_FACES time bigger.
static uint8 NUM_FACES_PER_TYPE[NUM_TYPES];
uint8 getNumFaces() const { return NUM_FACES_PER_TYPE[getType()]; }

View file

@ -223,7 +223,7 @@ public:
const SkyboxPointer& getSkybox() const { valid(); return _skybox; }
protected:
BackgroundMode _backgroundMode = SKY_BOX;
BackgroundMode _backgroundMode = SKY_DOME;
LightPointer _sunLight;
AtmospherePointer _atmosphere;