Skip to content
07-848 2005

Application SDK

V-Ray Clipper

In this chapter, we'll talk about geometry clipping. VRayClipper is a geometric primitive that can be used to clip away parts of the scene with a simple plane. It is a render-time effect and does not modify the actual scene geometry in any way.

Last updated 9 April 2026

Introduction

In this chapter, we'll talk about geometry clipping. VRayClipper is a geometric primitive that can be used to clip away parts of the scene with a simple plane. It is a render-time effect and does not modify the actual scene geometry in any way.

Parameters

The plugin that we're interested in is called VRayClipper.

  • enabled – turns the clipper effect on and off.
  • affect_light – if enabled, the clipper will affect area light sources as well.
  • only_camera_rays – the clipper will affect objects as they are directly seen by the camera, but they will appear unchanged to reflection/refraction/GI rays.
  • clip_lights – enables or disables the clipping of lights geometry (for example a mesh light).
  • use_obj_mtl – when enabled, the clipper will use the material of each clipped object to fill in the resulting holes. When this is off, the material applied to the clipper object itself will be used.
  • set_material_id – when enabled, you can specify a face material ID for the clipper object. You can then use this ID inside a Multi/Sub-object material to specify a different filler material for different objects.
  • material_id – the face material ID for the clipped surfaces when Set material ID is enabled.
  • invert_inside - determines how to use the mesh when Mesh mode is enabled:
    • 0 - Intersection - clips away anything that is outside the specified mesh; only render objects and parts of objects inside the specified mesh;
    • 1 - Subtraction - clips away anything inside the specified mesh; only render objects and parts of objects outside of the specified mesh.
  • exclusion_nodes – an include/exclude list that allows you to select which scene objects will be clipped.
  • exclusion_mode - false to include the nodes listed, true to exclude the nodes listed.
  • clip_mesh - Mesh plugin to use as a clipping mesh instead of the simple plane

Example

The following scenes are rendered by using this scene bundle.

Clipper Exclude

Clipper Mesh

Clipper

Clipper Plane

Python

C++

C#.NET

Node.js

Result

Clipper Object

Python

C++

C#.NET

Node.js

Result

Notes

  • VRayClipper works best with "closed" objects. The results on open objects (without a corresponding back face) are not well defined.
  • Currently, the VRayClipper may produce artifacts if there are overlapping triangles in the scene, regardless of whether they are part of the same object or not.
  • Note that Set material ID must be used for Multi/Sub-object; it will not act like Mtl ID in MultiMatteElement.