Procedural mesh lighting problems

Hi there,

I’m trying to make a procedural Voxel world with a proceduralMeshComponent in c++.

But I have problems with the lighting.

I don’t know how to light the world like a sun.

Thought maybe you could help me and have some information or ideas.

May be you know something which is similar to procedural mesh but handles lighting better.

Thanks a lot for your help : )

This is the world I was able to make:

120407-world.png

The left cube is a procedural mesh and the right is a static mesh:

120408-cubes.png

I want that the procedural mesh looks like the static mesh.

I don’t exactly know how to do this but two people created a minecraft esque game in unreal, both of wich seem to have what you ask, which are both free to download as a project

and

Thank you for your help.
But I don’t find the download link for the project I only find the link to the demo.
But I found This Link https://sellfy.com/p/Ho2F/ where I can buy the Toolkit.
May be I’m just stupid and didn’t found the right Link, thought it would be nice if you could send me the right link

Strange, I thought he somewhere included a project download link, Also have you checked if all your lights are on stationary/movable and the procedural mesh has the same material as the cube?

Also, distance field shadows don’t work with procedural meshes, so it could be you accidentally activated that on your lights.

Thanks for your help, but sadly it didn’t solved the Problem.
But if you have any other idear, I would be happy to try them out.