Files
test2/intern/cycles/kernel/osl/shaders/node_background.osl

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();
}