Hello,
I am using a voxel engine (based on the asset Uniblocks) for my game.
I am using Point lights already for torches and campfires etc.
How can I enlight my Lava with a good Performance?
In order to use as less materials as possible and texturemaps my Lava uses the same shader and material as my water (works very well already), so I would prefer to not add a new emissive material or something like that.
I also do not use baked lighting (but I guess I could but I would Need to Change it in runtime because blocks can be removed etc.)
So I already searched and found out about light probes, I never used them until now.
So what be most performant?
1)
I cannot add a Point light for each Lava cube, that would be way too slow I guess, but could I add something like a big Point light that surrounds multiple Lava blocks?
creating a light probe, a single one for each chunk (multiple voxels in one light probe) just like I create my voxel Terrain, but only for the Lava parts?
bake this somehow but change it dynamically it voxels are removed etc (have no idea if that is possible and how it works) and use area lights?
something else
If anybody has some experience with this or at least some idea, some help / hints would be great, thanks a lot!
Please do not advice some 100$ assets, but advice some 10$ asset would be okay if that helps in this case ![]()