blender/release/scripts/templates_osl/wireframe.osl

12 lines
178 B
Plaintext
Raw Normal View History

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