3D to 2D in Blender: Emulating traditional two-dimensional drawing techniques in a three-dimensional environment with procedural shaders


Written by

Last modified:

Preface

Fascination in traditional animation and related media has burgeoned in the popular conscience over the last decade with the success of works like Riot Games’ Arcane (2021) and Sony Pictures’ Spider-Man: Into the Spider-Verse (2018). Centering around the fictional worlds of Riot’s Runeterra and Marvel’s superhero and villain-laden New York City, these compositions sought to translate the visual language and design of their reference works into a digital media space far detached from their original settings.

Arcane brought to life characters and story lines explored in Riot Games’ League of Legends (2009) and related expanded media. League of Legends is a member of the video game genre known as multiplayer online battle arenas (MOBAs), a subset of real-time strategy games. Entries within this genre are defined by their top-down, almost isometric, perspective in which teams of players face off with controllable units known as heroes or champions with the aim of destroying one another’s bases while accumulating resources across the playable area.1 The visual style of MOBAs, particularly in the genre-defining League of Legends and Valve’s Dota2, is heavily informed, even to this day, by the genre’s progenitor, Blizzard’s Warcraft III (2002). Warcraft III, a product of unique creative direction, but also technical limitations, possessed a notably late 90s, early computer-gaming interpretation of high fantasy.

Figure 1

Art Style of Warcraft III

Figure 2

Jinx Variations Across Riot IPs

Into the Spider-Verse is a reimagining of the Stan Lee and Steve Ditko comic series in which Brooklyn teen Miles Morales takes up the mantle of the series’ superhero. The film explores Morales’ struggles in navigating and balancing his new found moral duty as a superhero with his budding social and familial conflict as a result of his coming-of-age.5 The production followed the work of illustrator Sara Pichelli, the original illustrator of Miles Morales, in Marvel Comics’ Ultimate Spider-Man (2011).6 Ultimate Spider-Man ran as part of the greater Ultimate Marvel imprint in which a host of different superheroes see modernized re-envisionings and story re-tellings while paying homage to their classical counterparts.

Figure 3

Evolution of Spider-Man

As demonstrated in the figures above, each property had to undertake a massive visual transformation in order to be brought to their ultimate, stylized animation form. As much as this transformation captured popular audiences, this transformation captivated the artistic world at large. For these pieces present as two-dimensional, traditionally-animated works, when, in fact, they made extensive use of three-dimensional environments, tools, and pipelines to go beyond just facsimiles of their “imitated” styles. Arcane using Autodesk Maya10 and Into the Spider-Verse using Blender11, along with a multitude of external programs and tools like Houdini, Photoshop, and more, these productions took on the seemingly innocuous task of making 3D look, feel, and move like 2D.

Introduction

How does one go about making 3D look like 2D?

For those unfamiliar with animation, the answer to this question might seem simple. Understandably so, as the inverse process—making 2D look like 3D—is relatively simple. Hundreds of years of art history, philosophy, and design have built a framework expressly for making pen and paper come to life. Concepts like perspective, projection, and proportion have been a part of artists’ vocabularies now for millennia. When taken to a moving form like animation, principles like squash and stretch, follow through, parallax, and more have further bolstered the transformation of still drawings into a convincing, live, fluid form. For further information, Frank Thomas and Ollie Johnston’s The Illusion of Life: Disney Animation (1981) is the foundational resource pertaining to this matter as the two senior animators outline the framework followed by Disney artists and their animated productions since the 1930s.

The process, when done forward, however, runs into many challenges. The main benefits of programs like Maya and Blender are that exact coordinate locations, transformations, physics, lighting, and all the data one could ever need in a simulation of three-dimensional space, are readily available. These programs operate with the intent of photorealism. On top of this, meshes and procedural shading allow for an artist to design, model, and texture a character or environment once and use that same character or environment in different settings, motions, and applications without ever having to think about redrawing a frame or reconsider proportions or anything to the extent one would need to in traditional media. It is in this functionally precise environment where issues begin to arise when one seeks to get that “2D look.”. According to 3D animator Toni Mortero, traditional problems like an unsteady hand, uneven brush strokes, color blending, imprecise tracking and motion are solved by these programs.12 Yet, it is these supposed problems that give traditional animation its distinct character and look. As such, it is an arduous process to bypass this technological overcorrection and emulate the personality of two-dimensional work while still being able to leverage the advantages of working in a 3D environment. This project serves to explore that process.

Methodology

In order to unravel and best understand this process, I decided the best way to do so would be to recreate an exclusively three dimensional work using the design principles of two dimensional drawing and animation.

This endeavor was begun by consulting the works of two of my favorite traditional artists: the late Kentaro Miura and Junji Ito. Miura and Ito are Japanese mangaka known for their ink and hatch-heavy illustrations. Miura’s dark fantasy Berserk and Ito’s absurdist Uzumaki are linchpins in their genre as both artists explore bleak, grounded, but at the same time, otherworldly settings with common themes of a hostile, supernatural world and body horror. The art of these works embody the weight of the stories being told with their equally heavy dark washes and inks. It must also be acknowledged that the majority of these artists’ most seminal works, including these, were illustrated and published in the 1990s—before extensive digital workflows were available and so relied on traditional manga and comic illustration techniques.

Figure 4

Zodd, the Immmortal

Figure 5

Completion

