Digital Pencil Drawing using Krita and G’MIC
Over the last month or so I’ve been working on this Illustration.
I employed both 3D and 2D techniques in its creation. I wanted it to look like a pencil drawing so I employed the typical hand drawing skills you would expect but I also used a great feature in G’MIC which can be accessed in Krita to make a nice textured base as a starting point.
G’MIC comes ready installed with Krita but you can also use more up date versions of the Qt plug-in for Krita (3.2+) from the G’MIC website or download plugins for other software that are currently supported.
I started developing this Illustration by making 3D models using ZBrush, Curvy 3D and 3D Coat which I composed into a scene and rendered out using Blender. The image above was worked on further in Krita to get a pencil drawing look.
The actual pencil drawing bit I’m going to talk about in this article took around 10 hours to complete. I’ll talk about the 3D process in another article.
You don’t have to start with a 3D render for what I’m going to show you by the way, it could be any image whether you started it using other digital painting brushes or whatever and then decided to go in a different direction with it. I did this with another picture a while ago of a squirrel I initially painted in Affinity Photo.
I also used the same technique for this picture.
Video Process
Here is the process video for the pencil drawing in Krita. Hopefully it will give you a general overview of what I did, but I’m going to write down the process here as well.
Setting up your document in Krita
I’ll supply a ready made template on my Gumroad page you can look at for reference of how to put your own file together, but here are the steps.
If you are looking to use an existing image for this technique you need to open the image you want to apply the pencil stylize effect to in Krita.
Duplicate your image (so you have a backup copy) and then make sure the background is opaque. If it isn’t you can create a layer underneath it and fill this with a colour (white for example) then merge the layers together.
Update: The pencil textures I made are available as presets in the Artistic Stylize filter in G’MIC from the 2.7 version onward. See this development diary entry for more details:
G’MIC Artistic Stylize: pencil, charcoal and pastel
This method I’ve talked about below this point is still useful for custom textures though.
Now you need to create a layer above this image which will contain the pencil shading texture (or any other texture for that matter) for the style transfer with G’MIC.
I created a hand drawn pencil shading scale (if you want it to look hand drawn it needs to be hand drawn in my opinion), scanned it in and then made it into a tiling pattern. I’ll include this pattern with the document template file, but it is good practice to make shading scales if you want to practice your skills and it is fun making your own textures to experiment with.
For the texture to work well it needs to have a good range of values from light to dark, hence the need of the shading scale from light to dark. Hand drawing it means you get the lovely grainy texture and imperfections / happy accidents as well.
As I wrote about in one of my development diary entries for a stippling technique using the same method you can get it to work in the G’MIC stylize filter as long as you create light to dark values using a gradient and appropriate layer blending mode. It won’t work well with a flat value image.
Incidentally this video I made shows how you can turn a flat texture into one with enough tone to work with the filter.
For some things a radial image like the one I created for the stippling technique may work better to create fewer artifacts to fix afterward, but as a rule a linear one will be fine and is much easier to create.
Drop your tiling pattern into Krita as a new layer, then use the create pattern from current layer with this texture.
Fill the layer with the pattern.
The filled layer:
As you can see, I made the pencil shading scale into a repeating tiled image so I could use it in documents of any size or ratio I wanted in future. I found that the image for the stylize filter in G’MIC needs to completely cover the layer, so this approach is more versatile.
To be on the safe side make sure you go to “Image > Trim to Image Size” as well so it is definitely matching the source image size and there is no overlapping in the layers. I found this can cause problems in some of my earlier experiments if both images don’t match size and ratio of each other.
You should have the texture above your image in the layers. Select your image below the texture in the layers panel.
Then go to Top Menu > Filter > Start G’MIC-QT
This will open the G’MIC interface where you can select different image effects and filters. The one you need for this guide is called Stylize, you can search for it in the search bar.
Set your Style settings to Custom Style (Bottom Layer) and Input layers setting at active and above.
Make sure the texture for the custom style is the image in the overlain box and your image you want to apply it to is underneath it.
Pressing OK will start the process of the filter. It will take time depending on how large your image is and how fast your computer is. My computer did it in around 4 minutes.
The pencil shading from the texture will be applied to the layer that was underneath it.
Update: The pencil textures I made are available as presets in the Artistic Stylize filter in G’MIC from the 2.7 version onward. See this development diary entry for more details:
G’MIC Artistic Stylize: pencil, charcoal and pastel
This method I’ve talked about above this point is still useful for custom textures though.
As you can see there are some areas that may need fixing- the dark patch on the picture the squirrel is pointing to and the dark band on the squirrels tail. Other than that it is a good base to work into as a start.
Another thing I like to do with this layer is to go to Filter > Color > Color to Alpha. This creates transparency on the layer which will let paper texture layers underneath show though creating a nice traditional look.
Choose a base paper texture
You can choose whatever paper pattern fill or texture you like. I went for a basic paper texture.
In the free template for this demo I will not include the base texture but you can find paper textures on the internet or make your own by scanning a piece of paper in. If you have the full paid for version of Digital Atelier set for Krita it comes with lots of paper and canvas textures you can use.
You can erase parts of your picture where you want the texture of the paper to show more. You might want to duplicate it before you do this or use a transparency mask for a non destructive workflow.
Choose a texture for the overlay texture
A layer with a pattern fill of a texture I made is put over the drawing layers and set to Overlay blending mode at a low transparency. The level of transparency controls how much grain effect is applied to the drawing, you can adjust it for your own needs. Around 20 or 30 % is a good start.
This will be included in the free template I’ve made for this demo, but you can try different textures to get different looks.
A Note on Brushes
I mostly used brushes in two bundle sets for this Illustration. You can find them on the internet and they are both free.
Charcoals by Ramon Miranda
These brushes are fantastic for charcoal and pencil style in Krita. You can find them in the video description for this video if you go onto YouTube:
There is also an optional template file provided by Ramon as well.
Once installed in Krita they will look like this:
I like to use the finger blending brush to soften details and blend things. The brushes in this set give a really lovely textural look to your drawings. Just try them all to see what you can do.
Krita 4 Extras brush presets pack
The other set I recommend is made by David Revoy and available for free. My favorite brush from this pack for the pencil lines and shading is one called hardpainting-02-textured-dry-details. It has a nice grainy texture and works well as a pencil. There are lots of really great brushes in this set. The other pencil brushes are great for the pencil drawing style as well.
Digital Atelier by Ramon Miranda
Another good set to have, especially if you are into the tra-digital thing like I am. I bought this set off the official Krita website some time ago. Occasionally it is available for free if they are doing a contest or a promotion, but it is worth paying for as you also get lots of textures and papers as well as video tutorials on how to use them in Krita with the paid set. The paper textures are useful for getting different looks for transparency masks and base or overlain paper texture layers.
Brush organization tip
I put my favorite brushes into the popup picker so I could use them faster. I also like to organize brushes I like by tagging them into a custom set.
Back to the Drawing
Basic Outlines
I drew in the outlines for the drawing on a separate layer above with the back up original image on a low opacity as a guide above this.
I used the hardpainting-02-textured-dry-details brush but you can use whatever you like. You can draw the lines in from observation alone if you want, but I found it was faster and more accurate just to trace the outlines since I was going for a realistic look.
Initial Shading
I fixed the dark patches on a layer above the base textured layer and below the lines layer. The layer has a transparency mask in it made from a pencil grain texture I made and scanned in to give it some texture (actually the same one I used for the overlay paper texture I talked about earlier). The following screenshots show how to make a transparency mask in Krita.
Use the color picker to sample colors around the image to blend things in and use the blending brushes to soften it in.
More Drawing
I kept working on the drawing using observation skills with the reference photo for as long as it took until I thought it was finished (around 10 hours for the drawing in the demo). Darker lines and more defined details were added on layers without a transparency mask.
Color layer
I didn’t do a color layer for this Illustration but you can add colour by using layers above your drawing and setting them to an appropriate blending mode such as overlay or soft light. Experiment and see what looks nice.
Cropping
I cropped the picture to improve the composition.
Color Adjustments
This could be a new article on its own, so I’ll keep it simple by saying if you want your drawing to have a toned look you can play with different effects in G’MIC or overlay more textures and try different layer blending modes etc. I played with different filters and overlaid textures. Have fun and try different things.
Highlights
This is optional, but if i tone a drawing I like to put some bright highlights in to make things pop such as eye details. This is usually the last stage.
Thanks for reading this article.