Community-Game-Development-Toolkit

⬅️ back home

Creating drawings and sketches for use in your project

Start by making a drawing

Crayons are fun!

Make a drawing and take a photo of it. Try to take photo with even background light. Better yet, scan your drawing. Here is an example:

unity

Open in Photoshop

unity

Before:

unity

After:

unity

Adjusting your image in Photoshop to make it easier to make a selection

Open your image, and from the menu bar choose Image -> Adjustments -> Levels. Fool around with these markers to make your drawing stand out from the background:

unity

Usually it helps to move the right most marker inwards to make bright parts brighter, and the middle marker to the left to increase contrast:

unity

Make a selection using the Color Range Tool

unity

Now you should have something that looks like this, showing your selection:

unity

Press delete to delete the selected background. You should see checkerboard background, indicating transparent areas:

unity

Saving as a Transparent PNG

If you have a multicolor drawing

Example:

unity

unity

unity

Saving as a Transparent PNG

Add the photo to your CGDT Unity project