Bloom Shader, possible to translate into non-hlsl version?

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	
};

}

hi,
just try it ! open the template effect and fill in your code.

thanks for the fast reply :)

Just wondering if anyone has done it before, I have done a conversion for FFP shader but this one really doesn’t look familiar at all !!! lol

Will try to see if it works and i will post followup as I go.

Anyway, nice to see active users around :)

Edit: What do you mean by “template”

template is a shader, which should be a starting point for writing your own shaders. open it from the nodelist, rightclick and edit it. as i remember, asm code will work in vvvv.

have vvvvun !