Game Development Reference
In-Depth Information
There in the botom right-hand side is the image size, 1024! But we created a 2048x2048
image! What's happened? Actually, it's not as bad as you think, and can be easily corrected.
Here's how:
1. Select the arrow next to the Map_Base folder and select Map_Master .
2. On the right-hand side, note that a Max Size import rule for 1024 pixels has been
added. Change this now to 2048 .
3. Click on the litle buton shown in the top right-hand side of this screenshot and
click on the Override or Standalone box.
4.
Click Apply and wait for Unity to update the scene. You now have a high-resoluion
terrain texture; the resoluion you intended to use when you made it in GIMP.
Once you've completed the exercises in this topic and you're happy with
working in SketchUp, GIMP, and Unity, you can try the largest texture size
allowed for the map, which is 4096x4096 pixels. You may need to increase
the memory allocaion in GIMP to use this image size, and if you're using
an old PC, you may find it slows things down while you work on it.
What just happened?
As you know, the most important consideraion when creaing textured assets for games, is
size. Small textures and less polygons (faces) are best for performance reasons. This is more
true than ever now that 3D games are being created for tablets and phones. Unity is trying
to limit the size of textures it imports to what it believes to be a sensible size for a game. We
would agree with this for most things, except for this large-scale terrain texture, which we
think needs to be much bigger than 1024x1024 pixels. So, we are just overruling Unity on
this occasion.
Creating lights
You're now going to insert three lights. One to act as the sun, and the two of them to act as
interior lights for the main building.
 
Search Nedrilad ::




Custom Search