Thanks for the reply. Yes, absolutely! am quite aware of the fact that DirectX cannot be used on browser, hence all the questions related to porting existing code to browser compaible codebase. However for that, does above mentioned approach makes sense? Am going to explore HLSL to GLSL converter at first place to see its correctness & how much extra work that should be done. If shaders am encountering are the simple ones, then re-writing them again shouldn't be much of a problem. The main issue is choosing between three.js & X3D. Any inputs on that would be great.
Once again, thanks for the reply.