   Texture not allowing any other models to be rendered.
  Hello I have a particle effect and when I try to use it the particle makes every model on the screen disappear, or it seems because the models are still their but the go all black.When I comment out this linegd3dDevice->SetTexture(0, texture);or basically when I don't apply the texture everything is normal but the particle looks horrible.What am I doing wrong?Thanks for any help.   
  You don't quite provide enough information for me to give you specific advice. Some things you can investigate on your own are render states for the other objects in your scene and texture setting for the other objects.Do you use FX files to render everything in your scene? Do you use the D3DXFX_DONOTSAVESTATE flag when you start each of your render passes?The fact that everything goes black when you render your particle effect could be because lighting got enabled by the particle render but other parameters were not set correctly (i.e. this is the first time you are seeing your scene with lighting).In which order do you render your scene - particle effect(s) first and other objects second? If you don't use StateBlocks to save render states between object renders, then you can expect this kind of trouble for each new kind of object you add to your scene.Do you set the texture, FVF, vertex decl, vertex shader and pixel shaders back to appropriate values before you render each new object?   