Tag Info

New answers tagged

1

It turns out that an effect passed to SpriteBatch.Begin must follow specific conventions: Texture2D<float4> Texture : register(t0); // SpriteBatch expects that default texture sampler parameter will have name 'TextureSampler' sampler TextureSampler : register(s0); // SpriteBatch expects that default vertex transform parameter will have name ...



Top 50 recent answers are included