X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fshader-effects%2Fripple2d-effect.h;h=e0a5bfa4d2fbdab06d859bd0c880d620b9f44871;hb=refs%2Fchanges%2F49%2F88249%2F1;hp=782c4408ad8847eae75edb47a48a73abc7450e56;hpb=40e6eada47390ac9be4db5fbe210cc5d23c8ebcd;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/shader-effects/ripple2d-effect.h b/dali-toolkit/devel-api/shader-effects/ripple2d-effect.h index 782c440..e0a5bfa 100644 --- a/dali-toolkit/devel-api/shader-effects/ripple2d-effect.h +++ b/dali-toolkit/devel-api/shader-effects/ripple2d-effect.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_SHADER_EFFECT_RIPPLE2D_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ */ // EXTERNAL INCLUDES -#include +#include namespace Dali { @@ -47,7 +47,7 @@ inline ShaderEffect CreateRipple2DEffect() "uniform float uTime;\n" "void main()\n" "{\n" - " highp vec2 textureSize = uTextureRect.zw - uTextureRect.xy;\n" + " highp vec2 textureSize = sTextureRect.zw - sTextureRect.xy;\n" " highp vec2 pos = -1.0 + 2.0 * vTexCoord.st/textureSize;\n" " highp float len = length(pos);\n" " highp vec2 texCoord = vTexCoord.st/textureSize + pos/len * sin( len * 12.0 - uTime * 4.0 ) * uAmplitude;\n"