How to include material when converting x3d to webgl-html?

Hi there,

5min ago I heard from webgl…

So I had an idea…

But there is still a little problem…the glass material is apparently missing.
(Anyway there are some lighting effects on the glass)

How to get that materials from blender inside webgl?

Btw.: is there maybe a much simpler way to get blender models inside webgl?