Skip to content

Principled BSDF sampling #441

Answered by efylmzr
PotatoPot6676 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PotatoPot6676
1- Yes, you are right, Pr(reflection)= 1 - Pr(transmission). The sampling probabilities can not depend on Fresnel term in order to keep the normalization constant independent of Fresnel term. Fresnel term is a value that we get after sampling the specular lobe. If you decide to sample the diffuse lobe, you do not have any Fresnel term to calculate the normalization constant. But if you both have a specular transmission and specular reflection lobe, you can decide to sample a halfway vector based on a probability which does not depend on the Fresnel coefficient. And then, you can utilize the Fresnel term to decide between transmission or reflection. So sum of selection pr…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by njroussel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants