I know how to create a cast shadow when the horizon is below the light source, but not when it's the other way around like in this image below.
How would I cast an accurate cast shadow?
I know how to create a cast shadow when the horizon is below the light source, but not when it's the other way around like in this image below.
How would I cast an accurate cast shadow?
My result has no relationship to the horizon other than use it to determine the perspective of the box in a slightly skewed position with respect to the horizon as drawn. (We're looking down at it since it is below eye-level (horizon). I also chose to make a spotlight to sharpen the edges of the shadow for clarity. I show the box shadow as if it was opaque.
The process is exactly the same regardless where is the light source in the plane.
Define where the light source's(A) anchor point or "base" is on the plane(B)
Define where the base(D) of the vertex(C) you are working on is.
Draw a line from the light source to the vertex and cross it with a line drawn from the base of the light to the base of the vertex.
In the specific drawing you made the light looks a bit weird, but that is how you calculate it.