projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove more ImageActors from Toolkit
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
shader-effects
/
bendy-effect.h
diff --git
a/dali-toolkit/devel-api/shader-effects/bendy-effect.h
b/dali-toolkit/devel-api/shader-effects/bendy-effect.h
index
71ed07c
..
6708394
100644
(file)
--- a/
dali-toolkit/devel-api/shader-effects/bendy-effect.h
+++ b/
dali-toolkit/devel-api/shader-effects/bendy-effect.h
@@
-52,7
+52,7
@@
inline ShaderEffect CreateBendyEffect()
"void main()\n"
"{\n"
" mediump float lighting = 0.25;\n"
"void main()\n"
"{\n"
" mediump float lighting = 0.25;\n"
- " mediump vec4 position = uModelView * vec4(aPosition,1.0);\n"
+ " mediump vec4 position = uModelView * vec4(aPosition,
1.0);\n"
"\n"
" mediump vec2 d = position.xy - uCenter;\n"
" mediump float dist = max( 0.0, dot(d,uDirection) );\n"
"\n"
" mediump vec2 d = position.xy - uCenter;\n"
" mediump float dist = max( 0.0, dot(d,uDirection) );\n"
@@
-70,7
+70,7
@@
inline ShaderEffect CreateBendyEffect()
"\n"
"vShade = 1.0 - abs(sn) * lighting;\n"
"\n"
"\n"
"vShade = 1.0 - abs(sn) * lighting;\n"
"\n"
- "vTexCoord =
aTexCoord
;\n"
+ "vTexCoord =
mix( sTextureRect.xy, sTextureRect.zw, aTexCoord )
;\n"
"}" );
std::string fragmentShader(
"}" );
std::string fragmentShader(