   multitextured terrain help!
  So i have this terrain that is one color. Im using managed directX in C#When i try doing a texture weight/HLSL way i find i cannot put my array of textures into HLSLI also cannot do one big texture since i cannot edit textures in directXANY HELP PLEASE?   
  You need to bind your textures to multiple samplers and then use those samplers in your HLSL shader.   ;  okay so any hlsl samples or snippets about how to put a texture array into hlsl?   ;  First set your textures pdevice->SetTexture(0,ptexture0);pdevice->SetTexture(1,ptexture1);pdevice->SetTexture(2,ptexture2);....Then in HLSLsampler SamTex0 : register(s0);sampler SamTex1 : register(s1);sampler SamTex2 : register(s2);....then use it laterfloat4 c1 = tex2D( SamTex0 , In.TextureUV ) * tex0amt;float4 c2 = tex2D( SamTex1 , In.TextureUV ) * tex1amt;float4 c3 = tex2D( SamTex2 , In.TextureUV ) * tex2amt;float4 finalcolor = (c1 + c2 + c3);This is just a sample. Get your texture amounts however your need to.   ;  But that tells me nothiing as i the user picks the textures they want and then paint them on the terrain. So i would seem some sort of texture array>.>   ;  If often skip multitexturing altogether and just use a texture with a gradient and edit the texture coords based upon the x,y,z coords of each point. Obv not useful if you're trying to multitexture a large polygon but works well with meshes.   