Now i think i have somthing decent showing up. I got the diffused surfaces working shadows are working.
To calculate i did DOT(light_direction, object normal)*Material_color.
And to calculate shadows we send the rays from the light source to the point of intersection and see if the ray intersects any object on the way.
Now i serioulsly wish i had rendered out in some better colors 🙂
Pretty renders will be coming out soon.