Matt Dean
2fdc11d3
RGBtoLuminance: fix for the fix
8 年前
Matt Dean
cf30e087
Merge branch 'hackweek2017' of https://github.com/stramit/MaterialGraph into hackweek2017
8 年前
bfogerty
5b4645b7
Procedural, Math, and UV Nodes
8 年前
Andre McGrail
c127b19f
-Moved cube map node
-Tweaked colour guide texture
-Fixed time node
8 年前
Matt Dean
942d8736
Fixed dot error on RGBtoLuminance
8 年前
Matt Dean
2c5dc651
Cleanup
Cleaned up new nodes
Changed Function3Input kShaderNames to be protected
8 年前
Florent Guinier
7ae13517
SwizzleNode now working
8 年前
Tim Cooper
3094ee75
Merge branch 'new-importer-workflow' into hackweek2017
8 年前
Florent Guinier
cbbf048e
Fix SwizzleNode step1
8 年前
Andre McGrail
2dbd4aa3
Added nodes
-Ceil
-Exponential
-Floor
-Frac
-HSVtoRGB
-Hue
-InverseLerp
-OneMinus
-Remap
-RGBtoHCV
-RGBtoHSV
-Round
-Sign
-SquareRoot
-Step
-Trunc
-FMod
-Log
WIP Nodes
-ComponentSplitNode
-Cubemap
-Function1in3out
8 年前
Tim Cooper
8f917469
Fix saving the shader so that it can be used on objects in the scene.
8 年前
Florent Guinier
8f28c9f1
move levelNode to "range" menu
8 年前
Tim Cooper
8bbb99b1
fix up serialisation on load.
8 年前
Florent Guinier
6f40e6a8
Level node (this time working :))
8 年前
Tim Cooper
1896e42f
[Improvements]Change workflow to work with new montreal importer work (scriptable importer)
8 年前
Florent Guinier
ce59a9db
Step1 for LevelNode
8 年前
Tim Cooper
c0b51820
fixing after merge
8 年前
Peter Bay Bastian
9e18b962
Temporarily disable pixel caching due to issues with IMGUI controls
8 年前
Tim Cooper
591ca2fd
Start upgrade to new graph view.
8 年前
joce
9a543d90
update to latest GraphView
8 年前
joce
b965052b
update to latest canvas2d branch
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
bdd758ff
Add GraphView as submodule
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
0b37ab28
Remove GraphView copy
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
f4fad3a8
Update to latest GraphView
** Requires update to Unity branch **
- New way to reference StyleSheets (no longer using attributes). This in the
goal of moving GraphView to a GitHub submodule.
- Styles sheets moved under Resources folder
- BaseTypeMapper renamed BaseTypeFactory
- Little change to edge drawing code.
- Changes to selection mechanism.
- NodeAnchors are no longer always removed/added on a DataChange (more changes
to come to this soon).
- Dragger and NodeDragger change only the VisualElement on MouseMove. The
presenter is now changes and notified of the change only upon MouseUp.
- Various minute changes to demo presenters.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
ab990b62
TypeMapper and ScriptableObjectFactory
Only used in AbstractGraphInspector for now
8 年前
joce
4702ac61
Updated graphs
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
2a1b5b99
TypeMapper => GraphTypeMapper
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
c5baafe7
Integrate latest GraphView
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
7ab5cea2
Update shader graphs (placement was broken)
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
cfc167d9
TypeMapper now derives from BaseDataMapper
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
134a3007
Update to latest GraphView
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
3e485a48
DrawData be gone
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
af7694ae
GraphView update
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
66dac0cd
Fix GraphView editorconfig file.
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
64bf0c23
Fix MaterialGraph to match updated Unity changes
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
36c08357
Commandable manipulator for #11
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 年前
Peter Bay Bastian
4ff1c093
NodeDrawer now derives from Node.
And all the superfluous files have been removed.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
d683bd58
Handle nodes without any output
The right container simply isn't shown in this case.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
4a3e71ed
Modify Node to be compatible with MG's layout
- NodalView.uss is now gone as the Node's layouting is now in GraphView.uss
- Node now has a bunch of containers to match Hugo's design
This is not be final as, for example, the collapse button is an ugly button
and we're not yet dealing with empty input/output list as required.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Tim Cooper
0a990a6d
allow specifying the UV channel on the UV node.
8 年前
Tim Cooper
8133e0c7
Focus graph when changing selection.
8 年前
Tim Cooper
17429180
Add support for setting default input values on material sub graphs (when editing the graph) so there is something to compare with.
8 年前
joce
2539e9c2
Undo optimization that broke edges
Edges where no longer following the anchors when the node was being moved.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
1770fee9
Duplication support for graph nodes
8 年前
Peter Bay Bastian
ce272542
Implemented copy/paste functionality for graph (currently uses shift rather than ctrl, as the latter does not fire the event)
8 年前
Peter Bay Bastian
d99fa8d2
Moved global selection handling into its own manipulator, rather than piggy-backing the ClickSelector, as an edge case was not being handled.
(when the selection didn't change the global selection wouldn't be changed - e.g. "select node in graph, select something from the scene, click selected node" wouldn't select the graph in the project window)
8 年前
Peter Bay Bastian
ff7ce7e4
Optimized `Edge.GetFromToPoints` with caching of left and right anchor `GraphElement`'s.
It is called in every frame and calls `parent.allElements` twice to find the GraphElement for its anchors. The implementation of `allElements` is very slow right now (as is noted in `VisualContainer.cs` comments), but either way we should avoid a traversal of all `VisualElement`'s for every edge every frame.
8 年前
Peter Bay Bastian
4d814c36
Fixed a bug causing null reference errors if no graph asset was selected
8 年前