Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/shaders/node_gamma.osl')
-rw-r--r--intern/cycles/kernel/shaders/node_gamma.osl7
1 files changed, 2 insertions, 5 deletions
diff --git a/intern/cycles/kernel/shaders/node_gamma.osl b/intern/cycles/kernel/shaders/node_gamma.osl
index bc4c1b34266..9b9c17dc8af 100644
--- a/intern/cycles/kernel/shaders/node_gamma.osl
+++ b/intern/cycles/kernel/shaders/node_gamma.osl
@@ -16,10 +16,7 @@
#include "stdosl.h"
-shader node_gamma(
- color ColorIn = 0.8,
- float Gamma = 1.0,
- output color ColorOut = 0.0)
+shader node_gamma(color ColorIn = 0.8, float Gamma = 1.0, output color ColorOut = 0.0)
{
- ColorOut = pow(ColorIn, Gamma);
+ ColorOut = pow(ColorIn, Gamma);
}