Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Compute color to Var #347

Merged
merged 21 commits into from
Dec 2, 2020
Merged

Compute color to Var #347

merged 21 commits into from
Dec 2, 2020

Conversation

tebjan
Copy link
Member

@tebjan tebjan commented Nov 24, 2020

fixes vvvv/VL.StandardLibs#318 and fixes vvvv/VL.StandardLibs#398

  • Material nodes now have Var<Float32> or Var<Vector4> input pins -> VarToComputeX node can be deleted
  • ShaderFX graphs can be properly cached -> instant load once compiled, also after restart
  • Factory node pins use a compiled delegate expression instead of reflection to write to pins -> about 50x faster
  • Added factory node pins that can convert between types

Changes:

  • ValueMap and ColorMap are now implemented with ShaderFX
  • Material nodes moved into ShaderFX document because they now depend on it
  • Forward of Var is in Rendering document because it forwards the nodes from the factory which has this type as pin type

Review and ToDo:

  • @antongit check current help patches with Material nodes
  • @antongit can we remove DiffuseMap, EmissiveMap, ... nodes?

Copy link
Member

@azeno azeno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expected LiveComputeFloat and LiveComputeColor to be gone?

@tebjan
Copy link
Member Author

tebjan commented Nov 26, 2020

I expected LiveComputeFloat and LiveComputeColor to be gone?

Yep, they are deleted now: 3fd25dc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants