   Pixel shader 2.0 sample
  Hi there... Im trying to test out a pixel shader feature of a programme ive been working on but it doesnt seem to be working properly. They shader applies a detail texture to a small scene but the detail texture doesnt seem to appear. The shader is written in assembly...ps.1.1; sample both texturestex t0tex t1; multiply each sampled texel; with ambient light colormul r0, v0, t0mul r1, v0, t1; multiply both texels togethermul r0, r0, r1I want to convert this to a ps_2_0 version and see if it works better. Could anyone help me do that?Thanks a million!!! o_0   
  Any advice would help aswell...   ;  I would suggest that you just write it in HLSL.  Writing in assembly will give you little or no advantage.sampler2D texSampler : register( s0 );sampler2D detailSampler : register( s1 );float4 ambient;float4 PS(in float2 texCoord : TEXCOORD0, in float2 detailTexCoord : TEXCOORD1) : COLOR){    float4 color = tex2D(texSampler, texCoord) * ambient;    float4 detailColor = tex2D(detailSampler, detailTexCoord) * ambient;    return color * detailColor;}If you want to understand how the underlying assembly works, you can always just compile it with fxc and look at the output.   ;  Thanks for the reply.. I plan on adding support for HLSL shaders in the future but i just wanto test if the assembly code will work. But im not quite sure how to convert it to ps2.0 or above... ;-/   ;  Take the above-posted HLSL code, compile it with option "fxc.exe /T ps_2_0 /Cc <input.hlsl>" or "fxc.exe /T ps_2_0 /Fo<output.asm> <input.hlsl>", and you will see what it's supposed to look like in ps_2_0 assembly.   ;  Hi, Ive downloaded a newer version of the directX SDK because the version i had never had fxc.exe. But now i cant figure out how to use it... Please forgive me, im rather nube to directX and shaders. The documentation doesnt explain much to me... please help! :-/   