VoxelPlugin/VoxelPluginFreeLegacy

I've been having trouble with the directional light, it doesn't cast shadows based on rotation

matiasgql opened this issue · 1 comments

the video lasts 1:14, but it's more than 10MB so I can't upload it here, that's why I put the link to google drive, I hope it helps

https://drive.google.com/file/d/1R3bBE3qqLRkl7kbMtyb6ZaP0umBjj5pn/view?usp=sharing

I have solved it, the problem is the classic precision error with the floats variables, being far from the center, the lighting fails, the solution I found is to make a function that changes the world origin to the position of the character every 50000 Uu