Cleanup: Remove unused total power Emission code in Cycles, that was never exposed in the UI.

Differential Revision: https://developer.blender.org/D562
This commit is contained in:
Thomas Dinges
2014-05-30 14:32:32 +02:00
parent a26e41c0b9
commit 2c69f1e574
7 changed files with 3 additions and 36 deletions

View File

@@ -17,14 +17,10 @@
#include "stdosl.h"
shader node_emission(
int TotalPower = 0,
color Color = 0.8,
float Strength = 1.0,
output closure color Emission = 0)
{
if (TotalPower)
Emission = ((Strength / surfacearea()) * Color) * emission();
else
Emission = (Strength * Color) * emission();
Emission = (Strength * Color) * emission();
}