A downloadable Plugin

Buy Now$8.00 USD or more

Cut Off | Godot Plugin

This is a small plugin but it has several useful features to create cool cut off effects: SDF shapes, simplex noise, fresnel effect, unshaded inner faces.

  • SDF nodes: Box, sphere, cylinder, infinite cylinder, plane. All these nodes can be used and combined to create different cut shapes in the mesh.
  • Simplex Noise: Noise can be added to the cuts made by the SDF shapes to add a more organic look.
  • Fresnel effect: The effect can be applied to the cut area for a more attractive visual effect.
  • Coloring internal faces: Adds a second shader (next pass) to give the illusion of fill in the cut area.

For a visual demonstration and more details on its functionality, check out this video: 

I have coded it in 4.4 dev6, but it should work in 4.3 as well, if not, let me know.

Right now, you have to load the mesh in the root node. I could change that by adding a reference to the 3D mesh instance you use and overwriting its material. But I need some feedback first.

Purchase

Buy Now$8.00 USD or more

In order to download this Plugin you must purchase it at or above the minimum price of $8 USD. You will get access to the following files:

PluginDemo.zip 2.1 MB

Comments

Log in with itch.io to leave a comment.

Hi,

i've bought and downloaded your plugin, copied it to addons of my project, enabled it in project settings. Now when i added cutoff object to one of my scenes, repeating error is displayed in godot editor. Error message is 

"./servers/rendering/renderer_rd/shader_rd.h:166 - Parameter "version" is null.". 

I am using godot version 4.3 stable. I guess it is problem with godot version because plugin was implemented in 4.4. I am not sure what to do, because i need that cut off shader, but would not like it to migrate my whole project to Godot 4.4. Could you help, please? 

I've found out there is problem with some overloaded function in one of shader files. I've renamed it in its definition and also in places where it was called and that error message disappeared. 

Now i'ld like to know if it possible to load mesh, that is imported from blender in .obj format with textures? I have trouble to set my textures when there is already cut off shader in material override. I did not find place where i could load theese textures.

I have not received any notification. I am very sorry, I will check and update I'm aware of the problem with textures, I just needed some feedback and a real use case like yours. Maybe it's too late, but can you specify which maps you need to be added?