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