Tim Cooper
1b049752
[Material Graph] Rename and reorganise the repository.
8 年前
Tim Cooper
ab7317bb
[Mat Graph]Run code formatter
8 年前
Tim Cooper
2ea489dd
[Material Graph] Tidy view + fix css + add time update nodes in again.
8 年前
Tim Cooper
57c91c90
[material graph]Run code formatter.
8 年前
Peter Bay Bastian
60926063
ColorNodeData now re-uses the underlying list returned by GetControlData()
MaterialNodeData.Initialize(INode) is now virtual, so that e.g. ColorNodeData can override and do initialization of it's own first.
Implemented item reference checking for lists in NodeDrawer and MaterialNodeDrawer
8 年前
Peter Bay Bastian
cdc2bd79
Extracted NodePreviewDrawer from MaterialNodeDrawer
8 年前
Peter Bay Bastian
88700be8
MaterialNodeDrawer no longer uses MarkDirtyHack for time-dependent nodes, instead only re-painting
8 年前
Peter Bay Bastian
a848031a
Added NodeModificationScope for the onNodeModifiedCallback
Currently it is not used anywhere and all the places making the
callbacks are passing ShaderRegeneration. Need to analyse which
properties actually causes ShaderRegeneration as well as actually use
this callback to regenerate shaders rather than checking against node
version.
8 年前
Peter Bay Bastian
92dd5d89
Replaced MarkDirtyHack with scoped OnModified and optimised preview rendering
8 年前
Tim Cooper
f6ff69e4
[Mat Graph]More porting to new CSS
8 年前
Peter Bay Bastian
da353adb
MaterialNodeDrawer might have been not cleaning up old stuff if the dataProvider was null
8 年前
Peter Bay Bastian
c90ddfc2
USS clean-up for nodes
8 年前
Peter Bay Bastian
780c7cc1
Updated styling to look like Hugo's mockup + fixes
- HeaderDrawer now extends from DataWatchContainer rather than
GraphElement (don’t do the latter for things that are inside nodes)
8 年前
Tim Cooper
e1f379f3
Recreate latest changes from RMGUI from joce
8 年前
joce
98e645eb
Make Node and NodePresenter members private
They still accessible through public (and in the case of Node, virtual)
interfaces.
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
574bc97d
First implementation of node collapsing for MG
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
3e485a48
DrawData be gone
Signed-off-by: joce <joce@unity3d.com>
8 年前
Tim Cooper
591ca2fd
Start upgrade to new graph view.
8 年前
Peter Bay Bastian
3457c49b
Updated to work after merge with trunk
7 年前
Peter Bay Bastian
f52ba9a6
Minor changes to MaterialNodeDrawer
7 年前
Tim Cooper
defd6784
[fix]Partial fix to rendering not being updated. Not complete but getting there.
7 年前
Tim Cooper
28cf7cb6
Upgrade to trunk based graph view.
7 年前
Peter Bay Bastian
72c6ad7a
Push NodeDrawer members down into MaterialNodeDrawer
7 年前
Peter Bay Bastian
f589fb80
Preview rendering works again for non-time-dependent nodes
7 年前
Peter Bay Bastian
d470f1f1
Unify {Abstract,Serializable,Material}GraphEditWindow, {Abstract,Serializable,Material}GraphPresenter and {Serializable,Material}GraphView
7 年前
Peter Bay Bastian
696062ae
#35 namespace UnityEditor.Graphing.Drawing -> UnityEditor.MaterialGraph.Drawing
7 年前
Peter Bay Bastian
485654b6
#31 Graph inspector now lives inside graph editor window (also, it works again!)
7 年前
Peter Bay Bastian
45e02be9
Rename *Drawer to *View
7 年前
Peter Bay Bastian
693b0aa5
Remove `elements` from MaterialNodePresenter. Sub-presenters are accessed through independent properties now.
Much simpler to work with and also less garbage generation :)
7 年前
Peter Bay Bastian
b057a909
Clean-up MaterialNodeView a bit
7 年前
Peter Bay Bastian
8bfc6985
Remove needless inheritance from MaterialNodePresenter in GraphControlPresenter
7 年前
Peter Bay Bastian
4b24135e
#29 Window now tells `MaterialGraphPresenter` to update previews, rather than using schedulers per node
7 年前
Peter Bay Bastian
c0b10e8f
Update to work with latest graphics/shadergraph
7 年前
Peter Bay Bastian
ed185a44
Preliminary vertex shader support
7 年前
Peter Bay Bastian
5b7af74e
Fix node repainting
7 年前
Peter Bay Bastian
bec6cdbb
New preview system and master node preview in inspector
7 年前
Peter Bay Bastian
d0f20689
Add initial preview hiding (still being rendered behind the scenes)
7 年前
Peter Bay Bastian
a3385c0f
Undo/redo prototype
7 年前
Peter Bay Bastian
513db118
Fix updating of node positions until we get rid of presenters
7 年前
damian
73ca4594
No-presenters works: Fractal and Vector1 node creation and deletion.
7 年前
Jens Holm
cc2d2e3f
Add resize handle withh draggable functionality to MaterialNodeView
7 年前
Peter Bay Bastian
ff8de4d3
New attribute-based system for node controls
7 年前
damian
e9b2550a
Added support for checking compatible no-presenter anchors.
7 年前
Jens Holm
ddc1113a
Resize handle added only to preview node
7 年前
Peter Bay Bastian
336d2f81
Rename variable in MaterialNodeView
7 年前
damian
591d8820
Fixed MaterialNodeView.OnModified() after no-presenters change.
7 年前
damian
20646d1b
Removed MaterialNodePresenter.
7 年前
damian
7e977d50
Fixed inspector and node position is now saved.
7 年前
Peter Bay Bastian
3790252c
Remove last node presenters and also type mapper in MaterialGraphPresenter
7 年前
Peter Bay Bastian
9f5fba90
Merge branch 'attribute-controls'
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
7 年前
damian
83548475
Merging master.
7 年前
damian
3db84206
Fixed some bugs after master merge.
7 年前
Jens Holm
cd7aa840
Add fixed aspect ratio and initial size to PreviewNode
7 年前
Peter Bay Bastian
43fda89f
Remove `INode.onReplaced` (leftover from previous redo impl)
7 年前
Peter Bay Bastian
95a87cde
Clean up MaterialNodeView after merge with presenter
7 年前
Peter Bay Bastian
a97628f1
Work around UIElements bug causing VisualElement.Sort to throw a NullReferenceException if the element is childless
7 年前
Peter Bay Bastian
8407756d
Workaround sRGB issue in UIElements such that previews are now rendered correctly
7 年前
Peter Bay Bastian
347edc88
Colored edges! (also, unify node and edge view creation)
7 年前
Peter Bay Bastian
3f1df674
PreviewSystem -> PreviewManager
7 年前
Peter Bay Bastian
f95f8c27
BIG namespace refactor: UnityEngine -> UnityEditor, MaterialGraph -> ShaderGraph
No longer need assembly name in serialized data
7 年前
Peter Bay Bastian
4391569c
Use asset name for sub-graph nodes
7 年前
Peter Bay Bastian
4be8c24e
Update preview toggle button to mostly match design
7 年前
Tim Cooper
5a5f791f
Working on improving texture node:
*Default texture inputs
*Works via subgraph :)
7 年前
mathieum-unity
536b1737
Preview styling and toggling update
7 年前
Peter Bay Bastian
d50eb6bb
Outside node controls for texture slots + various fixes
7 年前
Peter Bay Bastian
4f983742
Update type in dynamic slot names when they change
7 年前
Peter Bay Bastian
972596ff
Remove unneeded event handling (handled elsewhere now)
7 年前
Peter Bay Bastian
4d07b648
Edges for outside node controls
7 年前
Tim Cooper
9e5cc1af
rename anchor > port
7 年前
Tim Cooper
67c85cbe
Fix preview dirty'ing
7 年前
Tim Cooper
ec2df61b
Fix preview position in 2D previews
Turn off pixel caching for nodes
7 年前
Tim Cooper
f9ccf9f9
Update slot names on topological change
7 年前
mathieum-unity
045d568e
Merge remote-tracking branch 'origin/master' into graphview-styling-updates
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
7 年前
Peter Bay Bastian
406da125
Add INodeModificationListener which allows control views to be notified of node change
7 年前
mathieum-unity
bd9683ea
Merge branch 'master' of github.com:Unity-Technologies/ShaderGraph into graphview-styling-updates
7 年前
Peter Bay Bastian
af2552b3
Enable pixel cache for nodes again
7 年前
mathieum-unity
dd6f9d47
Merge remote-tracking branch 'origin/master' into graphview-styling-updates
7 年前
Peter Bay Bastian
61fab094
Update to work with trunk
7 年前
Peter Bay Bastian
f615cb37
Work with new GraphView slot coloring
7 年前
Peter Bay Bastian
066bcccb
Remove unneeded GV capability code
7 年前
mathieum-unity
d7f591a9
Merge remote-tracking branch 'origin/master' into graphview-styling-updates
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Styles/MaterialGraph.uss
# MaterialGraphProject/UnityPackageManager/manifest.json
7 年前
mathieum-unity
4e0aa7d7
Fixed default expanded state
7 年前
Peter Bay Bastian
14bcb1d7
Full-resolution preview in blackboard
7 年前
Peter Bay Bastian
7fd5c8ef
Merge branch 'master' of github.com:Unity-Technologies/ShaderGraph
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
7 年前
Peter Bay Bastian
e1281f8c
Fixes for new node style
7 年前
Peter Bay Bastian
fe10dc56
Fix bug causing preview to be now shown after creating a node
7 年前
Tim Cooper
4eb8bc6a
Misc usability fixes for shadergraph:
-cubmap / texture -> convert to / from properties
-Removing properties not creates inline nodes
-Nicer names for newly created properties
-Drag texture to graph now creates 2d sampler node
-Drat normal map to graph sets up 'normal map' state
-Create shader graph now creats a default PBR node
-
7 年前
Tim Cooper
16640c42
Run code format tool
7 年前
Peter Bay Bastian
ab14181b
Make PortInputView use pre-multiplied alpha background color and put its edge behind itself and node (still need to make it render behind other nodes)
7 年前
Peter Bay Bastian
0b1d9efe
Minor style changes to fix spacing between node controls
Also removes some leftover toolbar styles
7 年前
Peter Bay Bastian
72c4bdea
Move contextual actions from node search menu into actual context menu
7 年前
Peter Bay Bastian
09db5bd9
- Remove NodeCreator
- Derive Port so that we can use our own IEdgeConnectorListener
- Handle element removal event from GraphView
7 年前
Peter Bay Bastian
02c12a94
Fix order of things when adding slots ( fixes #111 )
7 年前
Peter Bay Bastian
890a9ece
More correct order of things in MaterialNodeView initialization
7 年前
Tim Cooper
1f9b882d
Fix up linar / gamma state of color nodes when they get inlined.
7 年前
GitHub
eb5b5a85
Shader source mapping for node functions ( #137 )
7 年前
Peter Bay Bastian
d41f2281
Fix hanging edges ( fixes #142 , fixes #152 , fixes #158 )
7 年前
Peter Bay Bastian
49fe52c4
Fix bug causing selection outlines to disappear when zoomed out
7 年前
Jens Holm
546a460b
Make preview node change in width as well as height ( fixes #121 )
7 年前
Peter Bay Bastian
cab9a4b5
Put preview in a separate pixel cache for performance
7 年前
Peter Bay Bastian
16db0624
* Hunt down code causing pixel cache dirtying every frame
* Put inline/port inputs in a shared pixel cache per node (rather than per input)
* Make preview and controls independent of node collapsed state
* Tidy up MaterialNodeView a bit
* Introduce PixelCacheProfiler for somewhat manually hunting down bad pixel caches
7 年前
Peter Bay Bastian
56f2361c
Merge branch 'master' into peter-fixes
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs
7 年前
Martin Thorzen
4334f8e2
Split up MaterialGraph.USS file into multiple USS files for better organization.
7 年前
Martin Thorzen
77b49204
Added a Settings menu for Nodes. Implementation of IHasSettings. Nodes can derive from this interface and implement their own VisualElement as their settings menu.
7 年前
Martin Thorzen
324ad522
Updated the settings visual element for nodes
7 年前
Martin Thorzen
e1d9b584
Added a Settings Menu for Nodes.
7 年前
Tim Cooper
8dc99cbc
*Fefactor subshader / master node generation to be more uniform
*Add subshader generator as a 'real' thing, need to hook up UI now so that these can be added and removed.
7 年前
Martin Thorzen
bf9b4a4c
Updated the Settings UI.
7 年前
Martin Thorzen
7b5ca064
Merge with master
7 年前
Martin Thorzen
5f331eda
[FIX] Disabled the resizing of preview node.
7 年前
Martin Thorzen
50036920
Added functionality to double click on a subgraph node to open it up in a new shader graph window
7 年前
Martin Thorzen
5dd3e527
Updated so it is only left mouse click that can open using the double click
7 年前
Martin Thorzen
f5ae4e88
Merge with master
7 年前
Peter Bay Bastian
5d8933e2
Reflect rename in future Unity versions of class PostLayoutEvent to GeometryChangedEvent (with fallback import for 2018.1)
7 年前
Martin Thorzen
166af912
[FIX] #271 Making sure that the new inports are modifiable after saving the subgraph
7 年前
Peter Bay Bastian
fecfaaea
Fix compile errors on trunk by introducing various compatibility extensions
7 年前
Martin Thorzen
a323085a
Updated with the feedback from PR
7 年前
GitHub
dba26376
Merge pull request #283 from Unity-Technologies/fix-trunk-compatibility
Fix trunk compatibility
7 年前
Martin Thorzen
731a2018
Merge branch 'master' into node-settings
# Conflicts:
# com.unity.shadergraph/Editor/Data/MasterNodes/PBRMasterNode.cs
# com.unity.shadergraph/Editor/Util/UIUtilities.cs
7 年前
Martin Thorzen
ed104fa3
Added titleButtonContainer for buttons.
Removed bring to front on previewfiller
7 年前
Martin Thorzen
3868cb59
Fixed so that the preview is not drawn ontop of the Settings Menu
7 年前
Martin Thorzen
962fc981
Removed the dependency on SRP so this is now self contained within Shadergraph.
Also removed the dependency on API changes that are note yet in trunk. Button Container on nodes.
7 年前
Martin Thorzen
e34a3053
Fixed the PR feedback I got.
7 年前
Peter Bay Bastian
a2b1f9e5
Fix warnings
7 年前
Peter Bay Bastian
6ec339e3
Forwardport pull request #336
7 年前
Martin Thorzen
3c602bad
Added base functionality to give an error on incompatible render pipeline
7 年前
Peter Bay Bastian
83dbd5d0
Add change callback to controls when edge changes
7 年前
Martin Thorzen
34997ed9
Cleaned up the code
7 年前
GitHub
c833d39e
Merge pull request #325 from Unity-Technologies/node-settings
Node settings
7 年前
Peter Bay Bastian
8fcaa92a
Merge branch 'master' into warning-incompatible-pipeline
7 年前
Peter Bay Bastian
3eef43d8
Added name to abstract material graph. This one is the name from the materialgraph on disk. Added a write file and open file in graph utils. Changed the converttoshader functionality to return a string so it could be re-used in implementation for writing a file.
7 年前
Martin Thorzen
7688ce53
Updated with the PR feedback
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前
Peter Bay Bastian
f9b16024
Remove 2018.1 compatibility code from Shader Graph
7 年前
Martin Thorzen
11cbbe0d
Removed the ObjectControl and added ( sub) to the name of the sub graph node
7 年前
Martin Thorzen
848b6b57
fix for case #987330 now the preview is behind the outline.
7 年前
Martin Thorzen
37c00666
Added update title to master preview and blackboard.
cleaned up assetName parameter and dded it as a property instead
Made a seperate shader graph post processor file
7 年前
Peter Bay Bastian
549996da
Allow sub-shaders to tell whether they are compatible with a given render pipeline, and hook it up with the UI support for that such that an error is shown in the event that it's _not_ compatible.
This also adds a check in Update() such that the UI is reloaded when the render pipeline changes.
7 年前
Tim Cooper
9bf79289
Backport pull request #1529
6 年前