Parcourir la source

Fixed a bug where ambient color wasn't being set to black

Ivan Safrin il y a 13 ans
Parent
commit
68587470a7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Core/Contents/Source/PolyScene.cpp

+ 1 - 0
Core/Contents/Source/PolyScene.cpp

@@ -61,6 +61,7 @@ Scene::Scene(bool virtualScene) : EventDispatcher() {
 	isSceneVirtual = virtualScene;	
 	hasLightmaps = false;
 	clearColor.setColor(0.13f,0.13f,0.13f,1.0f); 
+	ambientColor.setColor(0.0,0.0,0.0,1.0);	
 	useClearColor = false;
 	ownsChildren = false;
 	if (!isSceneVirtual) {