TEXCOORD15 max?

My shader seems to break as soon as i use TEXCOORD16 or higher, is 15 the maximum number of UV data you can pass? Does this mean things will also fail if i pass in more than 16 textures or just that i’ll have to pick which of those have their own UVs?
I’m targeting DX11 / SM5.
Thanks

I didn’t even know that u can use more than two TEXCOORD.
Thx for that :slight_smile:

Yeah 16’s the max, I imagine (starts at 0 so you’ve got 0-15).

It’s 8 for SM3 (probably SM2, as well?).

What do you need to do that has use for that many texcoords?

I’m looking for options to make a terrain shader supporting lots of different as well as different level detail textures