1
Feature requests / Re: Sprite batching
« on: March 03, 2017, 01:30:55 am »
+1 would love to see official spritebatch class like in libGDX or monogame
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
@ scellow
So you are the dev of realm of the mad king? Nice too meet you here.
I played it some time ago (is it still free of steam?) and thought it was a funny little game.
Vulkan is also compatible with less GPUs than OpenGL 1.1.
Is your GPU driver installed & uptodate?
Did you test this in release mode?
Have you run a profiler over your code?
Each chunk has it's own VertexArrayWhy are you drawing all 256 chunks that are each 2048x2048?
[...]
One Chunk = 128x128 tiles = 2048x2048 pixels
[...]
Number of chunks = 256
And i'm getting 12fps when i render all the chunks, it's really bad performance for only 256 draw calls...
Surely you only need to draw the one(s) that are actually visible.