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

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

#include "stdcycles.h"

surface node_set_normal(normal Direction = N, output normal Normal = N)
{
  N = Direction;
  Normal = Direction;
}