Skip to content

Commit 93def0c

Browse files
author
Andy Touch
committed
- Updated Lightweight RP to '0.1.28'
- Updated Shader Graph to '0.1.17' - Updated Shader Examples to work with new SRP/SG systems
1 parent 58a1f7e commit 93def0c

34 files changed

+836
-1088
lines changed

ShaderGraph_ExampleLibrary_Project/Assets/Particles/ParticleMat-BasicSoftCircle.mat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Material:
6161
m_Floats:
6262
- Float_BCF5DA67: 0.4
6363
- Float_C2C53202: 0.8
64+
- Vector1_BCF5DA67: 0.37
65+
- Vector1_C2C53202: 0.5
6466
- _BumpScale: 1
6567
- _Cutoff: 0.5
6668
- _DetailNormalMapScale: 1

ShaderGraph_ExampleLibrary_Project/Assets/Particles/ParticleMat-BasicSolidCircle.mat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Material:
6161
m_Floats:
6262
- Float_2F1A942B: 0.8
6363
- Float_3261B1F4: 0.4
64+
- Vector1_2F1A942B: 0.5
65+
- Vector1_3261B1F4: 0.5
6466
- _BumpScale: 1
6567
- _Cutoff: 0.5
6668
- _DetailNormalMapScale: 1

ShaderGraph_ExampleLibrary_Project/Assets/Particles/ParticleMat-Spiral.mat

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@ Material:
1919
serializedVersion: 3
2020
m_TexEnvs: []
2121
m_Floats:
22-
- Float_32B2A993: 0.1
22+
- Float_32B2A993: 0.17
2323
- Float_44C11B74: 0.82
2424
- Float_6B7B914B: -13.1
2525
- Float_75334D6: 100
2626
- Float_E94AAA37: 0.6
27-
- Float_FA6C3D7F: 6.85
28-
m_Colors: []
27+
- Float_FA6C3D7F: 15.67
28+
- Vector1_32B2A993: 0.1
29+
- Vector1_44C11B74: 1
30+
- Vector1_679EB819: 27.54
31+
- Vector1_75334D6: 100
32+
- Vector1_E94AAA37: 0.5
33+
- Vector1_FA6C3D7F: 10
34+
m_Colors:
35+
- Vector2_29F1C11C: {r: 0.5, g: 0.08, b: 0, a: 0}

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/ColorGradient/GunMat-ColorGradient.mat

Lines changed: 5 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -17,86 +17,10 @@ Material:
1717
disabledShaderPasses: []
1818
m_SavedProperties:
1919
serializedVersion: 3
20-
m_TexEnvs:
21-
- Texture_3E0E5967:
22-
m_Texture: {fileID: 0}
23-
m_Scale: {x: 1, y: 1}
24-
m_Offset: {x: 0, y: 0}
25-
- Texture_553BB68:
26-
m_Texture: {fileID: 0}
27-
m_Scale: {x: 1, y: 1}
28-
m_Offset: {x: 0, y: 0}
29-
- Texture_B8E89B90:
30-
m_Texture: {fileID: 0}
31-
m_Scale: {x: 1, y: 1}
32-
m_Offset: {x: 0, y: 0}
33-
- Texture_C00DA9F9:
34-
m_Texture: {fileID: 0}
35-
m_Scale: {x: 1, y: 1}
36-
m_Offset: {x: 0, y: 0}
37-
- _BumpMap:
38-
m_Texture: {fileID: 0}
39-
m_Scale: {x: 1, y: 1}
40-
m_Offset: {x: 0, y: 0}
41-
- _DetailAlbedoMap:
42-
m_Texture: {fileID: 0}
43-
m_Scale: {x: 1, y: 1}
44-
m_Offset: {x: 0, y: 0}
45-
- _DetailMask:
46-
m_Texture: {fileID: 0}
47-
m_Scale: {x: 1, y: 1}
48-
m_Offset: {x: 0, y: 0}
49-
- _DetailNormalMap:
50-
m_Texture: {fileID: 0}
51-
m_Scale: {x: 1, y: 1}
52-
m_Offset: {x: 0, y: 0}
53-
- _EmissionMap:
54-
m_Texture: {fileID: 0}
55-
m_Scale: {x: 1, y: 1}
56-
m_Offset: {x: 0, y: 0}
57-
- _MainTex:
58-
m_Texture: {fileID: 0}
59-
m_Scale: {x: 1, y: 1}
60-
m_Offset: {x: 0, y: 0}
61-
- _MetallicGlossMap:
62-
m_Texture: {fileID: 0}
63-
m_Scale: {x: 1, y: 1}
64-
m_Offset: {x: 0, y: 0}
65-
- _OcclusionMap:
66-
m_Texture: {fileID: 0}
67-
m_Scale: {x: 1, y: 1}
68-
m_Offset: {x: 0, y: 0}
69-
- _ParallaxMap:
70-
m_Texture: {fileID: 0}
71-
m_Scale: {x: 1, y: 1}
72-
m_Offset: {x: 0, y: 0}
73-
- _SpecGlossMap:
74-
m_Texture: {fileID: 0}
75-
m_Scale: {x: 1, y: 1}
76-
m_Offset: {x: 0, y: 0}
20+
m_TexEnvs: []
7721
m_Floats:
78-
- Float_4EEF0B5F: 0.63
79-
- Float_9EB52FEB: 0.64
80-
- _BumpScale: 1
81-
- _Cutoff: 0.5
82-
- _DetailNormalMapScale: 1
83-
- _DstBlend: 0
84-
- _GlossMapScale: 1
85-
- _Glossiness: 0.5
86-
- _GlossyReflections: 1
87-
- _Metallic: 0
88-
- _Mode: 0
89-
- _OcclusionStrength: 1
90-
- _Parallax: 0.02
91-
- _SmoothnessTextureChannel: 0
92-
- _SpecularHighlights: 1
93-
- _SrcBlend: 1
94-
- _UVSec: 0
95-
- _WorkflowMode: 1
96-
- _ZWrite: 1
22+
- Vector1_4EEF0B5F: 3
23+
- Vector1_9EB52FEB: 0.5
9724
m_Colors:
98-
- Color_7C9AD720: {r: 1, g: 0.9728835, b: 0, a: 1}
99-
- Color_F18C77F7: {r: 1, g: 0, b: 0, a: 1}
100-
- _Color: {r: 1, g: 1, b: 1, a: 1}
101-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
102-
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
25+
- Color_7C9AD720: {r: 1, g: 0, b: 0.33732796, a: 1}
26+
- Color_F18C77F7: {r: 1, g: 0.7052165, b: 0, a: 1}

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/ColorGradient/PlayerMat-ColorGradient.mat

