Tim Cooper
2ea489dd
[Material Graph] Tidy view + fix css + add time update nodes in again.
8 年前
Peter Bay Bastian
54caa127
Fixed a bug causing nodes without previews to have zero width
8 年前
Tim Cooper
f6ff69e4
[Mat Graph]More porting to new CSS
8 年前
Tim Cooper
f4c0b482
[mat graph]More CSS
8 年前
Peter Bay Bastian
14f32a76
Fix visual selection issue (no border + title disappearing) and extract header into its own drawer
8 年前
Peter Bay Bastian
f1abf833
Implemented node collapsing
8 年前
Peter Bay Bastian
190ab48a
Improved node collapsing performance a lot
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 年前
Peter Bay Bastian
af604cb5
Set background to constant color
Might make more sense to not use GridBackground (though it’s a great
example of custom style properties!)
8 年前
Peter Bay Bastian
3457c49b
Updated to work after merge with trunk
8 年前
Peter Bay Bastian
8fd68583
Preview is now actually hidden when inactive or hidden
7 年前
Peter Bay Bastian
f2510f42
#35 Move a bunch of files from SerializableGraph folder to MaterialGraph folder (and delete a few unused ones)
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
a92b64bb
#31 UIElements-based graph inspector
7 年前
Peter Bay Bastian
064bacae
Add back surface master node editor in inspector
7 年前
Peter Bay Bastian
ed185a44
Preliminary vertex shader support
7 年前
Peter Bay Bastian
25ed3aaf
Graph inspector now only shows editor for at most 1 node
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
6c9cb29a
Refactor toolbar (no more presenters, acts a little more like buttons)
7 年前
Peter Bay Bastian
3b205c79
UIElements-based shader properties in inspector
7 年前
Jens Holm
cc2d2e3f
Add resize handle withh draggable functionality to MaterialNodeView
7 年前
Peter Bay Bastian
99701f90
UIElements-based controls for color and vector controls
7 年前
Peter Bay Bastian
9dbfb5c3
Move slot compatibility check code into MaterialSlot
Validate commands directly in window class, rather than through MaterialGraphPresenter
Move a few things from MaterialGraphPresenter to GraphEditorView
Create manipulator for node creation (NodeCreator), rather than manually doing it in MaterialGraph
Move things from MaterialGraph constructor into GraphEditorView
Completely remove GridBackground, as we were not using it
Remove Clicker manipulator, as it was not used
7 年前
Peter Bay Bastian
347edc88
Colored edges! (also, unify node and edge view creation)
7 年前
Peter Bay Bastian
dc8375d3
Gradient edges
7 年前
Peter Bay Bastian
4be8c24e
Update preview toggle button to mostly match design
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
ac179c90
Outside node controls for vector types
7 年前
Peter Bay Bastian
7b9315c4
Outside node control for UV slots
7 年前
Peter Bay Bastian
4d07b648
Edges for outside node controls
7 年前
Peter Bay Bastian
cc654bc4
Fix picking mode on outside-node-input container, so that invisible stuff doesn't block click events
Match slot colors for outside-node-inputs
7 年前
Peter Bay Bastian
a00f148d
Remove usage of EditorGUILayout.MiniThumbnailObjectField, so that we don't have to make it public
7 年前
Peter Bay Bastian
69616da6
Color slots (a vec4 slot with a different input control)
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
92d36ad3
Fix for collapse preview button
7 年前
mathieum-unity
1fda7c7b
preview Collapse button only visible when hovering
7 年前
Peter Bay Bastian
e1281f8c
Fixes for new node style
7 年前
Peter Bay Bastian
cd4618e1
Add field dragger to vector inputs
7 年前
Peter Bay Bastian
02e4d882
Move "update asset" button to blackboard
7 年前
Peter Bay Bastian
508ec3ef
Workarounds for float formatting (e.g. 0.6 becoming a mess of decimal points) and label draggers (dragging not working on anything but first label on slot control)
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
c467fab5
Make color space conversion node controls a bit neater
7 年前
Peter Bay Bastian
2a77bb5f
Transparent background for controls
7 年前
Peter Bay Bastian
211cf575
Refactor ColorspaceConversionControl to work on enums in general and implement it for TransformNode
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
eed09312
When creating nodes by dropping edge, reposition the node after creating it such that the edge stays at the same position
7 年前
Matt Dean
00d8b6e8
Rename ColorMaterialSlot > ColorRGBAMaterialSlot and add ColorRGB slot
7 年前
Jens Holm
22adea01
Make graph inspector window not pinned to the right side of the editor window
7 年前
Jens Holm
82f3473f
Add resize handle to inspector window
7 年前
Jens Holm
0b6e4066
Add resize icon to inspector preview and replace preview node resize handle with temporary icon
7 年前
Jens Holm
fc09a1d5
Change font-size in inspector window back to 11
7 年前
Jens Holm
4978e50e
Put resize handles as invisible bars on edges of inspector window
7 年前
Jens Holm
9e48247a
Enlarge preview handle-bar size on inspector window
7 年前
Jens Holm
f0203715
Ensure inspector winow to stay in editor window rect after window resize
7 年前
Jens Holm
e72aef5a
Add resize handle class and reuse some resize handle uss styling in inspector window
7 年前
Peter Bay Bastian
2a66a4bf
Remove selection stuff from inspector and move properties to the top
7 年前
Jens Holm
e1ebec49
Merge master
7 年前
Peter Bay Bastian
758cf9e6
Inspector window changes ( #138 )
* Add resize handle class and reuse some resize handle uss styling in inspector window
* Reigister postlayout callback on graphview rather than inspector view
* Remove resize function from GraphInspectorView
* Add resize handles to corner of inspector window
7 年前
Jens Holm
55869a0b
Make class for adding resize handles along the border of a visual element
7 年前
Jens Holm
9b1d3da9
Make maste node preview a separate window
7 年前
Matt Dean
641ea895
Fix IntegerControlView styling
7 年前
Matt Dean
28df6957
Upgrade Slider UI to UIElements
7 年前
Matt Dean
fb18c249
Refactor Channel Mixer UI
7 年前
Matt Dean
7c4730ca
PR Fixes
- Add boolean slot control view
- Add nodes And/Nand/Or
- Fix Branch node defaults
- Add USS for boolean slot
7 年前
Matt Dean
7e22f269
Update ToggleControl to UIElements
Cosmetic fixes to
- InvertColors node
- ChannelMixer node
- Blend node
7 年前
Martin Thorzen
ee72228e
[FIX] Matching the color request from the UI team
7 年前
Matt Dean
f76d536a
Add CubemapControlView to USS
7 年前
Matt Dean
7f9b3b2c
Remove eyedropper from Color fields
7 年前
Matt Dean
458bb9ee
Update RGBA slot width
7 年前
Matt Dean
352a061a
Merge branch 'master' into compare-and-branch
7 年前
Jens Holm
55b86ced
Merge branch 'master' into inspector-window
7 年前
Jens Holm
4e8c00e0
Make reisze handels and window draggable manipulator respect minimum dimensions of target
7 年前
GitHub
16ddad23
Merge pull request #173 from Unity-Technologies/CreateNodeOnSpace
Fixes #159 , fixes #88 , fixes #157 , fixes #162
7 年前
Jens Holm
fa558b34
Add changes according to PR feedback
7 年前
Matt Dean
725a1ea9
Merge branch 'master' into sliders
7 年前
GitHub
b72d0466
Merge pull request #150 from Unity-Technologies/compare-and-branch
Comparison, Branch and Boolean
7 年前
Matt Dean
739c124a
Merge branch 'master' into sliders
7 年前
GitHub
dfcf6af9
Merge pull request #175 from Unity-Technologies/inspector-window
7 年前
GitHub
1c0c24b4
Merge pull request #151 from Unity-Technologies/sliders
Sliders, Integers and HDR Color
7 年前
Matt Dean
93aa1de8
Refactor Dielectric Specular node for UI changes
7 年前
Matt Dean
0292ae36
Color control refactor
- Add mode enum to ControlView
- Remove HDR Color node
- Switch Color node value to struct
- Update USS
7 年前
Martin Thorzen
6e895b76
Tidied up the Master Preview View
Uni-36221
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 年前
Martin Thorzen
2da1b93e
Updated with PR feedback
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 年前
Keijiro Takahashi
de7e2997
Addition of ScreenPositionSlotControlView
- Added ScreenPositionSlotControlView and its style element (USS).
- Moved ScreenSpaceType enum definition to ScreenSpaceType.cs and added
ScreenSpaceTypeExtensions that provides extension methods for the enum.
- Updated the existing implementation to work with
ScreenPositionSlotControlView.
7 年前
Matt Dean
295b3e44
Add type colours for Boolean and Cubemap
Fixes #221
7 年前
Martin Thorzen
7b5ca064
Merge with master
7 年前
Peter Bay Bastian
a4d1c27d
Merge branch 'master' into node-bugfixes
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Resources/Styles/MaterialGraph.uss
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前