Pixel Dot Drawer (blender addon)
(News : blender 5.0 will support pixel exact drawing in Texture Editor !)
Pixel Dot Drawer is a simple addon for drawing pixel art in Blender's Texture Editor.
Since blender does not draw exact 1 x 1 pixel in Texture Editor, i made this small tool.
The tool can be run from the top Menu > Image > Pixel Dot Drawer , or like me, adding it to the blender Q menu (Quick Favurite menu).
After starting the tool , the tool will block the original blender painting brush.
Instead, it will draw exactly 1 x 1 pixel on the image.
After starting the tool, you can press the following keys to switch the "draw mode" :
B key : 1 x 1 pixel brush, default
V key : Line drawing
C key : Circle drawing
Q key : Exit the tool
Esc key : Exit the tool
Ctrl + Z : Undo (it has its own Undo buffer, for 100 step)
Right click mouse button : Use secondary color to draw, same as left button
You can select the brush color when you are using the tool. But remember to exit the tool after drawing, because the tool has its own "Undo buffer", so you may confuse blender if you do not leave the tool.
The common workflow to use the tool is :
- UV unwrap your model. This is the most important.
- Create shader and material, create a blank white image texure. For pixel-art, the image should be small. (eg: 50 x 50 ).
- Go to Texture Editor view of Blender. Turn on material preview on the right. Test it.
- Run the addon "Pixel Dot Drawer" from the Top-menu > Image.
- Draw pixels or lines.
- Change color, draw again.
- Use right mouse button for erase. (it will draw the secondary color)
- You may Ctrl+Z to undo drawing
- Press Q to exit. Return to the blender. Save the texture image. Done.
Tips for using the tool :
Brush Size :
The tool doesn't change the blender's brush size to 1. It doesn't not affect its functionality. But for better viewing, you may change it to size 1, the cursor will become smaller and easier to view.
Texture Size :
I used a Texture Map of 50 x 50 pixels. It is a good start. You can use any size.
Pixel-Art Shader Style :
It is easy. You can go to Cycles/Eevee shader nodes view, find the "Image texture" node, then change the mode of the color interpolation. By default it is "Linear" interpolate, change it to "Closest", then it will become Pixel Art Style :)
Color Palette :
Blender has a color palette in Texture Editor / Image Editor. You can press N key to open the N-panel of blender. You will see the Palette tab, open it and add the colors to it. Then you can change color when using this Addon (you don't have to Exit the addon to change color).
This is a free addon. It cannot replace the original Blender's Texture Editor, and it cannot fix the Blender's brush problem.
But this tool can draw some simple pixels : ) Hope that you like it !