WebGL

Monkey Targets Forums/HTML5/WebGL

blabz(Posted 2013) [#1]
Does support for WebGL in html5 exist within Monkey?

If not, what would the effort be to provide support?

It seems the specifications for OpenGL es 2.0 and WebGL are generally the same.

http://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences

Thanks!


AdamRedwoods(Posted 2013) [#2]
yes, support exists in monkey for html5. this is what miniB3D is based on.
Just import
import opengl.gles20



Midimaster(Posted 2013) [#3]
Is MiniB3D avaiable for HTML5 too?


AdamRedwoods(Posted 2013) [#4]
for desktop, yes using webgl, so IE9 would need a plugin: http://iewebgl.com/Default.aspx