外发光demo优化

This commit is contained in:
caizhitao
2019-12-25 22:45:22 +08:00
parent d2b94a8d7f
commit 1da4d79a7a
2 changed files with 24 additions and 24 deletions

View File

@@ -92,8 +92,8 @@ CCProgram vs %{
// // y轴压缩
// v_uv0 = a_uv0 * vec2(1.0, 2.0);
// v_uv0 = clamp(a_uv0 + vec2(0.5, 0.0), vec2(0.0, 0.0), vec2(1.0, 1.0));
// v_uv0 = a_uv0 * vec2(2.0, 2.0) + vec2(-0.5, -0.5);
// 先缩小一倍,然后在移动回去中间
// v_uv0 = a_uv0 * 2.0 - 0.5;
#endif
v_color = a_color;