Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
1612163
keep only light_0 in the toon2d shader
sindharta Oct 29, 2025
21432df
Revert "keep only light_0 in the toon2d shader"
sindharta Oct 29, 2025
2992979
remove light 1,2,3
sindharta Oct 29, 2025
e1f5084
base color
sindharta Oct 29, 2025
b915782
all colors
sindharta Oct 29, 2025
2f48a9d
reformat code
sindharta Oct 29, 2025
76b477c
cleanup
sindharta Oct 29, 2025
459234c
3 colors
sindharta Oct 29, 2025
7790d46
update material
sindharta Oct 29, 2025
c5c2b8a
update scene
sindharta Oct 30, 2025
a94b323
save scene
sindharta Nov 7, 2025
cd6a024
two passes
sindharta Nov 7, 2025
ef0bdd1
update toon shader
sindharta Nov 7, 2025
e965bd1
add GUI
sindharta Nov 14, 2025
75c4551
refactor GUI
sindharta Nov 14, 2025
236dc7a
clean up code
sindharta Nov 14, 2025
423aaba
separate classes
sindharta Nov 14, 2025
907bcac
add code to enable/disable outline
sindharta Nov 14, 2025
abc0a9d
update materials
sindharta Nov 14, 2025
057c8aa
add scene
sindharta Nov 14, 2025
865c40d
update scene
sindharta Nov 14, 2025
3af1010
add EnumUtility
sindharta Nov 17, 2025
5b02c3c
move and improve EnumEtility
sindharta Nov 17, 2025
8b51538
add static helper functions
sindharta Nov 17, 2025
eaeb0c0
register uiElements
sindharta Nov 17, 2025
04fbcd0
minor
sindharta Nov 17, 2025
2608af6
Draw outline controls
sindharta Nov 17, 2025
3768296
foldout
sindharta Nov 17, 2025
18e6e48
save material
sindharta Nov 17, 2025
8c70875
cleanup
sindharta Nov 17, 2025
1636e14
add background
sindharta Nov 17, 2025
3a7a8d4
DrawNormalMap
sindharta Nov 17, 2025
2cf9d30
BumpScale
sindharta Nov 17, 2025
e485a83
refactor bg rect
sindharta Nov 17, 2025
9ce6655
specular
sindharta Nov 17, 2025
250c780
save scene
sindharta Nov 19, 2025
2e864bb
minor
sindharta Nov 19, 2025
6f084d8
3D as 2D materials
sindharta Nov 19, 2025
db27dce
add ToonEditorGUIUtility
sindharta Nov 19, 2025
fb60985
* make sure all editor funcitons return true if changed, false otherwise
sindharta Nov 19, 2025
582905b
fix errors when apply toggle are checked
sindharta Nov 19, 2025
a9d5b33
minor
sindharta Nov 19, 2025
274834b
rename variables
sindharta Nov 19, 2025
d470d0c
rename
sindharta Nov 19, 2025
0396620
support editing multiple materials
sindharta Nov 19, 2025
7907b31
invert if
sindharta Nov 19, 2025
5809057
use MaterialEditor.FloatProperty
sindharta Nov 19, 2025
39074bc
Colorfield
sindharta Nov 19, 2025
0143428
turn all to static
sindharta Nov 19, 2025
3953357
refresh foldouts for outline
sindharta Nov 19, 2025
5eaedf6
add commented out outline code for vertex
sindharta Nov 19, 2025
6350740
rename vars, etc
sindharta Nov 19, 2025
e4f212b
make outline appear
sindharta Nov 19, 2025
6f6711f
add more functions
sindharta Nov 19, 2025
7136ed4
start outputing fragment color for outline
sindharta Nov 19, 2025
5c3287b
Can sample shapeLight in the outline pass
sindharta Nov 19, 2025
1d49184
optimize
sindharta Nov 19, 2025
98a3425
blend baseColor and lightColor to outline
sindharta Nov 19, 2025
379c8a8
use range for blending outline
sindharta Nov 19, 2025
078bcfb
remove unused functions
sindharta Nov 19, 2025
819d8bf
default normalmap to true
sindharta Nov 19, 2025
cfb7c26
pass TBN matrix
sindharta Nov 19, 2025
9e2f708
update ToonEditorGUIUtility
sindharta Nov 19, 2025
f22d545
Pass Directional Light instead of Specular
sindharta Nov 19, 2025
ce996e3
refresh foldout for directional light
sindharta Nov 19, 2025
7a1b90d
move directional light constants
sindharta Nov 19, 2025
b773dcc
add ToonDirectionalLightController
sindharta Nov 19, 2025
879eaf8
show the results of directional light calculation
sindharta Nov 19, 2025
ec62c2f
fix parameter passing (tangent)
sindharta Nov 19, 2025
c1c542a
use range property
sindharta Nov 19, 2025
9859afd
combine 2d light with directional light
sindharta Nov 19, 2025
224bbb2
save materials
sindharta Nov 19, 2025
fe12a8b
save test scene
sindharta Nov 19, 2025
80c76d0
Use ObjectTransform.hlsl
sindharta Nov 23, 2025
ec1777c
pragma
sindharta Nov 23, 2025
748ac89
cleanup
sindharta Nov 23, 2025
30bba1d
Multiply
sindharta Nov 23, 2025
9555c76
rename constants
sindharta Nov 23, 2025
0c8cfa7
rename to 2DLightStrength
sindharta Nov 23, 2025
2ea3764
Disable DirectionalGroup GUI elements if we are not using it
sindharta Nov 23, 2025
0f8fd99
clean up unused code
sindharta Nov 23, 2025
1cda6d7
rename shading start and feather vars
sindharta Nov 23, 2025
edf4e27
add Shading GUI
sindharta Nov 23, 2025
07a28a4
update materials
sindharta Nov 23, 2025
067014e
updater shading va;lues
sindharta Nov 23, 2025
3bd9e91
update label
sindharta Nov 23, 2025
5e9444d
ThreeColorsLinearShading
sindharta Nov 23, 2025
7b2b312
use BaseColor
sindharta Nov 23, 2025
15cc8db
update main material
sindharta Nov 23, 2025
d58beb5
remove unused code
sindharta Nov 24, 2025
38e439b
invert the light direction
sindharta Nov 24, 2025
6cc41db
Make lighting settings in one place
sindharta Nov 24, 2025
c78fcc8
rename diffuse and specular vars
sindharta Nov 24, 2025
51e84a7
Show highlight properties in the GUI
sindharta Nov 24, 2025
69c340f
add CameraViewController
sindharta Nov 24, 2025
98168a8
Revert "add CameraViewController"
sindharta Nov 24, 2025
ad0779f
pass positionWS to the fragment shader
sindharta Nov 24, 2025
8d65f5a
GUI for viewPos
sindharta Nov 24, 2025
0e48a6f
Reapply "add CameraViewController"
sindharta Nov 24, 2025
e1579e3
cleanup highlight
sindharta Nov 24, 2025
761c6ac
Consider custom directional light inside outline
sindharta Nov 24, 2025
fb5f34a
chnage order
sindharta Nov 24, 2025
0e14760
fix compile error
sindharta Nov 24, 2025
6fc2330
declare widthMap
sindharta Nov 24, 2025
366db78
use SAMPLE_TEXTURE2D_LOD
sindharta Nov 24, 2025
98789c3
use UnpackNormal
sindharta Nov 24, 2025
bad6554
rename outline normalmap
sindharta Nov 24, 2025
458765a
fix tooltip
sindharta Nov 24, 2025
30c7978
cleanup position scaling mode
sindharta Nov 24, 2025
252dba9
cleanup
sindharta Nov 24, 2025
d5cb813
cleanup
sindharta Nov 24, 2025
320d5ca
cleanup
sindharta Nov 24, 2025
da78c46
change keyword name
sindharta Nov 24, 2025
82c0ca7
cleanup clipping
sindharta Nov 24, 2025
56f25ec
save 2d materials
sindharta Nov 24, 2025
971698f
remove clipping
sindharta Nov 24, 2025
a11edbe
rename to highlight size
sindharta Nov 24, 2025
84461f3
save materials
sindharta Nov 24, 2025
6f6893d
adjust the shading settings
sindharta Nov 24, 2025
ecbac55
update label
sindharta Nov 24, 2025
93fa8fe
add prefabs
sindharta Nov 24, 2025
75bc1d0
rename shader
sindharta Nov 26, 2025
e2c6b5b
use all shape lights
sindharta Nov 26, 2025
3fc5a9e
Remove unused code
sindharta Nov 26, 2025
456ec00
rename
sindharta Nov 26, 2025
aaa5ee6
_HDREmulationScale
sindharta Nov 26, 2025
8d2c965
HDREmulationScale for outline
sindharta Nov 26, 2025
bde2b88
add normal textures
sindharta Nov 26, 2025
b4adbee
delete already merged files
sindharta Dec 3, 2025
2b035de
remove script
sindharta Dec 3, 2025
27e4662
add 2d
sindharta Oct 17, 2025
a1ebcfe
setup Toon
sindharta Oct 17, 2025
ffb728d
comment
sindharta Oct 17, 2025
a45a239
1st
sindharta Oct 17, 2025
24688a3
add the default shader
sindharta Oct 17, 2025
c8c0842
works. needs cleanup
sindharta Oct 21, 2025
b5910de
Cleanup
sindharta Oct 22, 2025
b742be7
remove unused RT
sindharta Oct 22, 2025
db37038
rename 2D Renderer
sindharta Oct 22, 2025
1f5b1f4
keep only light_0 in the toon2d shader
sindharta Oct 29, 2025
1636e43
Revert "keep only light_0 in the toon2d shader"
sindharta Oct 29, 2025
ddf5284
remove light 1,2,3
sindharta Oct 29, 2025
b28e1ae
base color
sindharta Oct 29, 2025
ac41ed4
all colors
sindharta Oct 29, 2025
2f60d33
reformat code
sindharta Oct 29, 2025
9e0d1a0
cleanup
sindharta Oct 29, 2025
216fa5b
3 colors
sindharta Oct 29, 2025
a15bb9c
two passes
sindharta Nov 7, 2025
b16c9fd
update toon shader
sindharta Nov 7, 2025
05f2c45
add GUI
sindharta Nov 14, 2025
70b869c
refactor GUI
sindharta Nov 14, 2025
9c2db84
clean up code
sindharta Nov 14, 2025
b7add68
separate classes
sindharta Nov 14, 2025
906750f
add code to enable/disable outline
sindharta Nov 14, 2025
4d0bb35
add EnumUtility
sindharta Nov 17, 2025
9f7eed4
move and improve EnumEtility
sindharta Nov 17, 2025
2cb784e
add static helper functions
sindharta Nov 17, 2025
f5490ee
register uiElements
sindharta Nov 17, 2025
422fe50
minor
sindharta Nov 17, 2025
c7a5250
Draw outline controls
sindharta Nov 17, 2025
6f1d6a8
foldout
sindharta Nov 17, 2025
e5d46ad
cleanup
sindharta Nov 17, 2025
528ee54
add background
sindharta Nov 17, 2025
520d9dc
DrawNormalMap
sindharta Nov 17, 2025
74cdca3
BumpScale
sindharta Nov 17, 2025
32ca29d
refactor bg rect
sindharta Nov 17, 2025
c70ca59
specular
sindharta Nov 17, 2025
21de5dc
minor
sindharta Nov 19, 2025
f56dd85
add ToonEditorGUIUtility
sindharta Nov 19, 2025
16d4f1f
* make sure all editor funcitons return true if changed, false otherwise
sindharta Nov 19, 2025
06c4072
fix errors when apply toggle are checked
sindharta Nov 19, 2025
c638397
minor
sindharta Nov 19, 2025
f053e4a
rename variables
sindharta Nov 19, 2025
9eff9a7
rename
sindharta Nov 19, 2025
b054f55
support editing multiple materials
sindharta Nov 19, 2025
0f1a1b1
invert if
sindharta Nov 19, 2025
61c5283
use MaterialEditor.FloatProperty
sindharta Nov 19, 2025
adf72bb
Colorfield
sindharta Nov 19, 2025
837fc27
turn all to static
sindharta Nov 19, 2025
eb0a220
refresh foldouts for outline
sindharta Nov 19, 2025
e3033be
add commented out outline code for vertex
sindharta Nov 19, 2025
699a797
rename vars, etc
sindharta Nov 19, 2025
08a9668
make outline appear
sindharta Nov 19, 2025
6064db8
add more functions
sindharta Nov 19, 2025
7989d9c
start outputing fragment color for outline
sindharta Nov 19, 2025
c4a8367
Can sample shapeLight in the outline pass
sindharta Nov 19, 2025
b515e2c
optimize
sindharta Nov 19, 2025
7d196c1
blend baseColor and lightColor to outline
sindharta Nov 19, 2025
febca91
use range for blending outline
sindharta Nov 19, 2025
74384cb
remove unused functions
sindharta Nov 19, 2025
b45cecb
default normalmap to true
sindharta Nov 19, 2025
38e7b58
pass TBN matrix
sindharta Nov 19, 2025
a89002a
update ToonEditorGUIUtility
sindharta Nov 19, 2025
b6bcf65
Pass Directional Light instead of Specular
sindharta Nov 19, 2025
a526d82
refresh foldout for directional light
sindharta Nov 19, 2025
7e99743
move directional light constants
sindharta Nov 19, 2025
2034b8e
add ToonDirectionalLightController
sindharta Nov 19, 2025
a63ffc3
show the results of directional light calculation
sindharta Nov 19, 2025
913d64d
fix parameter passing (tangent)
sindharta Nov 19, 2025
379e19a
use range property
sindharta Nov 19, 2025
b0caa40
combine 2d light with directional light
sindharta Nov 19, 2025
0a820d5
Use ObjectTransform.hlsl
sindharta Nov 23, 2025
1d25ea6
pragma
sindharta Nov 23, 2025
f92c663
cleanup
sindharta Nov 23, 2025
54daad3
Multiply
sindharta Nov 23, 2025
56ab58a
rename constants
sindharta Nov 23, 2025
e251eba
rename to 2DLightStrength
sindharta Nov 23, 2025
9157e0c
Disable DirectionalGroup GUI elements if we are not using it
sindharta Nov 23, 2025
f12c8cb
clean up unused code
sindharta Nov 23, 2025
405d3cc
rename shading start and feather vars
sindharta Nov 23, 2025
59e1691
add Shading GUI
sindharta Nov 23, 2025
9246057
update label
sindharta Nov 23, 2025
a42cabd
ThreeColorsLinearShading
sindharta Nov 23, 2025
8deae25
use BaseColor
sindharta Nov 23, 2025
0a9065b
remove unused code
sindharta Nov 24, 2025
b93a1e3
invert the light direction
sindharta Nov 24, 2025
b5c4a53
Make lighting settings in one place
sindharta Nov 24, 2025
4dc0a96
rename diffuse and specular vars
sindharta Nov 24, 2025
afc2e36
Show highlight properties in the GUI
sindharta Nov 24, 2025
7a91855
add CameraViewController
sindharta Nov 24, 2025
113155e
Revert "add CameraViewController"
sindharta Nov 24, 2025
ff82c9e
pass positionWS to the fragment shader
sindharta Nov 24, 2025
12291f6
GUI for viewPos
sindharta Nov 24, 2025
3475c09
Reapply "add CameraViewController"
sindharta Nov 24, 2025
8894117
cleanup highlight
sindharta Nov 24, 2025
f5dfaf0
Consider custom directional light inside outline
sindharta Nov 24, 2025
e9ad96d
chnage order
sindharta Nov 24, 2025
15af47e
fix compile error
sindharta Nov 24, 2025
5e01f77
declare widthMap
sindharta Nov 24, 2025
b9ce435
use SAMPLE_TEXTURE2D_LOD
sindharta Nov 24, 2025
283aaab
use UnpackNormal
sindharta Nov 24, 2025
9eb96b1
rename outline normalmap
sindharta Nov 24, 2025
0ab78ef
fix tooltip
sindharta Nov 24, 2025
c48973c
cleanup position scaling mode
sindharta Nov 24, 2025
2cc0e0d
cleanup
sindharta Nov 24, 2025
f476bbe
cleanup
sindharta Nov 24, 2025
e5c45f9
cleanup
sindharta Nov 24, 2025
54a82e0
change keyword name
sindharta Nov 24, 2025
ae29114
cleanup clipping
sindharta Nov 24, 2025
374da8a
remove clipping
sindharta Nov 24, 2025
a9ccd9d
rename to highlight size
sindharta Nov 24, 2025
21b22fa
update label
sindharta Nov 24, 2025
3b0b277
rename shader
sindharta Nov 26, 2025
2bdb7d8
use all shape lights
sindharta Nov 26, 2025
8242591
Remove unused code
sindharta Nov 26, 2025
a8608f5
rename
sindharta Nov 26, 2025
aab6910
_HDREmulationScale
sindharta Nov 26, 2025
fd82883
HDREmulationScale for outline
sindharta Nov 26, 2025
bb1965b
delete already merged files
sindharta Dec 3, 2025
0f43b9c
remove script
sindharta Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 168 additions & 0 deletions Toonshader_ProjectURP/Assets/Materials/SphereAs2D.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SphereAs2D
m_Shader: {fileID: 4800000, guid: 60d646244f75ab84f8eb12819a6d87ff, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _1st_ShadeMap:
m_Texture: {fileID: 2800000, guid: cec083feb1104e9bb3e282339acfe384, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _2nd_ShadeMap:
m_Texture: {fileID: 2800000, guid: cec083feb1104e9bb3e282339acfe384, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _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: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MaskTex:
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}
- _NormalMap:
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}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints:
- _Use_1stAs2nd: 0
- _Use_BaseAs1st: 0
m_Floats:
- _1st2nd_Shades_Feather: 0.0001
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _BaseColor_Step: 0.161
- _BaseShade_Feather: 0.0001
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Is_Filter_LightColor: 1
- _Is_LightColor_1st_Shade: 1
- _Is_LightColor_Base: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _OutlineExtrusion: 0.02
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _ShadeColor_Step: 0.256
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _Unlit_Intensity: 0
- _Use_1stAs2nd: 0
- _Use_BaseAs1st: 0
- _WorkflowMode: 1
- _XRMotionVectorsPass: 1
- _ZWrite: 1
m_Colors:
- _1st_ShadeColor: {r: 0.8490566, g: 0.120149404, b: 0.120149404, a: 1}
- _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _White: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &5791580664690647399
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
version: 10
8 changes: 8 additions & 0 deletions Toonshader_ProjectURP/Assets/Materials/SphereAs2D.mat.meta

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

190 changes: 190 additions & 0 deletions Toonshader_ProjectURP/Assets/Materials/Toon2D.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Toon2D
m_Shader: {fileID: 4800000, guid: 60d646244f75ab84f8eb12819a6d87ff, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _OUTLINE_NML
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
- SRPDEFAULTUNLIT
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _1st_ShadeMap:
m_Texture: {fileID: 2800000, guid: cec083feb1104e9bb3e282339acfe384, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _2nd_ShadeMap:
m_Texture: {fileID: 2800000, guid: cec083feb1104e9bb3e282339acfe384, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _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: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MaskTex:
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}
- _NormalMap:
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}
- _OutlineTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OutlineWidthMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Outline_CustomNormalMap:
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}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints:
- _OutlineMode: 0
- _Outline_BlendBaseColor: 0
- _Outline_UseCustomNormalMap: 0
- _Use_1stAs2nd: 0
- _Use_BaseAs1st: 0
m_Floats:
- _1st2nd_Shades_Feather: 0.0001
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _BaseColor_Step: 0.161
- _BaseShade_Feather: 0.0001
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Is_Filter_LightColor: 1
- _Is_LightColor_1st_Shade: 1
- _Is_LightColor_Base: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _OutlineExtrusion: 0.02
- _OutlineFar: 100
- _OutlineNear: 0.5
- _OutlineOffsetZ: 0
- _OutlineWidth: 0
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _ShadeColor_Step: 0.256
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _Unlit_Intensity: 0
- _Use_1stAs2nd: 0
- _Use_BaseAs1st: 0
- _WorkflowMode: 1
- _XRMotionVectorsPass: 1
- _ZWrite: 1
m_Colors:
- _1st_ShadeColor: {r: 0.8490566, g: 0.120149404, b: 0.120149404, a: 1}
- _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _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}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _White: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &5791580664690647399
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
version: 10
8 changes: 8 additions & 0 deletions Toonshader_ProjectURP/Assets/Materials/Toon2D.mat.meta

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

8 changes: 8 additions & 0 deletions Toonshader_ProjectURP/Assets/Materials/UnityChan_3Das2D.meta

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

Loading