diff options
Diffstat (limited to 'intern/cycles/kernel/shaders/node_sky_texture.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_sky_texture.osl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/node_sky_texture.osl b/intern/cycles/kernel/shaders/node_sky_texture.osl index 13f958d65bd..e9f7dfb3a2a 100644 --- a/intern/cycles/kernel/shaders/node_sky_texture.osl +++ b/intern/cycles/kernel/shaders/node_sky_texture.osl @@ -107,7 +107,7 @@ void precompute_sunsky(vector dir, float turbidity, output KernelSunSky sunsky) sunsky.dir = dir; float theta2 = theta * theta; - float theta3 = theta * theta * theta; + float theta3 = theta2 * theta; float T = turbidity; float T2 = T * T; |