Cycles: Cleanup, indentation of comment
Was broken after principled commit.
This commit is contained in:
@@ -158,7 +158,7 @@ ccl_device void subsurface_scatter_setup_diffuse_bsdf(ShaderData *sd, ShaderClos
|
|||||||
sd->flag |= bsdf_principled_diffuse_setup(bsdf);
|
sd->flag |= bsdf_principled_diffuse_setup(bsdf);
|
||||||
|
|
||||||
/* replace CLOSURE_BSDF_PRINCIPLED_DIFFUSE_ID with this special ID so render passes
|
/* replace CLOSURE_BSDF_PRINCIPLED_DIFFUSE_ID with this special ID so render passes
|
||||||
* can recognize it as not being a regular Disney principled diffuse closure */
|
* can recognize it as not being a regular Disney principled diffuse closure */
|
||||||
bsdf->type = CLOSURE_BSDF_BSSRDF_PRINCIPLED_ID;
|
bsdf->type = CLOSURE_BSDF_BSSRDF_PRINCIPLED_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,7 +170,7 @@ ccl_device void subsurface_scatter_setup_diffuse_bsdf(ShaderData *sd, ShaderClos
|
|||||||
sd->flag |= bsdf_diffuse_setup(bsdf);
|
sd->flag |= bsdf_diffuse_setup(bsdf);
|
||||||
|
|
||||||
/* replace CLOSURE_BSDF_DIFFUSE_ID with this special ID so render passes
|
/* replace CLOSURE_BSDF_DIFFUSE_ID with this special ID so render passes
|
||||||
* can recognize it as not being a regular diffuse closure */
|
* can recognize it as not being a regular diffuse closure */
|
||||||
bsdf->type = CLOSURE_BSDF_BSSRDF_ID;
|
bsdf->type = CLOSURE_BSDF_BSSRDF_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user