Peter Bay Bastian
a5f98a7d
Remove log messages when resizing inspector
7 年前
Tim Cooper
ad906af4
Creating mini shader graph library / fixing gamma -> linear colours
7 年前
Jens Holm
ff694d9c
Add resize handles to corner of inspector window
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
25b66c4b
fixing merge
7 年前
Jens Holm
2587263f
Remove resize function from GraphInspectorView
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 年前
Tim Cooper
5c979fc8
Merge master
7 年前
Jens Holm
e1ebec49
Merge master
7 年前
GitHub
eb5b5a85
Shader source mapping for node functions ( #137 )
7 年前
Peter Bay Bastian
15cfbb6f
Bump package version
7 年前
Peter Bay Bastian
ea126eba
Update shader error message
7 年前
Jens Holm
ec88c9f3
Reigister postlayout callback on graphview rather than inspector view
7 年前
Peter Bay Bastian
2a66a4bf
Remove selection stuff from inspector and move properties to the top
7 年前
Jens Holm
e72aef5a
Add resize handle class and reuse some resize handle uss styling in inspector window
7 年前
Peter Bay Bastian
1a6d34eb
Output shader errors to console when uber shader has error
7 年前
GitHub
2d290890
Merge pull request #134 from Unity-Technologies/inspector-window
Inspector window
7 年前
Jens Holm
f0203715
Ensure inspector winow to stay in editor window rect after window resize
7 年前
Jens Holm
0ff2964b
Improve resize handling of inspector window
7 年前
Jens Holm
429a5f71
Make resizeing from left and top not move the inspector window when reaching minimum size
7 年前
Jens Holm
9e48247a
Enlarge preview handle-bar size on inspector window
7 年前
Jens Holm
4978e50e
Put resize handles as invisible bars on edges of inspector window
7 年前
Jens Holm
fc09a1d5
Change font-size in inspector window back to 11
7 年前
Jens Holm
89613602
Move addition of resize handle higher in inspector prevewi window to cause it to overlay other elements
7 年前
Jens Holm
8bd7923f
Add check for capture when draggable manipulator releases
7 年前
Jens Holm
0b6e4066
Add resize icon to inspector preview and replace preview node resize handle with temporary icon
7 年前
Jens Holm
82f3473f
Add resize handle to inspector window
7 年前
Jens Holm
22adea01
Make graph inspector window not pinned to the right side of the editor window
7 年前
Peter Bay Bastian
38e4110f
Move static methods out of AbstractMaterialNode
7 年前
Peter Bay Bastian
41e06942
Change IGeneratesFunction such that a name is provided to a registry, which only allows 1 implementation per name. Includes a validation mode that checks that multiple given functions with the same name are actually the same.
7 年前
Peter Bay Bastian
35350e91
Remove function from Swizzle node, makes more sense to just write inline
7 年前
Peter Bay Bastian
0055dc00
Rename LegacyAttribute to FormerNameAttribute
7 年前
Peter Bay Bastian
c2183225
Make GetChannelCount return an integer rather than a number enum thingie
7 年前
Peter Bay Bastian
ce482316
Modify SwizzleNode such that it is possible to change channels without shader generation in preview mode
7 年前
Peter Bay Bastian
5ef7f04d
Move GetRequirements into ShaderGraphRequirements and give it a nicer name
7 年前
Peter Bay Bastian
d5813d06
Move legacy type remapping code outside of AbstractMaterialGraph and cache the result in a static field
7 年前
Peter Bay Bastian
409a35e4
Add LegacyAttribute for declaring old class names directly on the node class
7 年前
Peter Bay Bastian
83c052cb
Various clean-ups to make code a bit more neat
7 年前
GitHub
1f3752d8
Merge pull request #133 from Unity-Technologies/inspector-preview-mesh
Inspector preview mesh
7 年前
GitHub
8e31e809
Merge branch 'master' into inspector-preview-mesh
7 年前
GitHub
1ebe97b0
Merge pull request #132 from Unity-Technologies/squash-serializablegraph
Squash SerializableGraph into AbstractMaterialGraph
7 年前
Peter Bay Bastian
b2224d93
Move remaining files out of SerializableGraph folder and remove a few unused files
7 年前
Peter Bay Bastian
5fe33b9e
Squash `SerializableSlot` into `MaterialSlot`
7 年前
Jens Holm
923666b0
Improve applied scale to inspector preveiw
7 年前
Peter Bay Bastian
e3aaf843
Squash `SerializableNode` into `AbstractMaterialNode`
7 年前
Jens Holm
a4e8458d
Remove zooming in inspector preview
7 年前
Peter Bay Bastian
11a83d08
Squash SerializableGraph into AbstractMaterialGraph
7 年前
Jens Holm
8454398a
Center rotationin of preveiw mesh and fix serialization of preview mesh
7 年前
Peter Bay Bastian
66497f01
Bump package version
7 年前
Peter Bay Bastian
f9685e94
Revert use of internal method
7 年前