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

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

#include "stdcycles.h"

shader node_transparent_bsdf(color Color = 0.8, normal Normal = N, output closure color BSDF = 0)
{
  BSDF = Color * transparent();
}