Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

What is a nice, neat way to get the AABB of a sphere's projection onto the screen? This is to determine simplified geometry for lights in deferred shading.

share|improve this question
Axis Alighned Bounding Box... So you want a box around the sphere?? –  Savlon Feb 12 '13 at 18:03
I want to know what screen space rectangle to draw that will touch all of the pixels a specified sphere would touch. –  Promit Feb 12 '13 at 19:26
Have you searched google for AABB of a sphere space projection? –  Savlon Feb 12 '13 at 19:35

1 Answer 1

up vote 4 down vote accepted

Found the correct derivation of the extents on AltDevBlogADay.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.