# Decals

Codemaster cars all have horrible mapping. Making the decals from scratch with it is a lot worse than walking feet naked on a knife road. Until now, we had two solutions. Either we use the psd template from here where it already has the decals mapped, we just need to import it in blender as .obj and make it fit the car. Or we use Blender shrinkwrap option.

Fortunatey there is an even easier method called 3DSimed !

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2Fj3dE0QoLXy4OOIhzcOGc%2Fimage.png?alt=media&#x26;token=302e69c3-3e4f-461a-a8f2-10eb62487f1a" alt=""><figcaption></figcaption></figure>

First, select the material which has the decal, you can see that it is on Channel 1.

select the 7th icon (edit texture channel coordinate) on the top right and do Copy UV -> Channel 1 to Channel 0

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FGW5B58xL4WDIhOSIVTF2%2Fimage.png?alt=media&#x26;token=7421b3de-1629-411e-801b-e6c092fefacb" alt=""><figcaption></figcaption></figure>

And select the decal texture as the main texture&#x20;

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FXuevyLf1hf7U1MhPO0KC%2Fimage.png?alt=media&#x26;token=a4f8c7b9-02fd-4d42-9157-2286535ffaed" alt=""><figcaption></figcaption></figure>

Congratulation you have a black car with decals on it! Now onto the next step, let's merge the decal and the livery.

Export the car as is to .dae and import it in blender.

The first step is to remove everything that isn't the body.

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FQkSrHj3PfxMKhSwVk7J1%2Fimage.png?alt=media&#x26;token=372c7118-6ec0-4ca9-8967-411ebbebdaa5" alt=""><figcaption></figcaption></figure>

Now select the mesh, and separate it by material

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FDkKb4RgGjxFuklYl1Ogy%2Fimage.png?alt=media&#x26;token=5a824c69-bc56-4d6c-b88c-5477f9c9b5b4" alt=""><figcaption></figcaption></figure>

Now keep only the parts that have REDBULL\_05 as material (which is the material on which the decal is applied)

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2F1ERWSnANh5Z067SYtLPR%2Fimage.png?alt=media&#x26;token=2fdf66fd-7c4a-4b49-b452-a2cbb1aafed4" alt=""><figcaption></figcaption></figure>

Time to merge, export this, and get back to the car you were working with. Go in render mode now.

\*wait for 10 minutes for my weakass intel GPU to render it\*

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2Fx1xOwnaAGCrkEXN3RSKH%2Fimage.png?alt=media&#x26;token=614bbdf4-2e0d-4f72-a300-b5e6e7079dd9" alt=""><figcaption></figcaption></figure>

Ok well, of course adding the decals like that won't magically fit the car, since both are the same size and position they are interfering with each other. So now there is two way of doing it.

Either you're lazy, and you change the scale to 1.002 so that the decals get out of the car, or you cut the body which has the decals in multiple pieces. Each object must contain one sponsor, and you move them by 0.001m

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2F5NxXFKrnBcAmGmNTolSI%2Fimage.png?alt=media&#x26;token=5b7b7df3-5977-4401-be63-a58b8e8dfefa" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1458351472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTVGw30j1B4rUs439QBl%2Fuploads%2FKYHcSD4x0RxisJ0X6agt%2Fimage.png?alt=media&#x26;token=6cf8ffda-40b8-4b53-9ecd-0800ca7e352b" alt=""><figcaption></figcaption></figure>

Either way, you should get this result in the end, if you don't like the black thing, then just set the blend mode to alpha blend so that transparency is applied.

And it's done, you have your decals applied on the car !
