Download

Voxel Generated Mesh render problem

Hello !

I’m working on a Voxel engine, and I’m stuck on a problem with mesh generation, and I have few questions to better understand the way it works.
I use this code as reference and this wiki about generated mesh component.

I would like to do a vertex struct which supports float instead of uint8 on BrickGame project, to draw more complexe shape than simple cube.
Here my code: http://hastebin.com/laqeyejufa.vala (I modified FVoxelVertex & some lines after this comment “/** Modifications I made to support float coordinates **/”)

Code compile fine but I nothing render when I launch the game :frowning:

If you have any suggestion to help me in my epic quest, don’t hesitate !

Thank you in advance.

Cordially, Jackblue