Mass vertex in Voxel Game Optimize

Some Ideas for this Issue:

culling vertices (cpu): don’t batch what isn’t necessary to display
combining vertices (cpu): since you’re using voxels, many vertices can be combined when they’re on the same plane
tessellation (gpu): you can sometimes expand vertices from (2) back into the proper level of detail; can possibly use quads here instead of triangles
lighting (pre-cpu): you can bake lighting data into your voxel data
data structure (cpu): you should consider using data structures that provide for simplifying data at a distance. For example, once you hit between 400 and 800 voxels or so away, all you generally see are ‘points’. Consequently, it’s unnecessary to batch up a full 8 vertices when 1 will suffice. And at some point (I haven’t measured), you wouldn’t even need single voxels; you could use mutliple voxels /w a color average instead. Batch calls should be tied to your data structure sizing.
ref: https://www.reddit.com/r/VoxelGameDev/comments/2cd0w6/what_are_the_ways_to_optimize_a_voxel_game/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值