Compare commits

..

5 Commits

4 changed files with 30 additions and 13 deletions
+15
View File
@@ -1,3 +1,18 @@
# [4.0.0-preview.7](https://github.com/mob-sakai/UIEffect/compare/v4.0.0-preview.6...v4.0.0-preview.7) (2020-05-11)
### Bug Fixes
* not working on PS4 ([0f595eb](https://github.com/mob-sakai/UIEffect/commit/0f595eb79197433e166bf74d736d9841b4117011)), closes [#211](https://github.com/mob-sakai/UIEffect/issues/211)
* Shaders.meta file should be removed ([e9cc165](https://github.com/mob-sakai/UIEffect/commit/e9cc165e2edba572d868d224e42df31666fd4002)), closes [#210](https://github.com/mob-sakai/UIEffect/issues/210)
# [4.0.0-preview.6](https://github.com/mob-sakai/UIEffect/compare/v4.0.0-preview.5...v4.0.0-preview.6) (2020-04-14)
### Bug Fixes
* can't import samples in Unity2019.1 or later ([13a8538](https://github.com/mob-sakai/UIEffect/commit/13a853887e87b7ecc12e937e92498af945bbeb8a)), closes [#209](https://github.com/mob-sakai/UIEffect/issues/209)
# [4.0.0-preview.5](https://github.com/mob-sakai/UIEffect/compare/v4.0.0-preview.4...v4.0.0-preview.5) (2020-04-13)
+2 -2
View File
@@ -260,7 +260,7 @@ half4 ApplyShinyEffect(half4 color, half2 shinyParam)
fixed gloss = param2.x;
half normalized = 1 - saturate(abs((nomalizedPos - location) / width));
half shinePower = smoothstep(0, soft, normalized);
half3 reflectColor = lerp(1, color.rgb * 7, gloss);
half3 reflectColor = lerp(fixed3(1,1,1), color.rgb * 7, gloss);
color.rgb += color.a * (shinePower / 2) * brightness * reflectColor;
@@ -282,7 +282,7 @@ half3 HsvToRgb(half3 c) {
c = half3(c.x, clamp(c.yz, 0.0, 1.0));
half4 K = half4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
half3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www);
return c.z * lerp(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
return c.z * lerp(K.xxx, clamp(p.xyz - K.xxx, 0.0, 1.0), c.y);
}
-9
View File
@@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: deded9e09f6e644228da395138e4f232
folderAsset: yes
timeCreated: 1527743712
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
+13 -2
View File
@@ -2,7 +2,7 @@
"name": "com.coffee.ui-effect",
"displayName": "UIEffect",
"description": "UIEffect provides visual effect components for Unity UI.\nLet's decorate your UI with effects!",
"version": "4.0.0-preview.5",
"version": "4.0.0-preview.7",
"unity": "2017.1",
"license": "MIT",
"repository": {
@@ -14,5 +14,16 @@
"email": "sakai861104@gmail.com",
"url": "https://github.com/mob-sakai"
},
"dependencies": {}
"dependencies": {},
"keywords": [
"ui",
"effect"
],
"samples": [
{
"displayName": "Demo",
"description": "UI Effect Demo",
"path": "Samples~/Demo"
}
]
}