Tim Cooper
2a039635
[Shader Graph] Inital commit of modularised graph editor
12 年前
Tim Cooper
2de768fd
[Shader Graph]Making it work on current setup.
9 年前
Tim Cooper
1eaab6d4
[MaterialGraph] Compiling (and working) specular / metal setups.
9 年前
Tim Cooper
7d0465eb
[Shader Graph]Reformat the code to match conventions.
9 年前
Tim Cooper
e1a0768f
[Shader Graph]
Add preview for main node
Allow overriding of preview size per node
Fix issue with preview generation happening before active nodes were recached
Allow 'preview' generation to generate surface shaders
Fix bug in function3 nodes
9 年前
Tim Cooper
53f95972
[shader graph]Refactor
-namespace UnityEditor.Graphs.Material
+namespace UnityEditor.MaterialGraph
9 年前
Tim Cooper
9b51c881
[shader graph]Tidy up generation of shaders / preview.
9 年前
Tim Cooper
cb909cbc
[shader graph] Support adding / removing master node slots for easy upgrading.
9 年前
Tim Cooper
424d2324
[shader graph] Fix issue where we were overriding base class and not calling the function.
9 年前
Tim Cooper
5a34322a
[Shader Graph] Previews rendering.
9 年前
Tim Cooper
4b137787
[shader graph]Reenable node UI. Not amazingly laid out yet, but it will get there.
9 年前
Tim Cooper
94238998
[Shader graph]Add float input node
9 年前
Tim Cooper
229ce4f5
[shader graph]Fix fix up defaults for node inputs. Moving towards typed inputs.
9 年前
Tim Cooper
60dd24e7
[shader graph]Update update some nodes to have multiple outputs.
9 年前
Tim Cooper
7f682001
[Shader Graph] Add channel types. This allows for visual errors if you try to promote vectors.
9 年前
Tim Cooper
70760866
[shader graph]more support for multiple correct channeling.
9 年前
Tim Cooper
4d5ee48d
[shader graph]Start adding UI to the graph view.
9 年前
Tim Cooper
bb779dab
[shadergraph]Make export button that works.
9 年前
Tim Cooper
6086c6d6
[shader graph]Integtate new non modifiable settings into shader graph. Fix setting properties generation pipe to be simpler.
9 年前
Tim Cooper
51ceebd2
[shader graph]optimise for GC
9 年前
Tim Cooper
abcc9002
[shader graph]
*Fix exposition of vector properties
*Change validation (graph wholeistic)
*Add view layer callback for when nodes change internally (need repaint)
*Add missing pool classes
9 年前
Tim Cooper
6aaca4fc
[shader graph]
*Unified deletion architecture - Delete edges before nodes
*Input proxies now aware of their type
*Fix shader builder bug when mapping from vector1 -> vector2. Some compilers need this to be explicit )swizzle with .xx).
9 年前
Tim Cooper
1062aabb
[shader graph] Allow nodes to no generate default inputs via flag. Only really usefull on base pixel node.
9 年前
Tim Cooper
f93f8c6b
[shader graph]
*Allow drawn nodes to invaludate the model in OnGUI for the node (if for example the slots change)
*Lighting functions now determine what is available on master pixel node
9 年前
Tim Cooper
798bca64
[shader graph]
*Use GUID for node identifier instead of instance ID (Stable between runs)
*Cash hash of last generated preview shader string, do not regenerate if it's the same
*Serialize node preview shaders / materials / last generated shader hash (load time optimisation)
*Add node property: canDeleteNode returns false by default. True for pixel master node
*Rarrange popup menu
9 年前
Tim Cooper
6d78b98e
[shader graph]data refactor pt2
9 年前
Tim Cooper
af2e75ab
[shader graph]Data refactor 3
9 年前
Tim Cooper
34db823b
[shader graph]Data refactor 4 (working kind of now)
9 年前
Tim Cooper
a2b27b3c
[Shader graph]Working on getting previews again.
9 年前
Tim Cooper
159a13a8
[shader graph]Renable delete. Fix guids so shaders generate properly.
9 年前
Tim Cooper
418682b1
[Material Graph]Refactoring graph architecture.
9 年前
Tim Cooper
7a1ca7ce
[material graph]Compiles again.
9 年前
Tim Cooper
cf6628c6
[material graph]Fix serialization issues + start adding unit tests
9 年前
Tim Cooper
ed811c3c
[material graph]Tidy slot reference usages + update tests.
9 年前
Tim Cooper
0de2d9bd
[Material Graph] Mode node collecton code to NodeUtils away from member functions
9 年前
Tim Cooper
2630ebd1
[Material Graph]Material graph does not need reference to owner + more tests.
9 年前
Tim Cooper
404ea34c
[material graph]Moving namespaces / extract things to interface
9 年前
Tim Cooper
1b5c5494
[Material Graph]Refactoring drawing. Working general drawing.
9 年前
Tim Cooper
3e4c0174
[Material Graph]Add in general node collapse.
9 年前
Tim Cooper
2645e25c
[Material Graph] split into runtime vs editor. Create UI delegation to handle node drawing nicely.
9 年前
Tim Cooper
a2d8ad62
Add drawing of custom node preview
Delegate drawing to a custom drawer class that is looked up via
attribute, it will search for most specific drawer first, then walk up
the inheritence chain.
9 年前
Tim Cooper
01366ee3
Custom UI for PixelShaderNode.
Add Slot priority + tests
Make shader generation static functions (they do not need to be members
9 年前
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
0dd596bf
[Material Graph] change nodes property to GetNodes<T> where you can get nodes of a given type
Remove redundent code
Set node when adding to graph (do not set owner manually)
Tidy up tests after changes.
9 年前
Tim Cooper
d9619701
[material graph] Tidy up API for slot management (make generic).
9 年前
Tim Cooper
62377747
[Material graph] Working subGraph now. Copies function / properties etc.
9 年前
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
0e9ee494
[Material Graph]Tidy + small Refactorings. Add more tests.
8 年前
Tim Cooper
cc192491
[Material Graph]Adding property node tests + pixel node tests + tidy API as I go (light functions specifically)
8 年前
Tim Cooper
553fedbf
[Format]Run code formatting
8 年前
Tim Cooper
1b049752
[Material Graph] Rename and reorganise the repository.
8 年前
Tim Cooper
39086dd7
[Mat Graph]Remove light functions and instead have multiple master nodes.
8 年前
Tim Cooper
f6777ffb
[Material Graph]Restore first slot for normal map for now. Needs a real fix.
8 年前