So, im trying to get the player ground pos, adding the direction of the sun (magnutude 100). and raycast into the ground pos. if it did not hit a pos close to the player ground pos, assume you are standing on a shadow.
Though it wont work. im trying to use distance but that wont work ether. The number decreases as i get closer to (0,0,0) and i have no idea why