Upon inspection, it is evident these artists display especially creative use of lines. They use various forms of hatching, ranging from standard parallel hatching and crosshatching to more applied techniques like basket-hatching and contour-hatching. According to illustrator Matt Rota, the use of these different forms of hatching in conjunction with one another are used to evoke volume and relay texture while guiding the eye across different parts of the illustration.15 Notice in Figures 4 and 5 how each line across both panels has varying widths, degrees of straightness and parallelism. This is partly by design, but also a result of the human error as identified by Mortero.

Figure 6

Hatching Across the Horse

Figure 7

Nosferatu Zodd

Figure 8

Black Goat

The above pieces were done using ballpoint pen, gel pen, and graphite pencil. As predicted, there was a significant amount of texture that was lost in scans of these pieces. Crosshatching, particularly multiple layers of hatching, produced striations in the paper which contoured light in a manner that added further depth to the illustration. These striations were also achieved by explicit scratching into the paper with both a finger nail and pen acutely angled to the page. Once scanned, this effect can still be gleaned somewhat, but not to the extent that is possible in person.

Another issue encountered with the medium was low color fidelity on paper. Ballpoint pen, regardless of the paper used, is known to have many limitations when it comes to consistent color and stroke. This is a result of the ballpoint pen’s mechanical design and ink composition. Once dry, blacks tend to present as blue, reds as pink, and so on. The ink in ballpoint pens is also notably sensitive to light and so this color degradation is only exacerbated with the passage of time and exposure.16 Gel pen did not suffer from these issues as much thanks to the water-based gel used in their inks. Gel provided a more consistent stroke and held color much better than ballpoint. It is for these reasons, gel was opted primarily for fills and applications where heavier strokes were needed like in outlines and ballpoint was mainly reserved for hatching and texturing.

With a greater understanding of the design principles and physical process behind creating heavily-stylized, traditional two-dimensional works, finally came the time to choose an exclusively three-dimensional medium to apply these principles to. This decision was made by looking at another one of my favorite properties: FromSoftware’s dark fantasy, role-playing video game Dark Souls (2011). Dark Souls draws heavy inspiration from Miura’s Berserk in world, enemy, and encounter design, and therefore seemed like an apt choice.

Figure 9

Ornstein & Smough

Proof of Concept

Before committing to a full reshading and reanimating of a section of the cinematic, it was most appropriate to begin small with a proof of concept. A recreation of the Dragonslayer sword, the protagonist’s weapon of choice in Miura’s Berserk, was settled on for this proof of concept. Not only is the geometry of the Dragonslayer simple, but with this choice as a pilot, Miura’s illustrations were able to provide reference for best practices.

Figure 10

Miura’s Dragonslayer

Figure 11

The Dragonslayer

The Line Shader

After amassing reference images and setting up lighting and a backdrop in the scene for renders, work was begun on the shader that would emulate hatching. In planning, two strategies were decided for generating the fundamental lines for the shader. The first used a wave texture. Blender’s Wave Texture node generates procedural parallel lines with adjustable scale and noise with options to change wave function, direction of the waves, and whether to generate the waves as bands or rings. The second strategy used the Noise Texture node. The Noise Texture node generates a texture using Perlin noise and shading point information. It offers the same configurations as the Wave Texture node with added choices for lacunarity and dimension of the noise. Lines were formed from this noise by adjusting the scale of the texture coordinates accepted in the vector input of the node via a Mapping node. By heavily scaling that vector in one direction, the texture was effectively stretched when drawn onto a surface, giving the impression of lines.

Figure 12

Wave and Noise Texture Nodes

As seen, each approach produced wildly different results. The wave texture produced uniform, consistently parallel lines while the scaled noise texture produced bands of varying weight and frequency. Much like the decision to employ ballpoint pen in some applications and gel pen in others, it was decided that these methods of procedurally generating lines would both prove effective in their respective applications. As for the Dragonslayer however, the line shader utilizing the Wave Texture node proved to be more applicable as Miura’s depictions of the sword often have especially clean and angular line work. This texture was fed through a Color Ramp node using constant interpolation and adjusted to create bolder, more defined lines.

Figure 13

Dragonslayer Metal Grains

Figure 14

Voronoi Texture Node Output

Figure 15

Wave Texture Fractured and Rotated with Voronoi Noise

Figure 16

Voronoi Texture Node Set to Distance to Edge and Inverted

Figure 17

Line Shader Node Configuration

Figure 18

Line Shader Output

The final node setup for the line shader can be adjusted primarily through the Wave Texture and Voronoi Texture nodes. The wave texture’s scale controls the density of the lines. The direction of the lines can be changed to be drawn along the x-axis, y-axis, or diagonally through this node. The color output of the first Voronoi texture can also be run through a Color Ramp node or Map Vector Range node for finer control of the rotation values being fed to the Mapping node that controls the Wave Texture node. The scale of both Voronoi textures control the size of chunks.

This article is still in the process of being written.

Reference List

[15] Rota, M. Contemporary Classical. The Art of Ballpoint: Experimentation, Exploration, and Techniques in Ink. Rockport Publishers, 2015. pp. 38–43.

[16] Ellis, M. H. Media of Prints and Drawings. The Care of Prints and Drawings. Walnut Creek, 1995. pp. 102-103.

[18] Miura, K. Berserk, 1st ed..; Johnson, D.; Lui, F.; Warner, C., Eds.; Dark Horse Comics, 2007. Vol. 16, pp. 171, 222.