I notice that the shader given for bloom effect is in HLSL version, just wondering if it is possible to be translated into older version something like the following:
//SAMPLE:
pass p0
{
texture0=; // The normalisation map
texture1=; // The shade map
texture2=; // The models skin texture
addressU[1](1)=clamp;
addressU[2](2)=wrap;
addressV[2](2)=wrap;
magFilter[2](2)=linear;
minFilter[2](2)=linear;
mipFilter[2](2)=linear;
vertexShaderConstant[0](0)=;
vertexShaderConstant[4](4)=;
vertexShaderConstant[16](16)=;
vertexShader=asm
{
vs.1.1
dcl_position v0
dcl_normal v3
dcl_texcoord0 v7
m4x4 oPos,v0,c0
m3x3 r0,v3,c4
dp3 r0.w,r0,r0 // renormalize it
rsq r0.w,r0.w
mul r0,r0,r0.w
mov oT0.xyz,r0.xyz // output normal to oT0
mov oT1.xyz,-c16.xyz
mov oT2.xy,v7.xy // output uvs to ot2
};
pixelShader=asm
{
ps.1.2
tex t0 // fetch normalized normal
texdp3tex t1,t0_bx2
tex t2 // sample color map
mul r0,t2,t1 // modulate with shading
};
}