Skip to content

Commit 1cc82c6

Browse files
committed
metadata update, license update
1 parent 6d26632 commit 1cc82c6

File tree

7 files changed

+15
-5
lines changed

7 files changed

+15
-5
lines changed

LICENSE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The Backlace License (Version 1.3)
1+
The Backlace License (Version 1.4)
22

33
Copyright (c) 2025 Zoey (KleineLuka)
44

@@ -23,4 +23,7 @@ You can’t sell the Software by itself or in nearly identical form. You can, ho
2323
## 4. Derivative Shaders Notice
2424
If you create a shader or similar technical tool that directly builds on Backlace, include the phrase “Built off of Backlace” in a visible part of its user interface, ideally with a link to the original GitHub page. This requirement does not apply to works using such shaders (like avatars, worlds, or games).
2525

26+
## 5. Connectivity and File Access
27+
By using this software, you agree to allow a web request (purely used for metadata / update checking) that sends no info about you other than the shader name and version. You also agree to let Backlace write files on your computer for the sole purpose of functionality, such as saving presets and generating compact shaders.
28+
2629
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Backlace is split into various .cginclude files to make it editing, building, an
5252
What you edit depends on what you want to do. A good place to start is with `Backlace_Fragment.cginc` and working backwards from there to see what you need to change. This modular practice also makes it easy to dynamically add different versions of the shader (ex. `Outline` or `Grabpass`) - we can just add a new define (ex. `BACKLACE_GRABPASS`) and use that to conditionally compile code.
5353

5454
## License ✨
55-
Anything in the `Editor` and `Processor` folders are under their respective licenses and not under the Backlace License. That is because these are separate projects of mine that aren't made to be built off of like Backlace, the shader, is - they are just there for the users. Backlace itself is licensed under the Backlace License (Version 1.3). Please see the `LICENSE.md` file for the full terms.
55+
Anything in the `Editor` and `Processor` folders are under their respective licenses and not under the Backlace License. That is because these are separate projects of mine that aren't made to be built off of like Backlace, the shader, is - they are just there for the users. Backlace itself is licensed under the Backlace License (Version 1.4). Please see the `LICENSE.md` file for the full terms.
5656

5757
**TL;DR**
5858
- You’re free to use Backlace in any project (personal or commercial) at no cost.

Resources/Luka_Backlace/Editor/Dazzle.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,7 @@ public class Update
17751775
private Rect background_rectangle;
17761776
private bool has_update = false;
17771777
private bool dismissed_notif = false;
1778+
private string changelog = "";
17781779

17791780
// constructor
17801781
public Update(ref Theme theme)
@@ -1803,6 +1804,7 @@ private void check_update()
18031804
{
18041805
Version latestVersion = new Version(versionEntry.Version);
18051806
has_update = !Project.version.is_newer_than(latestVersion);
1807+
if (has_update) changelog = versionEntry.Changelog;
18061808
}
18071809
catch (Exception e)
18081810
{
@@ -1821,6 +1823,7 @@ public void draw()
18211823
// temp
18221824
string header = theme.text_manager.texter("<i>" + this.theme.language_manager.speak("update_available") + "</i>");
18231825
string body = theme.text_manager.texter(this.theme.language_manager.speak("update_description"));
1826+
if (!string.IsNullOrEmpty(changelog)) body += "\n\n" + theme.text_manager.texter(changelog);
18241827
// styles
18251828
GUIStyle headerStyle = theme.styler_manager.load_style_announcement_header(ref theme);
18261829
GUIStyle bodyStyle = theme.styler_manager.load_style_announcement_body(ref theme);

Resources/Luka_Backlace/Editor/Depends.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ private void fallback()
383383
};
384384
full_metadata.Versions = new List<VersionEntry>
385385
{
386-
new VersionEntry { Name = Project.project_name, Version = Project.version.print() }
386+
new VersionEntry { Name = Project.project_name, Version = Project.version.print(), Changelog = "" }
387387
};
388388
metadata_loaded = true;
389389
}

Resources/Luka_Backlace/Editor/Interface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,6 @@ private void DrawUI(MaterialEditor materialEditor, MaterialProperty[] properties
956956
Material targetMat = materialEditor.target as Material;
957957
EditorGUI.BeginChangeCheck();
958958
header.draw();
959-
update.draw();
960959
if (is_compact) {
961960
compact_notice.draw();
962961
GUILayout.Space(4);
@@ -2578,6 +2577,7 @@ private void DrawUI(MaterialEditor materialEditor, MaterialProperty[] properties
25782577
presets_menu?.draw();
25792578
premonition_menu?.draw();
25802579
license_menu?.draw();
2580+
update.draw();
25812581
announcement?.draw();
25822582
docs?.draw();
25832583
socials_menu?.draw();

Resources/Luka_Backlace/Editor/Structs.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public class VersionEntry
7676
{
7777
public string Name;
7878
public string Version;
79+
public string Changelog;
7980
}
8081

8182
[System.Serializable]

Resources/Luka_Backlace/Licenses/Backlace.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The Backlace License (Version 1.3)
1+
The Backlace License (Version 1.4)
22

33
Copyright (c) 2025 Zoey (KleineLuka)
44

@@ -23,4 +23,7 @@ You can’t sell the Software by itself or in nearly identical form. You can, ho
2323
## 4. Derivative Shaders Notice
2424
If you create a shader or similar technical tool that directly builds on Backlace, include the phrase “Built off of Backlace” in a visible part of its user interface, ideally with a link to the original GitHub page. This requirement does not apply to works using such shaders (like avatars, worlds, or games).
2525

26+
## 5. Connectivity and File Access
27+
By using this software, you agree to allow a web request (purely used for metadata / update checking) that sends no info about you other than the shader name and version. You also agree to let Backlace write files on your computer for the sole purpose of functionality, such as saving presets and generating compact shaders.
28+
2629
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)