# Ex 1: Headspace Portrait

## Intro

For this we'll be attempting to recreate Basil's portrait as close to the original as possible.

This example is done in **Clip Studio Paint**. Though this is also possible on Krita and Photoshop as they support all features required.

<div align="center"><figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2F8WQSiZG4VJesmLEVRbKM%2FPortraitEx_Original.png?alt=media&#x26;token=f3d6eac9-3fc5-468d-b158-484267e34f3f" alt=""><figcaption><p>Original Basil Portrait</p></figcaption></figure></div>

### Layout

Here is a quick rundown on general step layout.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FWBJo8slCdBNCVkXLMKEY%2FEx_BasilPortrait_Layout.jpg?alt=media&#x26;token=9626a338-e579-4d07-9cdd-7f97d8961ef7" alt=""><figcaption><p>Layer layout in Clip Studio Paint</p></figcaption></figure>

## Line Art

For this example, the image is drawn at **512x512**, far larger than game sprite of 106x106. This is so the specific brush detail will be "averaged out" later when sized smaller, and allow for more leeway of wobbliness.

Line width is estimated by just sizing the original to also 512x512 and comparing line brush.

Since the goal here is just to recreate for demonstration, the line art will be traced over.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FFC5Yrz1jxGjTLpUbsWoL%2FEx_BasilPortrait_1.png?alt=media&#x26;token=e3ec083f-6a00-4304-9f9b-4c13c58a0445" alt=""><figcaption><p>Basil portrait line art recreation</p></figcaption></figure>

### Brush and Texture

