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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user