[x] Display Image in GUI
[x] GUI with docking
[x] Rendering to Texture
[x] GUI Fonts
[x] GUI Icons
[ ] Light Optimization:
bool intersectionSphereToPlane(vec3 sphereCenter, float sphereRadius, vec3 planeNormal)
{
float numerator = abs(planeNormal.x * (sphereCenter.x - cameraPos.x) + planeNormal.y * (sphereCenter.y - cameraPos.y) + planeNormal.z * (sphereCenter.z - cameraPos.z));
float denom = sqrt(planeNormal.x * planeNormal.x + planeNormal.y * planeNormal.y + planeNormal.z * planeNormal.z);
float distance = numerator / denom;
return distance < sphereRadius;
}
[ ] Shadow Rendering
[ ] Cleaning architecture for then using Metal