cosine lobe sampling PDF

Practical and theoretical implementation discussion.
Posts: 42
Joined: Fri Aug 03, 2012 10:36 pm
Location: Moscow, Russia.

Re: cosine lobe sampling PDF

Post by raider » Mon Apr 06, 2015 9:11 pm

Hi Josh,
you simply taking wrong integral. Your PDF have to normalize to one over hemisphere.
You are right saying that
but the integral you need have to be this one:

Posts: 11
Joined: Sun Mar 29, 2015 11:55 pm

Re: cosine lobe sampling PDF

Post by josh247 » Thu Aug 06, 2015 11:15 am

I hadn't realised there had been anymore responses to this thread. That answered my question completely and you were right in thinking that my original results were incorrect. Cheers for the help guys.

Post Reply