Update SceneDebugViewerWindow and GlobalShaderProperty.

Compact and normal mode.
More types in global shader property.
Updated global shader property drawer.
SortingOrder for setups.
This commit is contained in:
max
2021-04-20 03:54:55 +02:00
parent 0ce4962c05
commit 42100c5332
14 changed files with 717 additions and 152 deletions

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: Base
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
m_Tooltip: Base Lit
icon: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
tooltip:
sortingOrder: -99
compact:
m_Text:
m_Image: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
m_Tooltip:
normal:
m_Text: ' Base'
m_Image: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: fa8b3bbeb520d1c47b2ee619fe14e343, type: 3}
replacementTag:
parameters:
@ -23,34 +31,139 @@ MonoBehaviour:
m_parameterType: 0
m_texture: {fileID: 2800000, guid: f8b8cfeccdb9c194bac037761af51a41, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 0.504, g: 0.504, b: 0.504, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
- m_name: _RS_Sharpness
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Color
m_parameterType: 3
m_texture: {fileID: 0}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Sharpness
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
- m_name: _RS_Color
m_parameterType: 2
m_texture: {fileID: 0}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_color: {r: 1, g: 1, b: 1, a: 1}
m_float: 0
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Metallic
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 0}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 0.504, g: 0.504, b: 0.504, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Glossiness
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 0}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 0.504, g: 0.504, b: 0.504, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []

View File

@ -0,0 +1,29 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: 1aa272ccd1306c545b68254a527f8025, type: 3}
m_Name: Default
m_EditorClassIdentifier:
content:
icon: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
tooltip:
sortingOrder: -999
compact:
m_Text:
m_Image: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
m_Tooltip:
normal:
m_Text: ' Default'
m_Image: {fileID: 2800000, guid: 1553c43734bfa6345a845ed8637f8fc7, type: 3}
m_Tooltip:
shader: {fileID: 0}
replacementTag:
parameters: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d76aa8d74b22cea4e9c6355e116cd618
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: GridLit
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: 1b5be4630aad66c4dbeb577efa26113f, type: 3}
m_Tooltip: Grid Lit
icon: {fileID: 2800000, guid: 1b5be4630aad66c4dbeb577efa26113f, type: 3}
tooltip:
sortingOrder: 10
compact:
m_Text:
m_Image: {fileID: 2800000, guid: 1b5be4630aad66c4dbeb577efa26113f, type: 3}
m_Tooltip:
normal:
m_Text: ' GridLit'
m_Image: {fileID: 2800000, guid: 1b5be4630aad66c4dbeb577efa26113f, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: 442bea547b43fe643959790eb5b87ede, type: 3}
replacementTag:
parameters:
@ -23,20 +31,83 @@ MonoBehaviour:
m_parameterType: 0
m_texture: {fileID: 2800000, guid: cb526cf389f85f541aa681de312dd588, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
- m_name: _RS_Sharpness
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Color
m_parameterType: 3
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
- m_name: _RS_Color
m_parameterType: 2
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Sharpness
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_color: {r: 1, g: 1, b: 1, a: 1}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: GridUnlit
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: 258ec05c639dc22449b3ca11da10d2ae, type: 3}
m_Tooltip: Grid Unlit
icon: {fileID: 2800000, guid: 258ec05c639dc22449b3ca11da10d2ae, type: 3}
tooltip:
sortingOrder: 11
compact:
m_Text:
m_Image: {fileID: 2800000, guid: 258ec05c639dc22449b3ca11da10d2ae, type: 3}
m_Tooltip:
normal:
m_Text: ' GridUnlit'
m_Image: {fileID: 2800000, guid: 258ec05c639dc22449b3ca11da10d2ae, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: 938a5e8d620c4b943bb6b2b15202678c, type: 3}
replacementTag:
parameters:
@ -23,34 +31,139 @@ MonoBehaviour:
m_parameterType: 0
m_texture: {fileID: 2800000, guid: cb526cf389f85f541aa681de312dd588, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
- m_name: _RS_Sharpness
m_parameterType: 3
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_float: 10
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Color
m_parameterType: 2
m_parameterType: 3
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Sharpness
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Metallic
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Glossiness
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: ObjectSpaceNormals
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: b2efa4ed23d9cd14da026e9eaf25db42, type: 3}
m_Tooltip: Object Space Normals
icon: {fileID: 2800000, guid: b2efa4ed23d9cd14da026e9eaf25db42, type: 3}
tooltip:
sortingOrder: 20
compact:
m_Text:
m_Image: {fileID: 2800000, guid: b2efa4ed23d9cd14da026e9eaf25db42, type: 3}
m_Tooltip:
normal:
m_Text: ' ObjectSpaceNormals'
m_Image: {fileID: 2800000, guid: b2efa4ed23d9cd14da026e9eaf25db42, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: 7f376fdcb4cabb94fa00a24677019988, type: 3}
replacementTag:
parameters: []

