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

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

#include "stdcycles.h"

shader node_point_info(output point Position = point(0.0, 0.0, 0.0),
                       output float Radius = 0.0,
                       output float Random = 0.0)
{
  getattribute("geom:point_position", Position);
  getattribute("geom:point_radius", Radius);
  getattribute("geom:point_random", Random);
}