From 83753dc384d36719ac63e6387f03078564e2fe85 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 21 Feb 2012 17:42:43 +0100 Subject: [PATCH] tweaked the cloud animation speed --- apps/openmw/mwrender/sky.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/sky.cpp b/apps/openmw/mwrender/sky.cpp index 0c6a8ce9c..d16044fbb 100644 --- a/apps/openmw/mwrender/sky.cpp +++ b/apps/openmw/mwrender/sky.cpp @@ -13,6 +13,8 @@ using namespace MWRender; using namespace Ogre; +// the speed at which the clouds are animated +#define CLOUD_SPEED 0.0025 // this distance has to be set accordingly so that the // celestial bodies are behind the clouds, but in front of the atmosphere @@ -369,7 +371,7 @@ SkyManager::SkyManager (SceneNode* pMwRoot, Camera* pCamera) " uniform float4 emissive \n" ") \n" "{ \n" - " uv += float2(1,1) * time * 0.01; \n" // Scroll in x,y direction + " uv += float2(1,1) * time * "<