11 lines
273 B
Plaintext
11 lines
273 B
Plaintext
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
#include "stdcycles.h"
|
|
|
|
shader node_emission(color Color = 0.8, float Strength = 1.0, output closure color Emission = 0)
|
|
{
|
|
Emission = (Strength * Color) * emission();
|
|
}
|