   Why texCUBE  always return zero?
  Hi,allI find that texCUBE always return zero using Pix debug tool, the inReflect coodinate isn't zero; Does anyone know the error? Thanks! This is my code:texture EnvironmentMap <string type = "CUBE";string name = "Snow.dds"; >;samplerCUBE EnvMap = sampler_state{Texture = (EnvironmentMap);    MipFilter = LINEAR;    MinFilter = LINEAR;    MagFilter = LINEAR;    AddressU = Wrap;    AddressV = Wrap;};sampler2D Wood;float4 Main(float2 inTxr: TEXCOORD0,float3 inReflect: TEXCOORD1) : COLOR {float4 tmp=texCUBE(EnvMap,inReflect.xyz);return tmp;}   
  You're certain that the texture loaded correctly and isn't black?   ;  Thank you for your hint, now i use D3DXCreateCubeTextureFromFile,it's OK!   