Glitch textures

Hey!

I’m struggling with something I think has a simple solution, but I don’t know how to go about creating it. I’m looking for a way to create textures in Blender similar to this one With options to control colors and sizes of the rectangles/squares, possibly even a randomizer feature for shapes+colors. It would be used as a simple backdrop to a model.

Right now I’m using a website called glitchart.io, but the controls there are limited.

Anyone know how to go about this? Thanks!

There’re so many options that you need to be more precise.

The image datablock let’s you set the pixel colors in a pixel by pixel way.

You can also bind the image to a GPU buffer and draw over it using OpenGL commands (your best option).

In Shaders, you need to reformulate your algorithm to make it parametric (what color should point xyz be). It’s possible to do it in a parametric style, but it’s a trade off between quality and complexity.

I made something close: glitch.blend (768.2 KB)

1 Like

@Secrop Sorry about that. Basically a way to make a random pattern of rectangular and square shapes, with the option to change colors and sizes of the shapes. Basically the easiest way. I’m fairly novice when it comes to nodes and combining features.

@lehuan5062 Thank you for this! Basically what I’m looking for!