Tag Info

New answers tagged


Unfortunately, the toolkit doesn't support inline definition of sampler in the shader (as legacy fx does). In order to use a sampler, you need to: Simply declare a plain sampler state in hlsl: SamplerState MySampler; Pass a sampler state from C# available in GraphicsDevice.BlendStates (or create your own) and set it on the parameter ...

Top 50 recent answers are included