Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Hardware Instancing; Is it possible to pass in an array of Vector3 into the Vertex Shader?

$
0
0

@Morgan_Sundin wrote:

When Hardware Instancing; Is it possible to pass in an array of Vector3 filled with color values R, G, B into the Vertex Shader just like we are passing in the VertexBuffer?

I'm hardware instancing particles (HLSL)
I would like to add different colors for every particle, therefore add an array of color values into the Shader too.

Is that possible?

Regards, Morgan

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles