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_emission.osl')
-rw-r--r--intern/cycles/kernel/shaders/node_emission.osl8
1 files changed, 2 insertions, 6 deletions
diff --git a/intern/cycles/kernel/shaders/node_emission.osl b/intern/cycles/kernel/shaders/node_emission.osl
index c36e2a4c0f3..57973f57ac6 100644
--- a/intern/cycles/kernel/shaders/node_emission.osl
+++ b/intern/cycles/kernel/shaders/node_emission.osl
@@ -16,11 +16,7 @@
#include "stdosl.h"
-shader node_emission(
- color Color = 0.8,
- float Strength = 1.0,
- output closure color Emission = 0)
+shader node_emission(color Color = 0.8, float Strength = 1.0, output closure color Emission = 0)
{
- Emission = (Strength * Color) * emission();
+ Emission = (Strength * Color) * emission();
}
-