ncsoft / Unreal.js

Unreal.js: Javascript runtime built for UnrealEngine
Other
3.65k stars 347 forks source link

Does unreal.js support WebGL? #193

Open wtiandong opened 6 years ago

wtiandong commented 6 years ago

Hi, We want to integrate a very powerful video player (mpv player) to our game project, however, it is written in C and render video using OpenGL API. Does unreal.js support WebGL?

BR, tiandong

crocuis commented 6 years ago

Because Unreal.js is a pure V8 Javascript Engine without the Web Renderer, it is difficult to use WebGL. However, it is possible to control the video player used in UE4 by exposing it to Javascript.