Apply clipping plane to material based on camera

How would I modify this example to add a clipping plane so that only the orthographic camera does the clipping?

https://threejs.org/examples/?q=text#webgl_framebuffer_texture

I’ve only seen examples how to add clipping planes to a material, not to a camera.

For good reasons. You can only add clipping planes to materials.

You can duplicate the object (with same geometry but different materials) and use Layers to control the visibility for each camera.

1 Like