**Brush** used in example is [**Pencil R on Clip Studio**](https://assets.clip-studio.com/en-us/detail?id=1702962). At around 6px size.

**Texture** used is **Impasto**, a default texture on Clip Studio. Resized slightly smaller at 8% opacity.

## Line Coloring

For coloring, **tone curve** will be used as it's simple but still gives enough control over specific values.&#x20;

Taking a look at original sprite, notice that the darkest value remains black, changing to blue. With the lighter area being more purple/magenta.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FbXNEUTvytDIvjvl3LsBx%2FEx_BasilPortrait_2.png?alt=media&#x26;token=6f9438d9-d109-4d0b-bca6-8a6c1c0d5fe6" alt=""><figcaption><p>Basil with headspace coloring</p></figcaption></figure>

### Tone Curve Settings

Tone curve here is done in **Clip Studio Paint**. Here are settings used.

More info can be found [here on Tonal Correction Effects](https://help.clip-studio.com/en-us/manual_en/390_filters/Tonal_Correction_Effects.htm#1364001).

{% tabs %}
{% tab title="RGB" %}
**RGB** Channel can be thought of in this case as brightness value. Being 0 = Black to 255 = White.

For this, dark value is made **darker** to make the black values pop through the other colors and help increase **contrast**. This is shown as curve pushed down on left to middle.

The bright value is made slightly **brighter** to increase contrast and reduce the back texture of the paper a little. Not too much, as paper texture is still wanted. This is shown as curved pushed up a little on right side.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FUq9RUBPnxLiY9izveh8l%2FEx_Basil_ToneCurve_RGB.png?alt=media&#x26;token=fd30926a-bd6c-4b56-a81c-a5ad7953bb41" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Red" %}
In this case, the **red** curve is pushed down on the left, making darker value more **cyan**, with it being opposite of red on light color wheel.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FgrqDFvoDOtVY78q16Tt3%2FEx_Basil_ToneCurve_Red.png?alt=media&#x26;token=1bbabf32-4271-439f-8895-dcce59752a59" alt=""><figcaption><p>Red Channel</p></figcaption></figure>
{% endtab %}

{% tab title="Blue" %}
The **blue** channel is heavily pushed up to give a strong blue color on line art. The point still pass at 0,0 as we still want dark **black** values to be retained.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2F8eN51HfIRUMLdQKg1grd%2FEx_Basil_ToneCurve_Blue.png?alt=media&#x26;token=fb9802c1-6721-407d-b52c-c0df0cb105d0" alt=""><figcaption><p>Blue Channel</p></figcaption></figure>
{% endtab %}

{% tab title="Green" %}
In this case, the **green** curve is pushed down on the left, making darker value more **magenta**, with it being opposite of red on light color wheel.&#x20;

The push happens more on the right side, being lighter values. This is done as we have already established that we want lighter color like the skin to be magenta colored.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2Fq8VLPYqLxfo4ATtEvN84%2FEx_Basil_ToneCurve_Green.png?alt=media&#x26;token=501c25c1-789e-4185-92e7-d9249b646e20" alt=""><figcaption><p>Green Channel</p></figcaption></figure>
{% endtab %}
{% endtabs %}

## Cropping

This can be done quickly with **masking** at the end product, **magic wand** or **fill tool** with transparent value both works.

<div><figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2F1qiXPx21WAVzTOwexhmr%2FEx_BasilPortrait_3.png?alt=media&#x26;token=ee48106e-686d-4efa-ab6b-a1b3f2fda70e" alt=""><figcaption><p>Basil now cropped</p></figcaption></figure> <figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FWBJo8slCdBNCVkXLMKEY%2FEx_BasilPortrait_Layout.jpg?alt=media&#x26;token=9626a338-e579-4d07-9cdd-7f97d8961ef7" alt=""><figcaption><p>Layout shown. The masking layer is done on the folder for ease.</p></figcaption></figure></div>

{% hint style="info" %}
Sometimes there may be issue with selection fill, it may be good idea to increase contrast or remove the texture layer temporarily first.

If done grouped in a folder, make sure it is set to **Normal** blending mode.
{% endhint %}

## Chromatic Aberration <mark style="color:red;">(Optional)</mark>

Curiously, in Basil's portrait sprite and some other headspace sprites there seems to be slight amount of chromatic aberration. In this case can be seen by slight magenta shade above lines and cyan shade below.

Chromatic aberration gives the sprite a slight more pop with more color variance, though might be annoying to work with.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FReXCMD4CJfWX5psNBWhb%2Fimage.png?alt=media&#x26;token=235d63ad-8366-4130-8998-83fd1c2df653" alt=""><figcaption><p>Zoomed in original sprite, notice the cyan below lines and magenta above</p></figcaption></figure>

Chromatic aberration can be quite differing in method in different art program, so it may be better to research about it in your own program case rather than explained here.

In this example, the red channel is offset by 2 pixels upward.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FWa1JF6ObOX4JPcWAINhd%2FEx_BasilPortrait_4.png?alt=media&#x26;token=0dde8bc9-25da-4ca0-814d-24e5dec46f87" alt=""><figcaption><p>Chromatic Aberration applied, 2 pixels vertical difference in red and blue channel</p></figcaption></figure>

## Resizing

Now that the sprite is done, it is time to resize back to the game file size of 106x106. The **interpolation method** used here is **average colors** to give it a smooth look and accurate coloring.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FOtCKnn43gTWhpe8ZJGDL%2FEx_BasilPortrait_5.png?alt=media&#x26;token=c67f88b7-97d1-4624-9aa2-372222d978a9" alt=""><figcaption><p>Sprite now resized to 106x106</p></figcaption></figure>

{% hint style="info" %}
From this point on it might be good idea to do the steps in mass after making multiple sprites already, to avoid taking time to individually resize everytime.
{% endhint %}

## Sharpen

Take a look at original sprite, you may notice how portraits tends to have strange white border around the lines. This is a result from sharpen effect.

Sharpen is used to make the image less blurry making lines more defined. In this case the "blur" is due to resizing.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FzBiui8OzpxBsW11C90yr%2FEx_BasilPortrait_6.png?alt=media&#x26;token=603f10a1-a68f-4402-90ec-15083699aba2" alt=""><figcaption><p>Unsharp tool applied on image</p></figcaption></figure>

## Final Result

And it is finished! Here are comparison between original (left) and recreation (right).

<div><figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2F8WQSiZG4VJesmLEVRbKM%2FPortraitEx_Original.png?alt=media&#x26;token=f3d6eac9-3fc5-468d-b158-484267e34f3f" alt=""><figcaption><p>Original</p></figcaption></figure> <figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FzBiui8OzpxBsW11C90yr%2FEx_BasilPortrait_6.png?alt=media&#x26;token=603f10a1-a68f-4402-90ec-15083699aba2" alt=""><figcaption><p>Recreation</p></figcaption></figure></div>

## <mark style="color:blue;">\[Tip]</mark> Separating Head and Face

To save time on making multiple face, a faceless head template could be made, and have the face variants be added on top later.

Older Omori sprites are all redrawn entirely for every frame, but for more newer sprites, like Basil's battle portraits for console content, the face are split.

<figure><img src="https://1531178822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwI4drJ7siZz9jLJbyGwT%2Fuploads%2FcBOUEyLIrnBqT1fx604M%2Fimage.png?alt=media&#x26;token=a368b949-9ef2-4b7e-bb99-570d8b638240" alt=""><figcaption><p>Basil's sprite in Nucleus Art Gallery</p></figcaption></figure>
