Hello @luboslenco, I have finally rolled back the patch on it's original branch so that there aren't too much changes at once (and honestly I got bugs I'm unable to deal with now with the transparent shadows features).
This pull request fixes voxels and implements voxels shadows and voxels refraction.
Since refraction is using forward materials and data is not present in gbuffers it seems very hard to enable this feature only, so voxels refraction is an option under screen space refraction.
Appart from these enhancements and features, I took the liberty to add an option so that game creators can have invisible meshes that take part in lighting (shadows and voxels).
I expect that you will not hesitate to ask me to remove this feature or discuss about it, because it is now necessary to disable two options to make an object fully invisible, I don't see any other alternatives to that. So this is some important changes for a very few amount of modifications.
Hello @luboslenco, I have finally rolled back the patch on it's original branch so that there aren't too much changes at once (and honestly I got bugs I'm unable to deal with now with the transparent shadows features). This pull request fixes voxels and implements voxels shadows and voxels refraction. Since refraction is using forward materials and data is not present in gbuffers it seems very hard to enable this feature only, so voxels refraction is an option under screen space refraction. Appart from these enhancements and features, I took the liberty to add an option so that game creators can have invisible meshes that take part in lighting (shadows and voxels).
I expect that you will not hesitate to ask me to remove this feature or discuss about it, because it is now necessary to disable two options to make an object fully invisible, I don't see any other alternatives to that. So this is some important changes for a very few amount of modifications.