I read around about Mv use cpu to handling all rendering
and it is for mobile purposes
but my game will never go mobile
so I want to use the gpu to take the job
because I plan to use parallax and if it’s on gpu it will handle it better(from what I read?)
I don’t know if this even doable
thank you for your time to read this
I think the rendering method can be change with the default plugin Community_Basic.
Go check that, you have option "auto", "canvas", "WebGL".
RPG Maker MV offloads a large part of the rendering process to the system's GPU, if the GPU can handle it. There are two rendering modes: WebGL (GPU-based) and Canvas (CPU-based). You can check which one your own system is using by pressing F2 during gameplay to show the framerate widget: it will be labelled with the current rendering mode. 🙂
Thank you
ah... it sad then
I find screen flickering problem sometime
when use parallax with lightning plugin
hope that if use gpu it will got better run
Yea, a dedicated GPU (WebGL) should give noticeably better performance. 🙂
What you describe might be a problem with the event/plugin setup, perhaps a "slow" plugin command running every frame? Not sure, but "flickering" sounds like the lighting/parallax layer might be getting re-initialised (i.e. deleted and created again) rather than just refreshed (update position/tint/scale/whatever of existing sprites). Or it might just be too much for the engine to handle. 😅
I think you might be right about it being an image cache problem: lots of large sprites here and it seems OK after you've scrolled the map once. You can adjust the size of the cache using the cacheLimit parameter of the Community_Basic plugin (included when you make a new project); default is 10 MPix. 🙂
You could test a big number first, e.g. 100, just to see if it has any effect. If it does, you could try smaller numbers like 20, 30, 40? With parallaxed maps you'll probably need more cache than usual for smooth gameplay.
I think the trade-off is RAM usage (bigger cache takes more RAM). Best to keep the image cache smaller if possible, but 10 MPix is small, designed to be OK for mobiles...desktop should generally be able to handle higher values. 🙂
It might be a value you could maybe try changing a hard coded value. I found a post that talks about pixi-tilemap.js They modified all the numbers 2048 to be 4096 and then all the 1024 to be 2048. This solved running out of space for oversized tilesheets. Something similar can probably be done for you if it really is a running out of catch issue but I suspect it is not really that.