Skip to content

Commit 5f09041

Browse files
v0.6.9 (#207)
1 parent 0def91a commit 5f09041

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

com.microsoft.mrtk.graphicstools.unity/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [0.6.9] - 2024-02-27
8+
9+
### Changed
10+
11+
- Fix shader include issue with embedded packages.
12+
13+
## [0.6.8] - 2024-02-16
14+
15+
### Changed
16+
17+
- Updated CanvasFrontplate shader to apply edge outline mask to alpha channel
18+
719
## [0.6.7] - 2024-01-18
820

921
### Changed

com.microsoft.mrtk.graphicstools.unity/Runtime/Experimental/Acrylic/Shaders/CanvasBackplateAcrylic.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ SubShader {
117117
#pragma multi_compile_local _ _UI_CLIP_RECT_ROUNDED _UI_CLIP_RECT_ROUNDED_INDEPENDENT
118118

119119
#include "UnityCG.cginc"
120-
#include "Packages/com.microsoft.mrtk.graphicstools.unity/Runtime/Shaders/GraphicsToolsCommon.hlsl"
120+
#include "../../../Shaders/GraphicsToolsCommon.hlsl"
121121

122122
CBUFFER_START(UnityPerMaterial)
123123
half4 _Base_Color_;

com.microsoft.mrtk.graphicstools.unity/Runtime/Shaders/CanvasFrontplate.shader

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -671,17 +671,6 @@ CBUFFER_END
671671
}
672672
//BLOCK_END Blob_Fragment
673673

674-
//BLOCK_BEGIN Scale_RGB 267
675-
676-
void Scale_RGB_B267(
677-
half4 Color,
678-
half Scalar,
679-
out half4 Result )
680-
{
681-
Result = float4(Scalar,Scalar,Scalar,1) * Color;
682-
}
683-
//BLOCK_END Scale_RGB
684-
685674
//BLOCK_BEGIN Round_Rect_Fragment 277
686675

687676
void Round_Rect_Fragment_B277(
@@ -772,8 +761,7 @@ CBUFFER_END
772761
// Multiply (#274)
773762
half Product_Q274 = Proximity_Q295 * Inside_Line_Q277;
774763

775-
half4 Result_Q267;
776-
Scale_RGB_B267(_Edge_Color_,Product_Q274,Result_Q267);
764+
half4 Result_Q267 = _Edge_Color_ * Product_Q274;
777765

778766
// Add_Colors (#285)
779767
half4 Sum_Q285 = Blob_Color_Q284 + Blob_Color_Q283 + Result_Q267;

com.microsoft.mrtk.graphicstools.unity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.microsoft.mrtk.graphicstools.unity",
3-
"version": "0.6.7",
3+
"version": "0.6.9",
44
"displayName": "MRTK Graphics Tools",
55
"description": "Graphics tools and components for developing Mixed Reality applications in Unity.",
66
"documentationUrl": "https://aka.ms/mrtk3graphics",

0 commit comments

Comments
 (0)