Skip to content

Commit 0ee24bc

Browse files
committed
Update 'Translucent Image' Unity Store Asset plugin to v3.15.0
1 parent 9e37628 commit 0ee24bc

17 files changed

+448
-25
lines changed
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
Changelog:
2+
3+
v3.15.0:
4+
- Fix color space mixed up. Your UIs appearance may change after this update.
5+
6+
v3.14.6:
7+
- Fix compatibility with 2021.3.13 URP
8+
9+
v3.14.5:
10+
- Fix editor script being included in build
11+
- Reorder create asset menu
12+
13+
v3.14.4:
14+
- Fix phantom windows again
15+
16+
v3.14.3:
17+
- Fix phantom windows in some Unity versions
18+
19+
v3.14.2:
20+
- Warn if Renderer Feature is missing in URP project
21+
22+
v3.14.1:
23+
- Fix some gizmo icons not showing in newer Unity versions
24+
25+
v3.14.0:
26+
- Improve compatibility with URP 13
27+
28+
v3.13.0:
29+
- Drop support for URP's 2D Renderer. It is too locked down and buggy at the moment
30+
31+
v3.12.0:
32+
- Improve compatibility with URP 12.1.7
33+
34+
v3.11.0:
35+
- Allow rendering before post-processing to work-around URP 2D renderer issue.
36+
37+
v3.10.3:
38+
- Fix shader compilation on GLES 2.0
39+
40+
v3.10.2:
41+
- Fix sprite blending property not applied correctly
42+
43+
v3.10.1:
44+
- Improve allocation behaviour
45+
46+
v3.10.0:
47+
- Fix Single Pass Instanced Stereo rendering
48+
49+
v3.9.0:
50+
- Improve error logging to be more relevant
51+
- Assigning Source property on Translucent Image is now easier with automatic suggestions
52+
- Fix compatibility with webgl in less capable browsers
53+
- Improve compatibility with URP 12.1.2
54+
55+
v3.8.3:
56+
- Workflow improvements on URP 12
57+
58+
v3.8.2:
59+
- Fix some bugs on URP 12
60+
61+
v3.8.1:
62+
- Fix some bugs on URP 12
63+
64+
v3.8.0:
65+
- Support URP 12
66+
- Fix prefab mode warning
67+
68+
v3.7.0:
69+
- Support latest True Shadow release
70+
- Fix spurious error messages
71+
- Improve PlayStation compatibility
72+
73+
v3.6.0:
74+
- Support Single Pass Instanced Stereo Render Mode
75+
- Reduce log level
76+
77+
v3.5.1:
78+
- Reduce error logging.
79+
- Improve compatibility with Addressable.
80+
81+
v3.5.0:
82+
- Changing Sprite Blending from script is now applied immediately.
83+
TranslucentImage.spriteBlending is now a property instead of a field.
84+
- You can now move the asset to a different path
85+
86+
v3.4.2:
87+
- Fix blur config not saved
88+
- Fix prefab instance not marked dirty
89+
90+
v3.4.1:
91+
- Improve documentation
92+
93+
v3.4.0:
94+
URP:
95+
- Remove slow workaround for Unity bugs #1196219. Please update your URP package to 7.2.0 or newer.
96+
- Downsampling and Blur Region now work with URP.
97+
98+
- Various fixes and optimizations.
99+
100+
v3.3.1:
101+
- True Shadow integration: Fix shadow color not react correctly to Translucent Image color
102+
103+
v3.3.0:
104+
Breaking changes:
105+
- Upgraded to Unity 2019.4
106+
- Remove deprecated LWRP package. URP continue to be supported.
107+
108+
- Translucent Image is now compatible with True Shadow.
109+
110+
v3.2.4:
111+
- Fix memory leak when Translucent Image Source are destroyed.
112+
113+
v3.2.3:
114+
- Example scene for blurring UI in URP
115+
116+
v3.2.2:
117+
- Fix preview features sometime not work in URP
118+
- Fix persistent black UI when not in play mode
119+
- Hide some harmless errors in demo scene
120+
- Fix RegisterSource() throw exception
121+
- Some other small changes
122+
123+
v3.2.1:
124+
- Convert Image to Translucent Image with context menu item
125+
- Some small fixes and enhancements
126+
127+
v3.2.0:
128+
Breaking changes: existing projects with Editor/Runtime version lower than these should not install this update.
129+
- Upgraded to Unity 2018.4 to follow new Asset Store requirements
130+
- Upgraded to .NET 4.x Equivalent Runtime, as .NET 3.5 is deprecated in Unity 2018
131+
132+
- Blur Region now can be controlled using on-screen GUI in the Game View when in Preview mode
133+
- Help button on components now open appropriated documentation page
134+
- Fix an issue with non fullscreen Camera Viewport Rect
135+
- Fix missing namespace in some demo scripts
136+
137+
v3.1.1:
138+
- Fix issue with URP Post Processing
139+
140+
v3.1.0:
141+
*** Breaking change for LWRP project ***
142+
- If you're using the asset in an existing LWRP project, please delete its folder first and import it again to avoid issue.
143+
- If you're using the "Demo Forward Renderer" and "Demo LightweightRenderPipelineAsset", you'll have to replace them with the new one located in "Universal RP/'Configs" folder. I recommend creating your own, specific to your project.
144+
***
145+
146+
- Added Universal RP support. LWRP support package is included for compatibility with older Unity version, but will not be updated anymore.
147+
- Fix some small bugs.
148+
149+
v3.0.5:
150+
- Added demo and documentation for setting up Translucent Images in world space.
151+
- Disable scene gizmos.
152+
153+
v3.0.4:
154+
- Better default file name when creating Blur Config from Translucent Image Source.
155+
- Some improvement to error messages
156+
157+
v3.0.3:
158+
- Fixed some bugs in demo scene
159+
160+
v3.0.2:
161+
- Fixed some bugs on LWRP
162+
- Added new demo for LWRP
163+
164+
v3.0.1:
165+
- Fix compatibility issue with Post Processing Stack on LWRP
166+
167+
v3.0:
168+
!!!Warning!!! Breaking changes:
169+
- Blur Config now stored as asset file, allows for sharing of configuration between different Cameras/Scenes/Projects. You will need to re-config your all of your Translucent Image Sources. Settings on Translucent Images will be fine.
170+
- Blur Size now called Radius to align with other software.
171+
172+
Added:
173+
- Initial LWRP support. Please visit the documentation for setup guide.
174+
- Bug fixes and performance improvements.
175+
- A lot of ground work for additional blur algorithms (none added yet).
176+
- Probably bugs. 😩
177+
178+
Changed:
179+
- Minimum supported Unity version is now 2017.4
180+
- Clearer preview box.

