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: 193dc7ee925bce38c2166e2ea7295cf5eb0b372a (plain)
1
2
3
4
5
6
7
8
9
10
#include "stdosl.h"
#include "oslutil.h"

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