[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.7774891 [View]
File: 160 KB, 1007x750, specular.jpg [View same] [iqdb] [saucenao] [google]
7774891

>Peruse the Q3 source code involving the infamous fast inverse square root
>Only used for a few things, one of them being specular lighting
>The implementation is so lazily applied and only used on a few models anyway

I went ahead and fixed it up, and I must say it gives the algorithm its deserved utility. It could be improved upon even further without resorting to dumb modern techniques.

Navigation
View posts[+24][+48][+96]