Skip to content

Commit

Permalink
release v2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Aug 6, 2018
2 parents 4c5f01c + ecad03c commit 4236fcc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Shader "UI/Hidden/UI-EffectCapture"
Name "Effect-Base"

CGPROGRAM
#pragma vertex vert_img
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0

Expand All @@ -32,6 +32,17 @@ Shader "UI/Hidden/UI-EffectCapture"
half4 _EffectFactor;
fixed4 _ColorFactor;

v2f_img vert(appdata_img v)
{
v2f_img o;
o.pos = UnityObjectToClipPos(v.vertex);
o.uv = v.texcoord;
#if UNITY_UV_STARTS_AT_TOP
o.uv.y = 1 - o.uv.y;
#endif
return o;
}

fixed4 frag(v2f_img IN) : SV_Target
{
half effectFactor = _EffectFactor.x;
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v2.7.1](https://github.com/mob-sakai/UIEffect/tree/v2.7.1) (2018-08-06)

[Full Changelog](https://github.com/mob-sakai/UIEffect/compare/v2.7.0...v2.7.1)

**Fixed bugs:**

- In v2.7.0, UIEffectCapturedImage is flipped vertically on Windows [\#112](https://github.com/mob-sakai/UIEffect/issues/112)

## [v2.7.0](https://github.com/mob-sakai/UIEffect/tree/v2.7.0) (2018-07-26)

[Full Changelog](https://github.com/mob-sakai/UIEffect/compare/v2.6.2...v2.7.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "UIEffect",
"version": "2.7.0",
"version": "2.7.1",
"repository": {
"type": "git",
"url": "git+https://github.com/mob-sakai/UIEffect.git"
Expand Down

0 comments on commit 4236fcc

Please sign in to comment.