Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
Unity-Shader-Practice-Lab
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
I_Jemin
2018-01-28 03:42:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e53b76823d0e685983bea7ff5d3a2cf087059a76
e53b7682
1 parent
5f71e6dd
Change Cloaking RenderType as Opaque for better performance
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
Assets/Materials/Cloaking.mat
Assets/Shaders/Cloacking.shader
Assets/Materials/Cloaking.mat
View file @
e53b768
...
...
@@ -37,7 +37,7 @@ Material:
m_Floats
:
-
_DeformIntense
:
0.98
-
_Intensity
:
0
-
_Opacity
:
0.
152
-
_RimPow
:
1.
5
-
_Opacity
:
0.
308
-
_RimPow
:
1.
7
m_Colors
:
-
_RimColor
:
{
r
:
0
,
g
:
0.33468562
,
b
:
0.88235295
,
a
:
1
}
...
...
Assets/Shaders/Cloacking.shader
View file @
e53b768
...
...
@@ -10,7 +10,7 @@
}
SubShader
{
Tags
{
"Queue"
=
"Transparent"
"RenderType"
=
"
Transparent
"
}
Tags
{
"Queue"
=
"Transparent"
"RenderType"
=
"
Opaque
"
}
zwrite
off
GrabPass
{}
...
...
@@ -74,5 +74,5 @@
ENDCG
}
FallBack
"
Regacy Shaders/Transparent/Vertexlit
"
FallBack
"
Diffuse
"
}
...
...
Please
register
or
login
to post a comment