So a lot of praises has been made about the graphics in our Ludum Dare game Star Driller Ultra. How did we make such beautiful graphics in a short amount of time?
Well, actually, itâs a lot easier than you think.
First, open Blender.
Select that shape with the right mouse button, then go to the right pane and click on the gear tab (called Modifier).
Click on âAdd Modifierâ, and select âWireframe.â
Now your shape is a wireframe!
After that, itâs just a matter of adjusting the thickness value on the modifier.
Now you can save this model in your Unity projectâs Assets folder, and let the game engine do the rest.
Next, we need to import some toon shaders in Unity. Open Unity, then click on âAssetsâ under the menu bar, and select âImport Package -> Effects.â
Open the Unity project, and drag your new model into the Scene.
On the Inspector panel, thereâs the Material component properties displayed on the bottom. Scroll down there, and change itâs shader to âToon -> Litâ
The cube will still look a bit ugly because it doesnât have a ramp set. Change the ramp to a horizontal monochrome gradient thatâs 2 pixel tall, and 256 pixels wide. This will act as the gradient applied to the object in response to the lighting.
For Star Driller Ultra, we used the ramp below:
After that, just change the Main Color on the material to whatever you want it to be.
But wait! If you switch from Scene pane to Game pane, youâll notice the graphics isnât as awesome as Star Driller Ultra.
Thatâs because weâre missing some image effects; specifically, bloom. Fortunately, weâve already imported it, remember?
Click on your camera, and in the inspector pane, use Add Component to add the following three image effects, in order.
(Adds darker, blurry parts at the corner of the screen)
(Adds blooming light effect)
(Soften shapes with jaggy edges)
Furthermore, for Star Driller Ultra, Weâve adjusted the values in each of these image effects under the inspector as follows:
And thatâs about it. You can see the results for yourself.