Cycles: Don't invert backfacing IOR in generalized_schlick_bsdf
SVM doesn't do this, neither does the OSL testrender from what I can tell, and in other cases we already handle the inversion on the OSL side if needed.
This commit is contained in:
@@ -333,9 +333,6 @@ ccl_device void osl_closure_generalized_schlick_bsdf_setup(
|
||||
else {
|
||||
bsdf->ior = ior_from_F0(average(closure->f0));
|
||||
}
|
||||
if (sd->flag & SD_BACKFACING) {
|
||||
bsdf->ior = 1.0f / bsdf->ior;
|
||||
}
|
||||
|
||||
bool preserve_energy = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user