projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup: style, unused import
[blender.git]
/
intern
/
cycles
/
kernel
/
shaders
/
node_refraction_bsdf.osl
diff --git
a/intern/cycles/kernel/shaders/node_refraction_bsdf.osl
b/intern/cycles/kernel/shaders/node_refraction_bsdf.osl
index f87b3a5dd8621d1f35b51de2aa352e7421f2cfe1..4a32415b4827053641f9607741219e49a8f98e88 100644
(file)
--- a/
intern/cycles/kernel/shaders/node_refraction_bsdf.osl
+++ b/
intern/cycles/kernel/shaders/node_refraction_bsdf.osl
@@
-25,7
+25,7
@@
shader node_refraction_bsdf(
output closure color BSDF = 0)
{
float f = max(IOR, 1e-5);
- float eta = backfacing() ? 1.0 / f: f;
+ float eta = backfacing() ? 1.0 / f
: f;
if (distribution == "Sharp")
BSDF = Color * refraction(Normal, eta);