Tim Cooper
da4824f7
Readd all existing nodes.
Most nodes are now correct. Some still need UI work (texture).
Missing some of the 'art' nodes still.
9 年前
Tim Cooper
8e10c8cb
[mat graph]Sub graph is working again.
9 年前
Tim Cooper
62377747
[Material graph] Working subGraph now. Copies function / properties etc.
8 年前
Tim Cooper
607a2f9e
[material graph]Add button to convert selection into subGraph
8 年前
Tim Cooper
376c8378
[material graph]Change how precision works, make default precision half.
8 年前
Tim Cooper
7ae021c6
[material graph]Convert slots from being a string into being an int that can be referenced from the node.
8 年前
Tim Cooper
6ef35ae3
[Material Graph]Use slotid's instead of slots.
8 年前
Tim Cooper
553fedbf
[Format]Run code formatting
8 年前
Tim Cooper
95b250d2
[material graph] Fix newline issues.
8 年前
Tim Cooper
29600f72
[Material graph] Fix up subgraph asset reference serialization.
8 年前
Tim Cooper
8ecfe640
[material graph]Remove upgrade code, no needed yet.
8 年前
Tim Cooper
6f66febe
[material graph]Fix standalone compile issue.
8 年前
Tim Cooper
c565a8d4
fix formatting
8 年前
Tim Cooper
313777e5
[Mat Graph] Master Node Inversion refactor
8 年前
Tim Cooper
9ea47ed4
working on shader compiler issues
8 年前
Tim Cooper
5cbe3cf4
[mat graph]Fix subgraphnode always regenerating the graph + fix exception on port adaptor
8 年前
Paul Demeulenaere
51383cec
Add world tangent node (with IRequireTangent behavior)
8 年前
Paul Demeulenaere
c1f9ae7d
Add WorldBitangentNode (with IMayRequireBitangent behavior)
8 年前
Paul Demeulenaere
2c0192a0
Add VertexColorNode & Fix missing bitangent in AbstractSurfaceMasterNode.cs
8 年前
Paul Demeulenaere
8592d7d0
Add an index to RequiresMeshUV, allows require UV1 to UV3
8 年前
Tim Cooper
7ee96660
[mat graph]Start work on remapper
8 年前
Tim Cooper
c11fe3b4
[Material graph]Tidy up node remapper. It now does not emit nodes but passes through.
8 年前
Peter Bay Bastian
70e53ed7
Refined `ModificationScope` with `.Topological`
`Topological` represents something that changes the topology of the
graph, i.e. something that causes e.g. edge removal.
8 年前
Tim Cooper
0a990a6d
allow specifying the UV channel on the UV node.
8 年前
ChrisTchou
9ac0408c
Adding support for IMayRequireViewDirectionTangentSpace, and a simple Parallax node to use it. Node seems to have the correct behavior, but not fully tested.
8 年前
Tim Cooper
793887f9
Working 'convert to subgraph'
7 年前
Peter Bay Bastian
7e160ce8
Run `hg format` on repository
7 年前
Tim Cooper
8a87c992
More refactoring.
7 年前
Tim Cooper
be067cc2
first real working shader in the 'new' model.
7 年前
Tim Cooper
0b56c45b
first pass.
7 年前
Tim Cooper
8d5e6fd1
texture exposition working
7 年前
Tim Cooper
779d0288
[MatGraph]Use generated names for properties so that they do not conflict and are formatted properly.
7 年前
Tim Cooper
76430e32
Refactored subgraph to abstract subgraph + remap subgraph. This is groundwork to allow for real remap master nodes.
7 年前
Tim Cooper
97cfbe75
Working remap node (wood wood) probably still needs a bunch of love. but something is working :)
7 年前
Tim Cooper
215e1b6a
Refactoring slot types.
7 年前
Tim Cooper
24923996
misc fixes afer changes
7 年前
Peter Bay Bastian
9bf884ab
Add object field attribute control
7 年前
Tim Cooper
a5c9b0ce
Merge branch 'exposed-prop-subgraph'
# Conflicts:
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Input/Matrix/Matrix2Node.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Input/Matrix/Matrix3Node.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/SubGraph/AbstractSubGraphIONode.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/SubGraph/AbstractSubGraphIONode.cs.meta
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/AbstractMaterialGraphEditWindow.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/GraphInspectorView.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Presenters/MaterialGraphPresenter.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Presenters/Nodes/SubgraphIONodePresenter.cs
# MaterialGraphProject/Assets/UnityShaderEditor/Runtime/SubGraph/SubGraphOutputNode.cs
7 年前
Tim Cooper
6161fea6
Fix compiler warnings :)
7 年前
Peter Bay Bastian
f95f8c27
BIG namespace refactor: UnityEngine -> UnityEditor, MaterialGraph -> ShaderGraph
No longer need assembly name in serialized data
7 年前
Tim Cooper
5a5f791f
Working on improving texture node:
*Default texture inputs
*Works via subgraph :)
7 年前
Tim Cooper
72e82ce1
fix up graph validation.
7 年前
Peter Bay Bastian
a00f148d
Remove usage of EditorGUILayout.MiniThumbnailObjectField, so that we don't have to make it public
7 年前
Peter Bay Bastian
1cf9ffde
Update node titles to use new array-based grouping `[Title("UV/Flipbook")]` -> `[Title("UV", "Flipbook")]`
7 年前
Peter Bay Bastian
128c6db4
Add sub-graphs to node search menu
7 年前
Peter Bay Bastian
da0d10c8
Massively decreased amount of allocations in preview rendering (~440 kB -> ~23 kB per frame)
7 年前
Matt Dean
3f34639b
Fixes for subgraph, preview and property nodes
7 年前
Matt Dean
00f3fcff
Merge branch 'master' into node-validate-current
7 年前
Peter Bay Bastian
81940dcd
Add object control back to SubGraphNode for now ( fixes #112 )
7 年前
Peter Bay Bastian
38e4110f
Move static methods out of AbstractMaterialNode
7 年前
GitHub
09d669c8
Various refactorings and improvements ( #139 )
* Move previewMode to RenderData instead of ShaderData (still some to do here, as apparently there's still a RenderData _and a_ ShaderData per node, but the intention was to have a RenderData per node and then share ShaderData between those)
* Introduce a temporary identifier for nodes. The first part of this identifier is an index (`int`) which is assigned linearly. When a node is deleted, its identifier as added to a free list. Each identifier also contains a version (`int`), which is incremented when the identifier is re-used. This allows us to replace usage of Dictionary with List in a lot of places.
* Introduce IndexSet for efficiently storing and manipulating a list of indices (e.g. from temp IDs). Internally this stores a list of 32-bit integers and uses each bit to represent 1 index. The operations of `ISet<int>` are implemented for this type, although that interface does not exist in Unity. The operations are very fast and cac...
7 年前
Tim Cooper
259c7ce1
Changing sub graphs to use functions instead of inlining.
7 年前
Tim Cooper
8342aa12
Finish refactoring subgraphs.
7 年前
Tim Cooper
2888f1c2
-When we validate a subgraph node we also need to validate the subgraph (generates the concrete values).
-Allow promotion of vector types. v2->v3/v4 v3->v4. Rule is alpha channel gets 1, other channels get 0.
7 年前
Matt Dean
4ad43705
Vector1 property refactor and types
7 年前
Martin Thorzen
0a72fe97
When saving a sub graph, we now go through all the shader graphs and updated them if they are using this sub graph.
Not allowed to have sub graph inside a sub graph
Removed sub graph from searh window when in subgraph
Prompting the user when removing slots and properties from the sub graph.
7 年前
Matt Dean
394320a1
Add documentation links for all nodes
7 年前
Martin Thorzen
edb12553
[FIX] #272 This will prefix the generated code with "sg_"
7 年前
Martin Thorzen
f9797583
Fixed the feedback from GIT
7 年前
GitHub
bad5cbcd
Merge pull request #277 from Unity-Technologies/doc-links
Add documentation links for all nodes
7 年前
Peter Bay Bastian
0b584564
Merge with master
7 年前
Matt Dean
589cb99a
Add changes from previous branch
7 年前
Peter Bay Bastian
4dfbc988
Fix per-stage requirements and translations part 1
- Separate Master node requirements into per-slot stages
- Add shader stage option to IMayRequire interfaces
- Remove uneeded intermediate spaces from surface description
- Change orthonormal basis to world
7 年前
Peter Bay Bastian
35c8e0e3
Temporarily remove vertex capability from Subgraphs
7 年前
Matt Dean
42b09806
Add first pass Texture2DArray and Texture3D support
7 年前
Matt Dean
26a4b39a
HD subshaders branch rebuild
7 年前
Matt Dean
36a0484f
Merge remote-tracking branch 'origin/master' into sg/texture-types
7 年前
Peter Bay Bastian
a958b031
Rename PropertyType.Texture to Texture2D
7 年前
Tim Cooper
fafb59af
Run code formatter.
7 年前
Martin Thorzen
7c397424
Addded cache for subgraph. Before it was deserializing on every frame.
7 年前
Martin Thorzen
048a40af
Removed Legacy Code
7 年前
Martin Thorzen
11cbbe0d
Removed the ObjectControl and added ( sub) to the name of the sub graph node
7 年前
Peter Bay Bastian
7f024953
Implement dependency tracking for sub graphs
7 年前
Peter Bay Bastian
358cdac8
Fix texture and boolean property types in subgraphs
6 年前