This is a major super deluxe release focusing on completeness and correctness. It exposes all 700+ shader graph nodes with much stronger type checking. New SGMatrix
types have been added and half
(Float16) types and operations are now supported. Texture mapping has been simplified so you can just pass TextureResources
right into the graph. Finally, chaining of operations is now supported through extensions to the SGValue
types.
All this awesomeness comes at a cost however and the following breaking changes were made:
SGValue.texture2DParameter
was renamedSGValue.textureParameter
(turns out 1D and 3D textures aren't supported)SGTexture.sample
was split into three functionssampleColor3f
,sampleColor4f
, andsampleVector4f
to determine the output type.- The
vector
andcolor
operators have moved to be static members ofSGValue
I hope you love it!