Closed smlpt closed 6 months ago
This PR adds a new fragment & vertex shader type to be used for coloring individual instances of instanced geometry.
The syntax for writing the color attribute is:
InstancedNode.Instance.instancedProperties["Color"] = { Vector4f(1f) }
The code is largely taken from this and this ParticleDemo shader in Sciview.
This PR adds a new fragment & vertex shader type to be used for coloring individual instances of instanced geometry.
The syntax for writing the color attribute is:
The code is largely taken from this and this ParticleDemo shader in Sciview.