Help porting shader (ShaderToy to HLSL)

Hi!

Have you tried something like:

SamplerState mySamplerState = new SamplerState()
{
   AddressU = TextureAddressMode.Wrap,
   AddressV = TextureAddressMode.Wrap,
   Filter = TextureFilter.LinearMipPoint
}

(Set texture sampler state in custom effect)