that’s basically what shader did before, pick a color from an index and use it. Well, basically everything went black, I manually entered some UVs to debug it, the textures seem to be loaded and some random color from the texture is shown but apparently hlsl 4.0 doesn’t have the same uv calculations with hlsl 2.0.
Mentioned several times, you can´t assign samplers directly anymore in monogame and you have to send texture as parameter. Thus your samplers will look like:
Where Diffuse is name of your parameter. Any sampler beyond s0 has to be treated like this. One more thing, and it is incredibly stupid (and overall I don´t like what monocontent pipeline does with shaders). Is that you need to use samplers in same order as declared. Thus let´s say I two samplers, Sampler1, Sampler2. Now in pixel shader you will have to use them in order as for example: