Advertisement

Latest ForwardPlus Activity

For reference here is my sphere to frustum test

bool SphereInsidePlane(Sphere sphere, Plane plane)
{
    return dot(plane.normal, sphere.c) - plane.distance < -sphere.r;
}

// Check to see of a light is partially contained within the frustum.
bool SphereInsideFrustum(Sphere sphere, Frustum frustu…
4,317 views
Advertisement
Advertisement
Advertisement
Advertisement