Lines changed: 5 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -17,86 +17,10 @@ Material:
1717
disabledShaderPasses: []
1818
m_SavedProperties:
1919
serializedVersion: 3
20-
m_TexEnvs:
21-
- Texture_3E0E5967:
22-
m_Texture: {fileID: 2800000, guid: 04de021bd91ba654488ac587e4c31e2b, type: 3}
23-
m_Scale: {x: 1, y: 1}
24-
m_Offset: {x: 0, y: 0}
25-
- Texture_553BB68:
26-
m_Texture: {fileID: 2800000, guid: 2da4b277e55414e498e12ef6bc54ee29, type: 3}
27-
m_Scale: {x: 1, y: 1}
28-
m_Offset: {x: 0, y: 0}
29-
- Texture_B8E89B90:
30-
m_Texture: {fileID: 2800000, guid: 206adb28e14acb0479ae315df5e1d743, type: 3}
31-
m_Scale: {x: 1, y: 1}
32-
m_Offset: {x: 0, y: 0}
33-
- Texture_C00DA9F9:
34-
m_Texture: {fileID: 2800000, guid: 39c790ced3e137243bff34375839baa9, type: 3}
35-
m_Scale: {x: 1, y: 1}
36-
m_Offset: {x: 0, y: 0}
37-
- _BumpMap:
38-
m_Texture: {fileID: 0}
39-
m_Scale: {x: 1, y: 1}
40-
m_Offset: {x: 0, y: 0}
41-
- _DetailAlbedoMap:
42-
m_Texture: {fileID: 0}
43-
m_Scale: {x: 1, y: 1}
44-
m_Offset: {x: 0, y: 0}
45-
- _DetailMask:
46-
m_Texture: {fileID: 0}
47-
m_Scale: {x: 1, y: 1}
48-
m_Offset: {x: 0, y: 0}
49-
- _DetailNormalMap:
50-
m_Texture: {fileID: 0}
51-
m_Scale: {x: 1, y: 1}
52-
m_Offset: {x: 0, y: 0}
53-
- _EmissionMap:
54-
m_Texture: {fileID: 0}
55-
m_Scale: {x: 1, y: 1}
56-
m_Offset: {x: 0, y: 0}
57-
- _MainTex:
58-
m_Texture: {fileID: 0}
59-
m_Scale: {x: 1, y: 1}
60-
m_Offset: {x: 0, y: 0}
61-
- _MetallicGlossMap:
62-
m_Texture: {fileID: 0}
63-
m_Scale: {x: 1, y: 1}
64-
m_Offset: {x: 0, y: 0}
65-
- _OcclusionMap:
66-
m_Texture: {fileID: 0}
67-
m_Scale: {x: 1, y: 1}
68-
m_Offset: {x: 0, y: 0}
69-
- _ParallaxMap:
70-
m_Texture: {fileID: 0}
71-
m_Scale: {x: 1, y: 1}
72-
m_Offset: {x: 0, y: 0}
73-
- _SpecGlossMap:
74-
m_Texture: {fileID: 0}
75-
m_Scale: {x: 1, y: 1}
76-
m_Offset: {x: 0, y: 0}
20+
m_TexEnvs: []
7721
m_Floats:
78-
- Float_4EEF0B5F: 0.79
79-
- Float_9EB52FEB: 0.64
80-
- _BumpScale: 1
81-
- _Cutoff: 0.5
82-
- _DetailNormalMapScale: 1
83-
- _DstBlend: 0
84-
- _GlossMapScale: 1
85-
- _Glossiness: 0.5
86-
- _GlossyReflections: 1
87-
- _Metallic: 0
88-
- _Mode: 0
89-
- _OcclusionStrength: 1
90-
- _Parallax: 0.02
91-
- _SmoothnessTextureChannel: 0
92-
- _SpecularHighlights: 1
93-
- _SrcBlend: 1
94-
- _UVSec: 0
95-
- _WorkflowMode: 1
96-
- _ZWrite: 1
22+
- Vector1_4EEF0B5F: 3
23+
- Vector1_9EB52FEB: 0.5
9724
m_Colors:
98-
- Color_7C9AD720: {r: 1, g: 0.9728836, b: 0, a: 1}
99-
- Color_F18C77F7: {r: 1, g: 0, b: 0, a: 1}
100-
- _Color: {r: 1, g: 1, b: 1, a: 1}
101-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
102-
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
25+
- Color_7C9AD720: {r: 1, g: 0, b: 0.33732796, a: 1}
26+
- Color_F18C77F7: {r: 1, g: 0.7052165, b: 0, a: 1}

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/ColorRim/GunMat-ColorRim.mat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Material:
7676
m_Offset: {x: 0, y: 0}
7777
m_Floats:
7878
- Float_D9008F3D: 1
79+
- Vector1_D9008F3D: 0.87
7980
- _BumpScale: 1
8081
- _Cutoff: 0.5
8182
- _DetailNormalMapScale: 1

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/ColorRim/PlayerMat-ColorRim.mat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Material:
104104
m_Offset: {x: 0, y: 0}
105105
m_Floats:
106106
- Float_D9008F3D: 1
107+
- Vector1_D9008F3D: 0.87
107108
- _BumpScale: 1
108109
- _Cutoff: 0.5
109110
- _DetailNormalMapScale: 1

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/PhaseInAndOut/GunMat-PhaseInAndOut.mat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Material:
7878
- Float_198FCEB9: 0
7979
- Float_A235A670: 1
8080
- Float_F753BD1D: 0.12
81+
- Vector1_A235A670: 0.2
82+
- Vector1_F753BD1D: 0.02
8183
- _BumpScale: 1
8284
- _Cutoff: 0.5
8385
- _DetailNormalMapScale: 1
@@ -96,7 +98,7 @@ Material:
9698
- _WorkflowMode: 1
9799
- _ZWrite: 1
98100
m_Colors:
99-
- Color_C3BC14AD: {r: 1, g: 0, b: 0, a: 1}
101+
- Color_C3BC14AD: {r: 0.46666664, g: 0.9921568, b: 0.5588941, a: 1}
100102
- _Color: {r: 1, g: 1, b: 1, a: 1}
101103
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
102104
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/PhaseInAndOut/PlayerMat-PhaseInAndOut.mat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Material:
7878
- Float_198FCEB9: -0.2
7979
- Float_A235A670: 0.27
8080
- Float_F753BD1D: 0.02
81+
- Vector1_A235A670: 0.2
82+
- Vector1_F753BD1D: 0.02
8183
- _BumpScale: 1
8284
- _Cutoff: 0.5
8385
- _DetailNormalMapScale: 1
@@ -96,7 +98,7 @@ Material:
9698
- _WorkflowMode: 1
9799
- _ZWrite: 1
98100
m_Colors:
99-
- Color_C3BC14AD: {r: 0, g: 1, b: 0.2608924, a: 1}
101+
- Color_C3BC14AD: {r: 0.46666664, g: 0.9921568, b: 0.5588941, a: 1}
100102
- _Color: {r: 1, g: 1, b: 1, a: 1}
101103
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
102104
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

ShaderGraph_ExampleLibrary_Project/Assets/Player/Materials-CustomShader/Sliced/PlayerMat-Sliced.mat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ Material:
7878
- Float_1CBCCE5F: 5.56
7979
- Float_1CFC2E95: 0.3
8080
- Float_B08694A8: -0.92
81+
- Vector1_1CBCCE5F: 0.4
82+
- Vector1_1CFC2E95: 0.5
83+
- Vector1_B08694A8: 4.01
8184
- _BumpScale: 1
8285
- _Cutoff: 0.5
8386
- _DetailNormalMapScale: 1

0 commit comments

Comments
 (0)