Skip to content

Commit 8268572

Browse files
committed
Seperated avatar prefab mats
1 parent ba68b9d commit 8268572

File tree

5 files changed

+8355
-5
lines changed

5 files changed

+8355
-5
lines changed

SimpNet/Assets/SimpNet/Materials/ClassifyOut.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Material:
4040
m_Scale: {x: 1, y: 1}
4141
m_Offset: {x: 0, y: 0}
4242
- _Labels:
43-
m_Texture: {fileID: 2800000, guid: 3dd85600ae333494eb6918f4c8fb5cbb, type: 3}
43+
m_Texture: {fileID: 8400000, guid: f86151a1fd934c2468f89c2c0d998b78, type: 2}
4444
m_Scale: {x: 1, y: 1}
4545
m_Offset: {x: 0, y: 0}
4646
- _MainTex:
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: ClassifyOutAvatar
11+
m_Shader: {fileID: 4800000, guid: d0cfb8a1634d709468aae0b0148edf63, type: 3}
12+
m_ShaderKeywords:
13+
m_LightmapFlags: 4
14+
m_EnableInstancingVariants: 0
15+
m_DoubleSidedGI: 0
16+
m_CustomRenderQueue: -1
17+
stringTagMap: {}
18+
disabledShaderPasses: []
19+
m_SavedProperties:
20+
serializedVersion: 3
21+
m_TexEnvs:
22+
- _BumpMap:
23+
m_Texture: {fileID: 0}
24+
m_Scale: {x: 1, y: 1}
25+
m_Offset: {x: 0, y: 0}
26+
- _DetailAlbedoMap:
27+
m_Texture: {fileID: 0}
28+
m_Scale: {x: 1, y: 1}
29+
m_Offset: {x: 0, y: 0}
30+
- _DetailMask:
31+
m_Texture: {fileID: 0}
32+
m_Scale: {x: 1, y: 1}
33+
m_Offset: {x: 0, y: 0}
34+
- _DetailNormalMap:
35+
m_Texture: {fileID: 0}
36+
m_Scale: {x: 1, y: 1}
37+
m_Offset: {x: 0, y: 0}
38+
- _EmissionMap:
39+
m_Texture: {fileID: 0}
40+
m_Scale: {x: 1, y: 1}
41+
m_Offset: {x: 0, y: 0}
42+
- _Labels:
43+
m_Texture: {fileID: 2800000, guid: 3dd85600ae333494eb6918f4c8fb5cbb, type: 3}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
46+
- _MainTex:
47+
m_Texture: {fileID: 0}
48+
m_Scale: {x: 1, y: 1}
49+
m_Offset: {x: 0, y: 0}
50+
- _MetallicGlossMap:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- _NNBuffer:
55+
m_Texture: {fileID: 8400000, guid: 793cead095d8c5c45a03267969f92b0a, type: 2}
56+
m_Scale: {x: 1, y: 1}
57+
m_Offset: {x: 0, y: 0}
58+
- _OcclusionMap:
59+
m_Texture: {fileID: 0}
60+
m_Scale: {x: 1, y: 1}
61+
m_Offset: {x: 0, y: 0}
62+
- _ParallaxMap:
63+
m_Texture: {fileID: 0}
64+
m_Scale: {x: 1, y: 1}
65+
m_Offset: {x: 0, y: 0}
66+
m_Floats:
67+
- _BumpScale: 1
68+
- _Cutoff: 0.5
69+
- _DetailNormalMapScale: 1
70+
- _DstBlend: 0
71+
- _GlossMapScale: 1
72+
- _Glossiness: 0.5
73+
- _GlossyReflections: 1
74+
- _Metallic: 0
75+
- _Mode: 0
76+
- _OcclusionStrength: 1
77+
- _Parallax: 0.02
78+
- _SmoothnessTextureChannel: 0
79+
- _SpecularHighlights: 1
80+
- _SrcBlend: 1
81+
- _UVSec: 0
82+
- _ZWrite: 1
83+
m_Colors:
84+
- _Color: {r: 1, g: 1, b: 1, a: 1}
85+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
86+
- _Test: {r: 280, g: -280, b: 0, a: 0}

SimpNet/Assets/SimpNet/Prefabs/SimpNetAvatarPrefab.prefab

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ MeshRenderer:
339339
m_RenderingLayerMask: 1
340340
m_RendererPriority: 0
341341
m_Materials:
342-
- {fileID: 2100000, guid: f4f544a8316c59b49b01e2db3d4a41d1, type: 2}
342+
- {fileID: 2100000, guid: 0616dda6f2bf8e048b1efd9dc5b86119, type: 2}
343343
m_StaticBatchInfo:
344344
firstSubMesh: 0
345345
subMeshCount: 0
@@ -811,7 +811,7 @@ MeshRenderer:
811811
m_RenderingLayerMask: 1
812812
m_RendererPriority: 0
813813
m_Materials:
814-
- {fileID: 2100000, guid: f4f544a8316c59b49b01e2db3d4a41d1, type: 2}
814+
- {fileID: 2100000, guid: 0616dda6f2bf8e048b1efd9dc5b86119, type: 2}
815815
m_StaticBatchInfo:
816816
firstSubMesh: 0
817817
subMeshCount: 0

SimpNet/Assets/SimpNet/Shaders/ClassifyOut.shader

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{
55
_NNBuffer ("Neural Net Buffer", 2D) = "white" {}
66
_Labels ("Labels", 2D) = "white" {}
7-
_Test ("test", Vector) = (0, 0, 0, 0)
87
}
98
SubShader
109
{
@@ -42,7 +41,6 @@
4241
//RWStructuredBuffer<float4> buffer : register(u1);
4342
Texture2D<float> _NNBuffer;
4443
Texture2D<float> _Labels;
45-
float4 _Test;
4644

4745
v2f vert (appdata v)
4846
{

0 commit comments

Comments
 (0)