Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RhythmKata
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
13정준영
RhythmKata
Commits
b47a6a8a
Commit
b47a6a8a
authored
Nov 22, 2019
by
15박보승
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
외곽선 쉐이더 작업중
parent
43a5c014
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
201 additions
and
3 deletions
+201
-3
DefaultNote.mat
RhythmKata/Assets/Materials/DefaultNote.mat
+3
-1
EdgeNote.mat
RhythmKata/Assets/Materials/EdgeNote.mat
+3
-1
OutlineEx.mat
RhythmKata/Assets/Materials/OutlineEx.mat
+79
-0
OutlineEx.mat.meta
RhythmKata/Assets/Materials/OutlineEx.mat.meta
+8
-0
Skybox.mat
RhythmKata/Assets/Materials/Skybox.mat
+1
-1
Outline.shader
RhythmKata/Assets/Shaders/Outline.shader
+98
-0
Outline.shader.meta
RhythmKata/Assets/Shaders/Outline.shader.meta
+9
-0
No files found.
RhythmKata/Assets/Materials/DefaultNote.mat
View file @
b47a6a8a
...
...
@@ -8,7 +8,7 @@ Material:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
DefaultNote
m_Shader
:
{
fileID
:
4
6
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_Shader
:
{
fileID
:
4
800000
,
guid
:
19cda4da5d48a07448d5dc196898e4bb
,
type
:
3
}
m_ShaderKeywords
:
_EMISSION _SPECULARHIGHLIGHTS_OFF
m_LightmapFlags
:
1
m_EnableInstancingVariants
:
0
...
...
@@ -81,6 +81,7 @@ Material:
-
_Metallic
:
1
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Outline
:
0.02
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
0
...
...
@@ -97,5 +98,6 @@ Material:
-
_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_EmissionColor
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_Flip
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_OutlineColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
-
_RendererColor
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_SpecColor
:
{
r
:
0.19999996
,
g
:
0.19999996
,
b
:
0.19999996
,
a
:
1
}
RhythmKata/Assets/Materials/EdgeNote.mat
View file @
b47a6a8a
...
...
@@ -8,7 +8,7 @@ Material:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
EdgeNote
m_Shader
:
{
fileID
:
4
6
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_Shader
:
{
fileID
:
4
800000
,
guid
:
19cda4da5d48a07448d5dc196898e4bb
,
type
:
3
}
m_ShaderKeywords
:
_EMISSION
m_LightmapFlags
:
1
m_EnableInstancingVariants
:
0
...
...
@@ -81,6 +81,7 @@ Material:
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Outline
:
0.47
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
...
...
@@ -97,5 +98,6 @@ Material:
-
_Color
:
{
r
:
1
,
g
:
1
,
b
:
0
,
a
:
1
}
-
_EmissionColor
:
{
r
:
1
,
g
:
1
,
b
:
0
,
a
:
1
}
-
_Flip
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_OutlineColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
-
_RendererColor
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_SpecColor
:
{
r
:
0.19999996
,
g
:
0.19999996
,
b
:
0.19999996
,
a
:
1
}
RhythmKata/Assets/Materials/OutlineEx.mat
0 → 100644
View file @
b47a6a8a
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!21
&2100000
Material
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
OutlineEx
m_Shader
:
{
fileID
:
4800000
,
guid
:
19cda4da5d48a07448d5dc196898e4bb
,
type
:
3
}
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
-
_Outline
:
1.02
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
-
_ZWrite
:
1
m_Colors
:
-
_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
-
_OutlineColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
RhythmKata/Assets/Materials/OutlineEx.mat.meta
0 → 100644
View file @
b47a6a8a
fileFormatVersion: 2
guid: 9ba6f3e176f45c84cb7bfb4bbad12e14
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
RhythmKata/Assets/Materials/Skybox.mat
View file @
b47a6a8a
...
...
@@ -48,7 +48,7 @@ Material:
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_FrontTex
:
m_Texture
:
{
fileID
:
2800000
,
guid
:
d6f0e028c1244404eb2d02959b9f8f60
,
type
:
3
}
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_LeftTex
:
...
...
RhythmKata/Assets/Shaders/Outline.shader
0 → 100644
View file @
b47a6a8a
Shader
"Custom/Outline"
{
Properties
{
_Color
(
"Main Color"
,
Color
)
=
(
1
,
1
,
1
,
1
)
_MainTex
(
"Main Texture"
,
2
D
)
=
"white"
{}
_Outline
(
"Outline"
,
Range
(
0
,
2
))
=
0
.
1
_OutlineColor
(
"Outline Color"
,
Color
)
=
(
0
,
0
,
0
,
1
)
}
SubShader
{
Tags
{
"Queue"
=
"Transparent"
"IgnoreProjector"
=
"True"
"RenderType"
=
"Transparent"
}
Pass
{
Blend
SrcAlpha
OneMinusSrcAlpha
Cull
Front
ZWrite
Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
float
_Outline
;
float4
_OutlineColor
;
struct
appdata
{
float4
vertex
:
POSITION
;
float3
normal
:
NORMAL
;
};
struct
v2f
{
float4
pos
:
SV_POSITION
;
};
v2f
vert
(
appdata
v
)
{
v2f
o
;
v
.
vertex
.
xyz
+=
normal
*
_Outline
;
o
.
pos
=
UnityObjectToClipPos
(
v
.
vertex
);
return
o
;
}
float4
frag
(
v2f
i
)
:
COLOR
{
return
_OutlineColor
;
}
ENDCG
}
// 정상적으로 그리기
Pass
{
Blend
SrcAlpha
OneMinusSrcAlpha
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
half4
_Color
;
sampler2D
_MainTex
;
float4
_MainTex_ST
;
struct
appdata
{
float4
vertex
:
POSITION
;
float4
texcoord
:
TEXCOORD0
;
};
struct
v2f
{
float4
pos
:
SV_POSITION
;
float4
texcoord
:
TEXCOORD0
;
};
v2f
vert
(
appdata
v
)
{
v2f
o
;
o
.
pos
=
UnityObjectToClipPos
(
v
.
vertex
);
o
.
texcoord
.
xy
=
(
v
.
texcoord
.
xy
*
_MainTex_ST
.
xy
+
_MainTex_ST
.
zw
);
return
o
;
}
half4
frag
(
v2f
i
)
:
COLOR
{
return
tex2D
(
_MainTex
,
i
.
texcoord
)
*
_Color
;
}
ENDCG
}
}
}
\ No newline at end of file
RhythmKata/Assets/Shaders/Outline.shader.meta
0 → 100644
View file @
b47a6a8a
fileFormatVersion: 2
guid: 19cda4da5d48a07448d5dc196898e4bb
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment