Skip to content

Commit

Permalink
Update weapon materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Legorobotdude committed Apr 2, 2018
1 parent bb36208 commit eb641dd
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 3 deletions.
76 changes: 76 additions & 0 deletions Assets/Materials/Black.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Black
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
10 changes: 10 additions & 0 deletions Assets/Materials/Black.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions Assets/Scenes/Level1.unity
Original file line number Diff line number Diff line change
Expand Up @@ -8972,11 +8972,11 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 1906805425085612, guid: b9561aa12c8047f40929aae36eeb67f5, type: 2}
propertyPath: m_IsActive
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1775412684214486, guid: b9561aa12c8047f40929aae36eeb67f5, type: 2}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 114169403544723174, guid: b9561aa12c8047f40929aae36eeb67f5,
type: 2}
Expand Down Expand Up @@ -9103,6 +9103,26 @@ Prefab:
propertyPath: cameraShake
value:
objectReference: {fileID: 1722123376}
- target: {fileID: 137229021348566986, guid: b9561aa12c8047f40929aae36eeb67f5,
type: 2}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: a8c4a612c3df3cb4db9d1b19d7559848, type: 2}
- target: {fileID: 137229021348566986, guid: b9561aa12c8047f40929aae36eeb67f5,
type: 2}
propertyPath: m_Materials.Array.data[2]
value:
objectReference: {fileID: 2100000, guid: b29fae60c9d7abc4dbcdcda20affb4a2, type: 2}
- target: {fileID: 137903892286722756, guid: b9561aa12c8047f40929aae36eeb67f5,
type: 2}
propertyPath: m_Materials.Array.data[5]
value:
objectReference: {fileID: 2100000, guid: a8c4a612c3df3cb4db9d1b19d7559848, type: 2}
- target: {fileID: 137903892286722756, guid: b9561aa12c8047f40929aae36eeb67f5,
type: 2}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: b29fae60c9d7abc4dbcdcda20affb4a2, type: 2}
m_RemovedComponents:
- {fileID: 114169403544723174, guid: b9561aa12c8047f40929aae36eeb67f5, type: 2}
m_ParentPrefab: {fileID: 100100000, guid: b9561aa12c8047f40929aae36eeb67f5, type: 2}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Gun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void Update()
IEnumerator Reload()
{
isReloading = true;
Debug.Log("Reloading");
//Debug.Log("Reloading");
//anim.SetBool("Reloading", true);
yield return new WaitForSeconds(reloadTime);
//anim.SetBool("Reloading", false);
Expand Down

0 comments on commit eb641dd

Please sign in to comment.