[DiscordArchive] and now you have 2 layers, now what?
[DiscordArchive] and now you have 2 layers, now what?
Archived author: Zee • Posted: 2018-08-30T20:35:39.827000+00:00
Original source
Instead of 256
Archived author: Zee • Posted: 2018-08-30T20:36:14.945000+00:00
Original source
And if you render really far its even more faster using this method
Archived author: Zee • Posted: 2018-08-30T20:37:29.704000+00:00
Original source
Ignoring the chunks that are in the camera view
Archived author: Zee • Posted: 2018-08-30T20:37:51.407000+00:00
Original source
The further you render the more ADT blocks need to load
Archived author: Zee • Posted: 2018-08-30T20:38:54.757000+00:00
Original source
1 - 9 - 16 - 49
Archived author: Zee • Posted: 2018-08-30T20:41:08.094000+00:00
Original source
I have 49 ADT's loaded at a time, say your camera is set to 90 FoV that would mean that you render an average of 13 ADT blocks at a time, and without using map textures you would have 256*13= 3328 draw calls for terrain alone
Archived author: Zee • Posted: 2018-08-30T20:42:07.087000+00:00
Original source
But I only have around 300 draw calls since I swap distance shaders with the maptexture ones that can be batched
Archived author: Zee • Posted: 2018-08-30T20:43:56.175000+00:00
Original source
You can improve performance even further if you want, I noticed blizz also does adjacent chunk batching for chunks that have similar tiletextures and tiletexture order
Archived author: Zee • Posted: 2018-08-30T20:44:31.721000+00:00
Original source
They batch 2,3 or 4 of htem together. If you export the meshes from your video card you'll notice that
Archived author: Zee • Posted: 2018-08-30T20:45:53.620000+00:00
Original source
I didn't bother doing that because effort, you'd need to also atlas the alpha maps of the batched chunks