blender/release/scripts/templates_osl/wireframe.osl
2012-12-30 10:37:32 +00:00

12 lines
178 B
Plaintext

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