Showing
10 changed files
with
304 additions
and
21 deletions
... | @@ -195,7 +195,7 @@ Transform: | ... | @@ -195,7 +195,7 @@ Transform: |
195 | m_LocalScale: {x: 1, y: 1, z: 1} | 195 | m_LocalScale: {x: 1, y: 1, z: 1} |
196 | m_Children: [] | 196 | m_Children: [] |
197 | m_Father: {fileID: 0} | 197 | m_Father: {fileID: 0} |
198 | - m_RootOrder: 5 | 198 | + m_RootOrder: 6 |
199 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 199 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
200 | --- !u!1 &434981542 | 200 | --- !u!1 &434981542 |
201 | GameObject: | 201 | GameObject: |
... | @@ -294,7 +294,7 @@ Transform: | ... | @@ -294,7 +294,7 @@ Transform: |
294 | m_LocalScale: {x: 1, y: 1, z: 1} | 294 | m_LocalScale: {x: 1, y: 1, z: 1} |
295 | m_Children: [] | 295 | m_Children: [] |
296 | m_Father: {fileID: 0} | 296 | m_Father: {fileID: 0} |
297 | - m_RootOrder: 9 | 297 | + m_RootOrder: 10 |
298 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 298 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
299 | --- !u!1 &597635817 | 299 | --- !u!1 &597635817 |
300 | GameObject: | 300 | GameObject: |
... | @@ -378,7 +378,7 @@ Transform: | ... | @@ -378,7 +378,7 @@ Transform: |
378 | m_LocalScale: {x: 1, y: 1, z: 1} | 378 | m_LocalScale: {x: 1, y: 1, z: 1} |
379 | m_Children: [] | 379 | m_Children: [] |
380 | m_Father: {fileID: 0} | 380 | m_Father: {fileID: 0} |
381 | - m_RootOrder: 3 | 381 | + m_RootOrder: 4 |
382 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 382 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
383 | --- !u!1 &775083194 | 383 | --- !u!1 &775083194 |
384 | GameObject: | 384 | GameObject: |
... | @@ -459,7 +459,7 @@ Transform: | ... | @@ -459,7 +459,7 @@ Transform: |
459 | m_LocalScale: {x: 1, y: 1, z: 1} | 459 | m_LocalScale: {x: 1, y: 1, z: 1} |
460 | m_Children: [] | 460 | m_Children: [] |
461 | m_Father: {fileID: 0} | 461 | m_Father: {fileID: 0} |
462 | - m_RootOrder: 1 | 462 | + m_RootOrder: 2 |
463 | m_LocalEulerAnglesHint: {x: 28.569002, y: -40, z: 0} | 463 | m_LocalEulerAnglesHint: {x: 28.569002, y: -40, z: 0} |
464 | --- !u!1 &810164710 | 464 | --- !u!1 &810164710 |
465 | GameObject: | 465 | GameObject: |
... | @@ -543,8 +543,55 @@ Transform: | ... | @@ -543,8 +543,55 @@ Transform: |
543 | m_LocalScale: {x: 1, y: 1, z: 1} | 543 | m_LocalScale: {x: 1, y: 1, z: 1} |
544 | m_Children: [] | 544 | m_Children: [] |
545 | m_Father: {fileID: 0} | 545 | m_Father: {fileID: 0} |
546 | - m_RootOrder: 2 | 546 | + m_RootOrder: 3 |
547 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 547 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
548 | +--- !u!1001 &883982885 | ||
549 | +Prefab: | ||
550 | + m_ObjectHideFlags: 0 | ||
551 | + serializedVersion: 2 | ||
552 | + m_Modification: | ||
553 | + m_TransformParent: {fileID: 0} | ||
554 | + m_Modifications: | ||
555 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
556 | + propertyPath: m_LocalPosition.x | ||
557 | + value: 3.038643 | ||
558 | + objectReference: {fileID: 0} | ||
559 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
560 | + propertyPath: m_LocalPosition.y | ||
561 | + value: 0.13482952 | ||
562 | + objectReference: {fileID: 0} | ||
563 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
564 | + propertyPath: m_LocalPosition.z | ||
565 | + value: 2.612719 | ||
566 | + objectReference: {fileID: 0} | ||
567 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
568 | + propertyPath: m_LocalRotation.x | ||
569 | + value: -0.7071068 | ||
570 | + objectReference: {fileID: 0} | ||
571 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
572 | + propertyPath: m_LocalRotation.y | ||
573 | + value: 0 | ||
574 | + objectReference: {fileID: 0} | ||
575 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
576 | + propertyPath: m_LocalRotation.z | ||
577 | + value: -0 | ||
578 | + objectReference: {fileID: 0} | ||
579 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
580 | + propertyPath: m_LocalRotation.w | ||
581 | + value: 0.7071068 | ||
582 | + objectReference: {fileID: 0} | ||
583 | + - target: {fileID: 400000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
584 | + propertyPath: m_RootOrder | ||
585 | + value: 1 | ||
586 | + objectReference: {fileID: 0} | ||
587 | + - target: {fileID: 2300000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
588 | + propertyPath: m_Materials.Array.data[0] | ||
589 | + value: | ||
590 | + objectReference: {fileID: 2100000, guid: 0804f10969f9d5242947d537bf5f5fef, type: 2} | ||
591 | + m_RemovedComponents: | ||
592 | + - {fileID: 9500000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
593 | + m_ParentPrefab: {fileID: 100100000, guid: 0a3b9463f8cd733409333428155625e7, type: 3} | ||
594 | + m_IsPrefabParent: 0 | ||
548 | --- !u!1 &898914233 | 595 | --- !u!1 &898914233 |
549 | GameObject: | 596 | GameObject: |
550 | m_ObjectHideFlags: 0 | 597 | m_ObjectHideFlags: 0 |
... | @@ -627,7 +674,7 @@ Transform: | ... | @@ -627,7 +674,7 @@ Transform: |
627 | m_LocalScale: {x: 1, y: 1, z: 1} | 674 | m_LocalScale: {x: 1, y: 1, z: 1} |
628 | m_Children: [] | 675 | m_Children: [] |
629 | m_Father: {fileID: 0} | 676 | m_Father: {fileID: 0} |
630 | - m_RootOrder: 4 | 677 | + m_RootOrder: 5 |
631 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 678 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
632 | --- !u!1 &1018307887 | 679 | --- !u!1 &1018307887 |
633 | GameObject: | 680 | GameObject: |
... | @@ -776,7 +823,7 @@ Transform: | ... | @@ -776,7 +823,7 @@ Transform: |
776 | m_LocalScale: {x: 1, y: 1, z: 1} | 823 | m_LocalScale: {x: 1, y: 1, z: 1} |
777 | m_Children: [] | 824 | m_Children: [] |
778 | m_Father: {fileID: 0} | 825 | m_Father: {fileID: 0} |
779 | - m_RootOrder: 6 | 826 | + m_RootOrder: 7 |
780 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 827 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
781 | --- !u!1 &1330360060 | 828 | --- !u!1 &1330360060 |
782 | GameObject: | 829 | GameObject: |
... | @@ -860,7 +907,7 @@ Transform: | ... | @@ -860,7 +907,7 @@ Transform: |
860 | m_LocalScale: {x: 1, y: 1, z: 1} | 907 | m_LocalScale: {x: 1, y: 1, z: 1} |
861 | m_Children: [] | 908 | m_Children: [] |
862 | m_Father: {fileID: 0} | 909 | m_Father: {fileID: 0} |
863 | - m_RootOrder: 7 | 910 | + m_RootOrder: 8 |
864 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 911 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
865 | --- !u!1 &2063182372 | 912 | --- !u!1 &2063182372 |
866 | GameObject: | 913 | GameObject: |
... | @@ -944,5 +991,5 @@ Transform: | ... | @@ -944,5 +991,5 @@ Transform: |
944 | m_LocalScale: {x: 1, y: 1, z: 1} | 991 | m_LocalScale: {x: 1, y: 1, z: 1} |
945 | m_Children: [] | 992 | m_Children: [] |
946 | m_Father: {fileID: 0} | 993 | m_Father: {fileID: 0} |
947 | - m_RootOrder: 8 | 994 | + m_RootOrder: 9 |
948 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 995 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ... | ... |
Assets/Materials/Cubemap Reflection.mat
0 → 100644
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_PrefabParentObject: {fileID: 0} | ||
8 | + m_PrefabInternal: {fileID: 0} | ||
9 | + m_Name: Cubemap Reflection | ||
10 | + m_Shader: {fileID: 4800000, guid: a646a5d066fddea4eb4728be0c3aeeaa, type: 3} | ||
11 | + m_ShaderKeywords: _METALLICGLOSSMAP | ||
12 | + m_LightmapFlags: 4 | ||
13 | + m_EnableInstancingVariants: 0 | ||
14 | + m_DoubleSidedGI: 0 | ||
15 | + m_CustomRenderQueue: -1 | ||
16 | + stringTagMap: {} | ||
17 | + disabledShaderPasses: [] | ||
18 | + m_SavedProperties: | ||
19 | + serializedVersion: 3 | ||
20 | + m_TexEnvs: | ||
21 | + - _BumpMap: | ||
22 | + m_Texture: {fileID: 0} | ||
23 | + m_Scale: {x: 1, y: 1} | ||
24 | + m_Offset: {x: 0, y: 0} | ||
25 | + - _Cube: | ||
26 | + m_Texture: {fileID: 8900000, guid: ee48a0b9fa02694479d3f37533cb1cae, type: 3} | ||
27 | + m_Scale: {x: 1, y: 1} | ||
28 | + m_Offset: {x: 0, y: 0} | ||
29 | + - _DetailAlbedoMap: | ||
30 | + m_Texture: {fileID: 0} | ||
31 | + m_Scale: {x: 1, y: 1} | ||
32 | + m_Offset: {x: 0, y: 0} | ||
33 | + - _DetailMask: | ||
34 | + m_Texture: {fileID: 0} | ||
35 | + m_Scale: {x: 1, y: 1} | ||
36 | + m_Offset: {x: 0, y: 0} | ||
37 | + - _DetailNormalMap: | ||
38 | + m_Texture: {fileID: 0} | ||
39 | + m_Scale: {x: 1, y: 1} | ||
40 | + m_Offset: {x: 0, y: 0} | ||
41 | + - _EmissionMap: | ||
42 | + m_Texture: {fileID: 0} | ||
43 | + m_Scale: {x: 1, y: 1} | ||
44 | + m_Offset: {x: 0, y: 0} | ||
45 | + - _MainTex: | ||
46 | + m_Texture: {fileID: 2800000, guid: 87b296ed6d65caf45a3ccdef64aea59f, type: 3} | ||
47 | + m_Scale: {x: 1, y: 1} | ||
48 | + m_Offset: {x: 0, y: 0} | ||
49 | + - _MetallicGlossMap: | ||
50 | + m_Texture: {fileID: 2800000, guid: d73d58466bff58a4bba97d9016f6fdb3, type: 3} | ||
51 | + m_Scale: {x: 1, y: 1} | ||
52 | + m_Offset: {x: 0, y: 0} | ||
53 | + - _MetallicTex: | ||
54 | + m_Texture: {fileID: 2800000, guid: d73d58466bff58a4bba97d9016f6fdb3, type: 3} | ||
55 | + m_Scale: {x: 1, y: 1} | ||
56 | + m_Offset: {x: 0, y: 0} | ||
57 | + - _NormalMap: | ||
58 | + m_Texture: {fileID: 2800000, guid: 766b227ecc95df744a37d0e50fbd6837, type: 3} | ||
59 | + m_Scale: {x: 1, y: 1} | ||
60 | + m_Offset: {x: 0, y: 0} | ||
61 | + - _OcclusionMap: | ||
62 | + m_Texture: {fileID: 0} | ||
63 | + m_Scale: {x: 1, y: 1} | ||
64 | + m_Offset: {x: 0, y: 0} | ||
65 | + - _ParallaxMap: | ||
66 | + m_Texture: {fileID: 0} | ||
67 | + m_Scale: {x: 1, y: 1} | ||
68 | + m_Offset: {x: 0, y: 0} | ||
69 | + - _ReflectionMask: | ||
70 | + m_Texture: {fileID: 0} | ||
71 | + m_Scale: {x: 1, y: 1} | ||
72 | + m_Offset: {x: 0, y: 0} | ||
73 | + m_Floats: | ||
74 | + - _BumpScale: 1 | ||
75 | + - _Cutoff: 0.5 | ||
76 | + - _DetailNormalMapScale: 1 | ||
77 | + - _DstBlend: 0 | ||
78 | + - _GlossMapScale: 1 | ||
79 | + - _Glossiness: 0.868 | ||
80 | + - _GlossyReflections: 1 | ||
81 | + - _Metallic: 1 | ||
82 | + - _Mode: 0 | ||
83 | + - _OcclusionStrength: 1 | ||
84 | + - _Parallax: 0.02 | ||
85 | + - _ReflectionOpacity: 0.674 | ||
86 | + - _RimPow: 4.25 | ||
87 | + - _Smooth: 1 | ||
88 | + - _SmoothnessTextureChannel: 0 | ||
89 | + - _SpecularHighlights: 1 | ||
90 | + - _SrcBlend: 1 | ||
91 | + - _UVSec: 0 | ||
92 | + - _ZWrite: 1 | ||
93 | + m_Colors: | ||
94 | + - _Color: {r: 1, g: 1, b: 1, a: 1} | ||
95 | + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} | ||
96 | + - _RimColor: {r: 1, g: 1, b: 1, a: 1} |
Assets/Materials/Cubemap Reflection.mat.meta
0 → 100644
1 | -Shader "Custom/BillboardCullOff" { | 1 | +Shader "I_Jemin/CubemapReflection" { |
2 | - Properties { | 2 | + Properties{ |
3 | - _MainTex ("Albedo (RGB)", 2D) = "white" {} | 3 | + _MainTex("Albedo (RGB)", 2D) = "white" {} |
4 | + _NormalMap("Normal Map",2D) = "black" {} | ||
5 | + _Cube("Reflection Cubemap",Cube) = "" {} | ||
6 | + _ReflectionOpacity("Reflection Opacity",Range(0,1)) = 0.3 | ||
4 | } | 7 | } |
5 | SubShader { | 8 | SubShader { |
6 | Tags { "RenderType"="Opaque" } | 9 | Tags { "RenderType"="Opaque" } |
7 | - Cull Off | ||
8 | - CGPROGRAM | ||
9 | - #pragma surface surf Standard | ||
10 | 10 | ||
11 | + CGPROGRAM | ||
12 | + #pragma surface surf Standard fullforwardshadows | ||
11 | 13 | ||
12 | sampler2D _MainTex; | 14 | sampler2D _MainTex; |
15 | + sampler2D _NormalMap; | ||
16 | + samplerCUBE _Cube; | ||
17 | + float _ReflectionOpacity; | ||
13 | 18 | ||
14 | struct Input { | 19 | struct Input { |
15 | float2 uv_MainTex; | 20 | float2 uv_MainTex; |
21 | + float2 uv_NormalMap; | ||
22 | + float3 worldRefl; | ||
23 | + INTERNAL_DATA | ||
16 | }; | 24 | }; |
17 | 25 | ||
18 | void surf (Input IN, inout SurfaceOutputStandard o) { | 26 | void surf (Input IN, inout SurfaceOutputStandard o) { |
19 | - // Albedo comes from a texture tinted by color | 27 | + |
20 | - fixed4 c = tex2D (_MainTex, IN.uv_MainTex) ; | 28 | + o.Normal = UnpackNormal(tex2D(_NormalMap, IN.uv_NormalMap)); |
21 | - o.Albedo = c.rgb; | 29 | + fixed4 c = tex2D (_MainTex, IN.uv_MainTex); |
22 | 30 | ||
23 | o.Alpha = c.a; | 31 | o.Alpha = c.a; |
32 | + | ||
33 | + o.Albedo = c.rgb * (1 - _ReflectionOpacity); | ||
34 | + o.Emission = texCUBE(_Cube, WorldReflectionVector(IN,o.Normal)) * _ReflectionOpacity; | ||
24 | } | 35 | } |
25 | ENDCG | 36 | ENDCG |
26 | } | 37 | } | ... | ... |
1 | fileFormatVersion: 2 | 1 | fileFormatVersion: 2 |
2 | -guid: f866e76c9eb99ae4fa41c8c2ad1b2a4a | 2 | +guid: a646a5d066fddea4eb4728be0c3aeeaa |
3 | -timeCreated: 1516817953 | 3 | +timeCreated: 1516818648 |
4 | licenseType: Pro | 4 | licenseType: Pro |
5 | ShaderImporter: | 5 | ShaderImporter: |
6 | externalObjects: {} | 6 | externalObjects: {} | ... | ... |
Assets/Textures/grace_probe.hdr
0 → 100644
No preview for this file type
Assets/Textures/grace_probe.hdr.meta
0 → 100644
1 | +fileFormatVersion: 2 | ||
2 | +guid: ee48a0b9fa02694479d3f37533cb1cae | ||
3 | +timeCreated: 1516819832 | ||
4 | +licenseType: Pro | ||
5 | +TextureImporter: | ||
6 | + fileIDToRecycleName: | ||
7 | + 8900000: generatedCubemap | ||
8 | + externalObjects: {} | ||
9 | + serializedVersion: 4 | ||
10 | + mipmaps: | ||
11 | + mipMapMode: 0 | ||
12 | + enableMipMap: 1 | ||
13 | + sRGBTexture: 0 | ||
14 | + linearTexture: 0 | ||
15 | + fadeOut: 0 | ||
16 | + borderMipMap: 0 | ||
17 | + mipMapsPreserveCoverage: 0 | ||
18 | + alphaTestReferenceValue: 0.5 | ||
19 | + mipMapFadeDistanceStart: 1 | ||
20 | + mipMapFadeDistanceEnd: 3 | ||
21 | + bumpmap: | ||
22 | + convertToNormalMap: 0 | ||
23 | + externalNormalMap: 0 | ||
24 | + heightScale: 0.25 | ||
25 | + normalMapFilter: 0 | ||
26 | + isReadable: 0 | ||
27 | + grayScaleToAlpha: 0 | ||
28 | + generateCubemap: 6 | ||
29 | + cubemapConvolution: 0 | ||
30 | + seamlessCubemap: 0 | ||
31 | + textureFormat: 1 | ||
32 | + maxTextureSize: 2048 | ||
33 | + textureSettings: | ||
34 | + serializedVersion: 2 | ||
35 | + filterMode: -1 | ||
36 | + aniso: -1 | ||
37 | + mipBias: -1 | ||
38 | + wrapU: -1 | ||
39 | + wrapV: -1 | ||
40 | + wrapW: -1 | ||
41 | + nPOTScale: 1 | ||
42 | + lightmap: 0 | ||
43 | + compressionQuality: 50 | ||
44 | + spriteMode: 0 | ||
45 | + spriteExtrude: 1 | ||
46 | + spriteMeshType: 1 | ||
47 | + alignment: 0 | ||
48 | + spritePivot: {x: 0.5, y: 0.5} | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spritePixelsToUnits: 100 | ||
51 | + alphaUsage: 0 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 2 | ||
56 | + maxTextureSizeSet: 0 | ||
57 | + compressionQualitySet: 0 | ||
58 | + textureFormatSet: 0 | ||
59 | + platformSettings: | ||
60 | + - buildTarget: DefaultTexturePlatform | ||
61 | + maxTextureSize: 2048 | ||
62 | + resizeAlgorithm: 0 | ||
63 | + textureFormat: -1 | ||
64 | + textureCompression: 1 | ||
65 | + compressionQuality: 50 | ||
66 | + crunchedCompression: 0 | ||
67 | + allowsAlphaSplitting: 0 | ||
68 | + overridden: 0 | ||
69 | + androidETC2FallbackOverride: 0 | ||
70 | + - buildTarget: Standalone | ||
71 | + maxTextureSize: 2048 | ||
72 | + resizeAlgorithm: 0 | ||
73 | + textureFormat: -1 | ||
74 | + textureCompression: 1 | ||
75 | + compressionQuality: 50 | ||
76 | + crunchedCompression: 0 | ||
77 | + allowsAlphaSplitting: 0 | ||
78 | + overridden: 0 | ||
79 | + androidETC2FallbackOverride: 0 | ||
80 | + - buildTarget: iPhone | ||
81 | + maxTextureSize: 2048 | ||
82 | + resizeAlgorithm: 0 | ||
83 | + textureFormat: -1 | ||
84 | + textureCompression: 1 | ||
85 | + compressionQuality: 50 | ||
86 | + crunchedCompression: 0 | ||
87 | + allowsAlphaSplitting: 0 | ||
88 | + overridden: 0 | ||
89 | + androidETC2FallbackOverride: 0 | ||
90 | + - buildTarget: Android | ||
91 | + maxTextureSize: 2048 | ||
92 | + resizeAlgorithm: 0 | ||
93 | + textureFormat: -1 | ||
94 | + textureCompression: 1 | ||
95 | + compressionQuality: 50 | ||
96 | + crunchedCompression: 0 | ||
97 | + allowsAlphaSplitting: 0 | ||
98 | + overridden: 0 | ||
99 | + androidETC2FallbackOverride: 0 | ||
100 | + - buildTarget: WebGL | ||
101 | + maxTextureSize: 2048 | ||
102 | + resizeAlgorithm: 0 | ||
103 | + textureFormat: -1 | ||
104 | + textureCompression: 1 | ||
105 | + compressionQuality: 50 | ||
106 | + crunchedCompression: 0 | ||
107 | + allowsAlphaSplitting: 0 | ||
108 | + overridden: 0 | ||
109 | + androidETC2FallbackOverride: 0 | ||
110 | + spriteSheet: | ||
111 | + serializedVersion: 2 | ||
112 | + sprites: [] | ||
113 | + outline: [] | ||
114 | + physicsShape: [] | ||
115 | + spritePackingTag: | ||
116 | + userData: | ||
117 | + assetBundleName: | ||
118 | + assetBundleVariant: |
-
Please register or login to post a comment