Creating Geoms with Multiple Textures

I’m creating geoms procedurally, and using vertex writers to fill the ‘textcoord’, ‘vertex’, and ‘normal’ columns. I’d like to add a second, semi transparent texture over the first, but the u, v coords for the first texture don’t line up with the second. Is my only option to add another column to the vertex data table and then create a custom shader to use it? Or is there an easier way?

Just add another texture coordinates set. It should be named “texcoord.foo”, where foo is an arbitrary name of your choice. Then you can set a texture stage to use that UV set by using setTexcoordName(“foo”).

Note that you can also set tangent.foo and binormal.foo, if you need them.