effekseer / EffekseerForWebGL

MIT License
116 stars 16 forks source link

A javascript option to speedup rendering by lowering the quality #32

Open juandavm opened 4 years ago

juandavm commented 4 years ago

I see all the options that we can use in javascript, in the list available here: https://github.com/effekseer/EffekseerForWebGL/blob/master/src/js/effekseer.src.js

And I miss maybe an option to speedup rendering by lowering the quality of textures, precision of movement or number of particles. It's possible to implement something like that in order to better webgl rendering in mobile phones?

It's just a suggestion, thanks in advance.

PD: Maybe a function that allow to redraw without calculations (from memory) the last drawing, in order to throttle the effekseer rendering, by allow to the programmers to skip some frames when necessary but drawing the animation in them.

durswd commented 4 years ago

Thank you for your opinion. I don't have an enough time to improve it now.

By the way, I think that low resolution screen for particles is effective for a performance.

juandavm commented 4 years ago

First of all, thanks in advance for your time. I fully understand it and I will try change resolution.

There is any way to obtain a what was rendered without calculations (from memory) the last drawing, in order to throttle the effekseer rendering, by allow to the programmers to skip some frames when necessary but drawing the animation in them?

All in all, thanks for the port.

durswd commented 4 years ago

I'm sorry to delay reply. There is no way to obtain it. It need to extend Effekseer.