Jump to content

Ultralight Integration C# (Almost Complete)


photo

Recommended Posts

Hey There,

Here is my repository for Unigine with Ultralight with c#: kireita/Unigine-Ultralight-Cs: UIltralight integration with Unigine (C#) (github.com)

if anyone can make it use the GPUDriver i would be very gratefull, for now it works only with Bitmap.

Here some samples:

  • Like 4
Link to comment
  • 8 months later...

Thank you so much !

I'm defintly looking into it, this is amazing.
Sadly I'm not so fluent with Unigine to inplement CEF / Webkit.

Following the development.

Link to comment
2 hours ago, Ugly1-1 said:

Really cool. Good work.

Is there a way to prevent the issue on resize? It's like the GUI doesn't adjust to fit.

 

On 1/5/2022 at 5:07 PM, PavlovTM said:

Thank you so much !

I'm defintly looking into it, this is amazing.
Sadly I'm not so fluent with Unigine to inplement CEF / Webkit.

Following the development.

 

 

The  plugin is more a  PoC than an working plugin because :

The size issue can be solved by passing the window heigh/width to the Ultralight api and resizing the texture but some problems will appear like, you are going to get much lower FPS because you need to render on a bigger surface . The plugin works by updating pixels on a texture, this is brings ok performances for small textures but for bigger sizes you are going to get FPS like 30 or 25 so Isn't a viable solutions.

The best solution for this to work is to use shaders, you need to get the shapes and the data from ultralight and render it to a shader.

Edited by a.octavian
  • Like 1
  • Thanks 1
Link to comment
×
×
  • Create New...