Skip to content

Commit 222e7d5

Browse files
committed
Update controller pointer line to support color again
1 parent f075e69 commit 222e7d5

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

Assets/MixedRealityToolkit.SDK/StandardAssets/Materials/MRTK_DefaultPointerLine.mat

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ Material:
55
serializedVersion: 6
66
m_ObjectHideFlags: 0
77
m_CorrespondingSourceObject: {fileID: 0}
8-
m_PrefabInternal: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
910
m_Name: MRTK_DefaultPointerLine
1011
m_Shader: {fileID: 4800000, guid: 5bdea20278144b11916d77503ba1467a, type: 3}
11-
m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DISABLE_ALBEDO_MAP _SPECULAR_HIGHLIGHTS
12+
m_ShaderKeywords: _ALPHABLEND_ON _BORDER_LIGHT_USES_HOVER_COLOR _DISABLE_ALBEDO_MAP
13+
_SPECULAR_HIGHLIGHTS _VERTEX_COLORS
1214
m_LightmapFlags: 4
1315
m_EnableInstancingVariants: 0
1416
m_DoubleSidedGI: 0
15-
m_CustomRenderQueue: 2000
17+
m_CustomRenderQueue: 3000
1618
stringTagMap:
17-
RenderType: Opaque
19+
RenderType: Transparent
1820
disabledShaderPasses: []
1921
m_SavedProperties:
2022
serializedVersion: 3
@@ -73,16 +75,21 @@ Material:
7375
- _BorderMinValue: 0.1
7476
- _BorderWidth: 0.1
7577
- _BumpScale: 1
78+
- _ClippingBorder: 0
79+
- _ClippingBorderWidth: 0.025
80+
- _ClippingBox: 0
7681
- _ClippingPlane: 0
7782
- _ClippingPlaneBorder: 0
7883
- _ClippingPlaneBorderWidth: 0.025
84+
- _ClippingSphere: 0
85+
- _ColorMask: 15
7986
- _ColorWriteMask: 15
8087
- _CullMode: 2
81-
- _CustomMode: 0
88+
- _CustomMode: 2
8289
- _Cutoff: 0.5
8390
- _DetailNormalMapScale: 1
8491
- _DirectionalLight: 0
85-
- _DstBlend: 0
92+
- _DstBlend: 10
8693
- _EdgeSmoothingValue: 0.002
8794
- _EnableChannelMap: 0
8895
- _EnableEmission: 0
@@ -105,7 +112,7 @@ Material:
105112
- _InstancedColor: 0
106113
- _InvFade: 1
107114
- _Metallic: 0
108-
- _Mode: 0
115+
- _Mode: 2
109116
- _NearPlaneFade: 0
110117
- _NormalMapScale: 1
111118
- _OcclusionStrength: 1
@@ -122,17 +129,25 @@ Material:
122129
- _Smoothness: 0.5
123130
- _SmoothnessTextureChannel: 0
124131
- _SpecularHighlights: 1
125-
- _SrcBlend: 1
132+
- _SphericalHarmonics: 0
133+
- _SrcBlend: 5
126134
- _Stencil: 0
135+
- _StencilComp: 8
127136
- _StencilComparison: 0
137+
- _StencilOp: 0
128138
- _StencilOperation: 0
139+
- _StencilReadMask: 255
129140
- _StencilReference: 0
141+
- _StencilWriteMask: 255
130142
- _TriplanarMappingBlendSharpness: 4
131143
- _UVSec: 0
144+
- _UseUIAlphaClip: 0
145+
- _VertexColors: 1
132146
- _ZTest: 4
133-
- _ZWrite: 1
147+
- _ZWrite: 0
134148
m_Colors:
135149
- _ClipPlane: {r: 0, g: 1, b: 0, a: 0}
150+
- _ClippingBorderColor: {r: 1, g: 0.2, b: 0, a: 1}
136151
- _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1}
137152
- _Color: {r: 1, g: 1, b: 1, a: 1}
138153
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

0 commit comments

Comments
 (0)