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

wireframe.osl « templates_osl « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00e4506e73cd21f374f916f57af1379ba1d3d923 (plain)
1
2
3
4
5
6
7
8
9
10
11

#include "oslutil.h"

shader wireframe(
    float Line_Width = 2.0,
    int Raster = 1,
    output float Wire = 0.0)
{
    Wire = wireframe("triangles", Line_Width, Raster);
}