Original Post
I am able to use HLSL debugger only in a limited capacity. I have a code that looks like following float3 Reflect = normalize(2 * diff * Normal - LightDir); float temp1 = (float) dot(Reflect, ViewDir); float specular = pow(saturate(dot(Reflect, ViewDir)), 8); // R.V^n Output.RGBColor = specular * g_LightSpecular[0] * g_MaterialSpecularColor; I am able to step thru'. When I insert following line between line #2 and #3 in this code, float temp1 = dot(Reflect, ViewDir); and try to right click on temp1 and say "Quick Watch" or "Add Watch" it says unable to evaluate the expression. Why does it say so? Any ideas? -R