UnityPomodoro/Assets/LeTai/TranslucentImage/CHANGELOG.txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

UnityPomodoro/Assets/LeTai/TranslucentImage/Offline Documentation.pdf.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://leloctai.com/asset/translucentimage/docs/

UnityPomodoro/Assets/LeTai/TranslucentImage/Online Documentation (recommended).txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityPomodoro/Assets/LeTai/TranslucentImage/Script/UniversalRP/Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "LeTai.TranslucentImage.UniversalRP.Editor",
3+
"references": [
4+
"GUID:e646286fd75dc0f44bb2f84ffb34408d",
5+
"GUID:15fc0a57446b3144c949da3e2b9737a9"
6+
],
7+
"includePlatforms": [
8+
"Editor"
9+
],
10+
"excludePlatforms": [],
11+
"allowUnsafeCode": false,
12+
"overrideReferences": false,
13+
"precompiledReferences": [],
14+
"autoReferenced": true,
15+
"defineConstraints": [],
16+
"versionDefines": [],
17+
"noEngineReferences": false
18+
}

UnityPomodoro/Assets/LeTai/TranslucentImage/Script/UniversalRP/Editor/LeTai.TranslucentImage.UniversalRP.Editor.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
using System.Linq;
2+
using System.Reflection;
3+
using UnityEditor;
4+
using UnityEngine;
5+
using UnityEngine.Rendering;
6+
using UnityEngine.Rendering.Universal;
7+
8+
namespace LeTai.Asset.TranslucentImage.UniversalRP.Editor
9+
{
10+
[InitializeOnLoad]
11+
public class RendererFeatureChecker : EditorWindow
12+
{
13+
static RendererFeatureChecker()
14+
{
15+
EditorApplication.update += DoCheck;
16+
}
17+
18+
static void DoCheck()
19+
{
20+
EditorApplication.update -= DoCheck;
21+
22+
var pipelineAsset = GraphicsSettings.currentRenderPipeline as UniversalRenderPipelineAsset;
23+
if (pipelineAsset == null)
24+
return;
25+
26+
var rendererData = (ScriptableRendererData)
27+
typeof(UniversalRenderPipelineAsset)
28+
.GetProperty("scriptableRendererData", BindingFlags.Instance | BindingFlags.NonPublic)
29+
?.GetValue(pipelineAsset);
30+
31+
if (rendererData == null)
32+
return;
33+
34+
var haveFeature = rendererData.rendererFeatures.OfType<TranslucentImageBlurSource>().Any();
35+
36+
if (haveFeature)
37+
return;
38+
39+
const float width = 400f;
40+
const float height = 200f;
41+
var window = GetWindowWithRect<RendererFeatureChecker>(
42+
new Rect(
43+
(Screen.width - width) / 2f,
44+
(Screen.height - height) / 2f,
45+
width, height
46+
),
47+
true,
48+
"Translucent Image",
49+
true
50+
);
51+
52+
window.rendererData = rendererData;
53+
}
54+
55+
ScriptableRendererData rendererData;
56+
57+
void OnGUI()
58+
{
59+
GUILayout.Label("Missing Renderer Feature", EditorStyles.largeLabel);
60+
61+
EditorGUILayout.Space();
62+
63+
GUILayout.Label(
64+
"Translucent Image needs a renderer feature added to the active Renderer Asset. Do you want to add it now?",
65+
EditorStyles.wordWrappedLabel
66+
);
67+
68+
if (GUILayout.Button("More info", EditorStyles.linkLabel))
69+
Application.OpenURL("https://leloctai.com/asset/translucentimage/docs/articles/universalrp.html");
70+
71+
GUILayout.FlexibleSpace();
72+
73+
if (GUILayout.Button("Select Current Renderer Asset"))
74+
{
75+
EditorGUIUtility.PingObject(rendererData);
76+
Selection.activeObject = rendererData;
77+
Close();
78+
}
79+
}
80+
}
81+
}

0 commit comments

Comments
 (0)