Welcome to mirror list, hosted at ThFree Co, Russian Federation.

node_background.osl « shaders « osl « kernel « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e20cfe684670aca58ce76f03306962bba9266bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2011-2022 Blender Foundation */

#include "stdcycles.h"

shader node_background(color Color = 0.8,
                       float Strength = 1.0,
                       output closure color Background = 0)
{
  Background = Color * Strength * background();
}