View File

@ -13,16 +13,45 @@ MonoBehaviour:
m_Name: Overdraw
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: 0723191ce0fb9d44ebece6c36fe4776f, type: 3}
m_Tooltip: Overdraw
icon: {fileID: 2800000, guid: 0723191ce0fb9d44ebece6c36fe4776f, type: 3}
tooltip:
sortingOrder: 0
compact:
m_Text:
m_Image: {fileID: 2800000, guid: 0723191ce0fb9d44ebece6c36fe4776f, type: 3}
m_Tooltip:
normal:
m_Text: ' Overdraw'
m_Image: {fileID: 2800000, guid: 0723191ce0fb9d44ebece6c36fe4776f, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: 9f96928510529524c9190ccf618ceaf8, type: 3}
replacementTag:
parameters:
- m_name: _RS_Color
m_parameterType: 2
m_parameterType: 3
m_texture: {fileID: 0}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.101960786}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: UVChecker
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: d41389bd7fb002d48a1bb9b0fd1b4cf1, type: 3}
m_Tooltip: UV Checker
icon: {fileID: 2800000, guid: d41389bd7fb002d48a1bb9b0fd1b4cf1, type: 3}
tooltip:
sortingOrder: 35
compact:
m_Text:
m_Image: {fileID: 2800000, guid: d41389bd7fb002d48a1bb9b0fd1b4cf1, type: 3}
m_Tooltip:
normal:
m_Text: ' UVChecker'
m_Image: {fileID: 2800000, guid: d41389bd7fb002d48a1bb9b0fd1b4cf1, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: b7f90ee778e287d4f9bde3252fe9bdd9, type: 3}
replacementTag:
parameters:
@ -23,34 +31,139 @@ MonoBehaviour:
m_parameterType: 0
m_texture: {fileID: 2800000, guid: f2e2a666b464cc84982b530d4dcd36d7, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
- m_name: _RS_Sharpness
m_parameterType: 3
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_float: 10
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Color
m_parameterType: 2
m_parameterType: 3
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Sharpness
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 0, b: 0, a: 0.14901961}
m_colorArray: []
m_float: 10
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Metallic
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []
- m_name: _RS_Glossiness
m_parameterType: 3
m_parameterType: 5
m_texture: {fileID: 2800000, guid: 60a6c65bf59247d41bcc18553d97d2c5, type: 3}
m_vector: {x: 0, y: 0, z: 0, w: 0}
m_vectorArray: []
m_color: {r: 1, g: 1, b: 1, a: 1}
m_colorArray: []
m_float: 0
m_floatArray: []
m_int: 0
m_matrix:
e00: 0
e01: 0
e02: 0
e03: 0
e10: 0
e11: 0
e12: 0
e13: 0
e20: 0
e21: 0
e22: 0
e23: 0
e30: 0
e31: 0
e32: 0
e33: 0
m_matrixArray: []

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: VertexColors
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: c7374f0b36a3eb4409b17770bf46b076, type: 3}
m_Tooltip: Vertex Colors
icon: {fileID: 2800000, guid: c7374f0b36a3eb4409b17770bf46b076, type: 3}
tooltip:
sortingOrder: 0
compact:
m_Text:
m_Image: {fileID: 2800000, guid: c7374f0b36a3eb4409b17770bf46b076, type: 3}
m_Tooltip:
normal:
m_Text: ' VertexColors'
m_Image: {fileID: 2800000, guid: c7374f0b36a3eb4409b17770bf46b076, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: 0a3c678aaad08094ebfd936fda70bb21, type: 3}
replacementTag:
parameters: []

View File

@ -13,9 +13,17 @@ MonoBehaviour:
m_Name: WorldSpaceNormals
m_EditorClassIdentifier:
content:
m_Text:
m_Image: {fileID: 2800000, guid: d9b83aa61ceb006419b0c2460bbbe3cc, type: 3}
m_Tooltip: World Space Normals
icon: {fileID: 2800000, guid: d9b83aa61ceb006419b0c2460bbbe3cc, type: 3}
tooltip:
sortingOrder: 21
compact:
m_Text:
m_Image: {fileID: 2800000, guid: d9b83aa61ceb006419b0c2460bbbe3cc, type: 3}
m_Tooltip:
normal:
m_Text: ' WorldSpaceNormals'
m_Image: {fileID: 2800000, guid: d9b83aa61ceb006419b0c2460bbbe3cc, type: 3}
m_Tooltip:
shader: {fileID: 4800000, guid: f2163d0d9cb9f8a4fbb6c07dcf8ac7d3, type: 3}
replacementTag:
parameters: []