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
404ea34c
[material graph]Moving namespaces / extract things to interface
9 年前
Tim Cooper
1b5c5494
[Material Graph]Refactoring drawing. Working general drawing.
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
addd6c34
[Material Graph]Write tests / fix issues as encountered
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
40ac12ad
[Material Graph]Add copy paste support via serializing temp graph and rewriting internal connectors. Next step: auto create sub graph.
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
0e9ee494
[Material Graph]Tidy + small Refactorings. Add more tests.
8 年前
Tim Cooper
553fedbf
[Format]Run code formatting
8 年前
Paul Demeulenaere
0c053056
Secret implicit node feature (ease automatic connection considering "virtual" default input node) : plug it for TextureNode
8 年前
julienf-unity
95bdff73
Add default constructor for MaterialSlotDefaultInput to allow deserialization
8 年前
Tim Cooper
e6b70122
[Material Graph]Show slot default inputs in the inspector.
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 年前
Jennifer Nordwall
2adf665a
Added input/output checking
8 年前
Matt Dean
c7fbf38f
Added Matrix 2 and 3 types
8 年前
Matt Dean
3bce395a
Added Matrix4 and fixed Matrix multiply
8 年前
Jennifer Nordwall
475f5e3b
Merge branch 'hackweek2017' of https://github.com/stramit/MaterialGraph into hackweek2017
8 年前
vlad
5f08fc4e
Changed sampelr2D to Texture2D, added wrappers for HLSL to make decoupled texture samplers work with surface shaders, added a Sampler node, etc.
8 年前
vlad
953f009f
New sampler2D type for the cases when users require a texture reference, but don't care about using a separate sampler state.
8 年前
Tim Cooper
96cdde05
Add node that 'just does' HLSL and can convert to shader node based on API.
8 年前
Tim Cooper
e8c71321
converting nodes to new system.
8 年前
Tim Cooper
d0d60781
Texture asset is now a real asset type...
7 年前
Tim Cooper
b44a8aea
Fix some bugs in new nodes (bad conversion to HLSLSnippet node) + Add ability to hide slots at the slot level (i.e. hide implicit inputs for function node)
7 年前
Peter Bay Bastian
7e160ce8
Run `hg format` on repository
7 年前
Peter Bay Bastian
fbc6eeac
Fix node compatibility check ( #58 )
7 年前
Peter Bay Bastian
ed185a44
Preliminary vertex shader support
7 年前
Tim Cooper
8a87c992
More refactoring.
7 年前
Tim Cooper
8d5e6fd1
texture exposition working
7 年前
Tim Cooper
52d5558a
do not throw errors on default sampler slots, nodes need to handle this case.
7 年前
Tim Cooper
779d0288
[MatGraph]Use generated names for properties so that they do not conflict and are formatted properly.
7 年前
Tim Cooper
215e1b6a
Refactoring slot types.
7 年前
Tim Cooper
2c1b60e0
compiling
7 年前
Tim Cooper
24923996
misc fixes afer changes
7 年前
Tim Cooper
3da19296
missed files
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 年前
Tim Cooper
9ff93cdb
Add specific material slot types and port code generation node to use them.
7 年前
Peter Bay Bastian
f95f8c27
BIG namespace refactor: UnityEngine -> UnityEditor, MaterialGraph -> ShaderGraph
No longer need assembly name in serialized data
7 年前
Peter Bay Bastian
d284676f
Fix duplicate type parenthesis on sub-graph nodes
7 年前
Tim Cooper
3039671f
Merge master
7 年前
Matt Dean
516051d4
First pass Gradient Nodes
- Added ShaderGraph.cginc
- Added Gradient Type
- Added GradientMaterialSlot
- Added Gradient SlotValueType
- Added Gradient ConcreteSlotValueType
- Added GradientAsset node
- Added Gradient2D node
- Added Gradient PropertyType
7 年前
Tim Cooper
5a5f791f
Working on improving texture node:
*Default texture inputs
*Works via subgraph :)
7 年前
Matt Dean
324ba49c
Input Part 6 (Gradient)
- Merge branch Gradient
- Added Gradient MaterialSlot and ShaderProperty
- Added defaulty handling
- Fixed SamplerState variable name bug
7 年前
Peter Bay Bastian
d50eb6bb
Outside node controls for texture slots + various fixes
7 年前
Matt Dean
f14af0f4
Added Cubemap nodes
7 年前
Tim Cooper
16640c42
Run code format tool
7 年前
Peter Bay Bastian
da0d10c8
Massively decreased amount of allocations in preview rendering (~440 kB -> ~23 kB per frame)
7 年前
Matt Dean
8697ac36
Preliminary work on Dynamic Matrix
- Add other matrix slot value types
7 年前
Matt Dean
1a08b1b1
Add DynamicMatrixMaterialSlot and fix all Matrix input types
7 年前
Peter Bay Bastian
5fe33b9e
Squash `SerializableSlot` into `MaterialSlot`
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
8f22e3a7
Boolean node and type (part 1)
7 年前
Matt Dean
bbd475d5
Add Branch node
- Fix compatible types
- Fix default property name
7 年前
Matt Dean
fd575df7
Fixes for PR
7 年前
Matt Dean
4ad43705
Vector1 property refactor and types
7 年前
Matt Dean
c0c00ec0
Merge branch 'master' into node-matrix
7 年前
Matt Dean
41740d78
First pass dynamic Multiply node
- Temp adding of test graph
7 年前
Peter Bay Bastian
8de769dd
Move lightweight sub-shaders and templates to SRP repository
7 年前
Martin Thorzen
9720e0dc
Added input fields to the vector nodes
7 年前
Matt Dean
589cb99a
Add changes from previous branch
7 年前
Matt Dean
348a9654
Change GetPreviewProperty to return list for multiple properties from one slot
7 年前
Matt Dean
70436083
Remove GC allocations on preview property collection
7 年前
Matt Dean
88372b5f
Add ref keyword (fix)
7 年前
Peter Bay Bastian
e7f9893d
Rebuild previous branch (see comments)
Also:
- Add cull control to shadow and depth
- Add clip define (need to add clip to shadow/depth frag)
- Add HD pipeline tag to unlit subshader
7 年前
Peter Bay Bastian
6cdf82d9
Further ShaderStageCapability work
- Add to slot compatibility check (fix create node menu generation)
- Add ShaderStageCapability to CodeFunctionNode slot attribute
- Move SampleTexture2D, NormalCreate, Checkerboard and Triplanar to fragment stage only
7 年前
Peter Bay Bastian
495c97b8
Search window respects shader stage
7 年前
Matt Dean
42b09806
Add first pass Texture2DArray and Texture3D support
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 年前