Reader small image

You're reading from  Ouya Unity Game Development

Product typeBook
Published inOct 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781783559701
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Gary Riches
Gary Riches
author image
Gary Riches

Gary Riches is a longstanding member of the iOS developer community. He has a keen interest not only in established sections of the industry such as gaming but also in emerging technologies such as Ouya, GameStick, and others. Filled with a passion to program on new systems, he has just become a registered Wii U developer and will also create content for Xbox One and PlayStation 4. To target so many platforms he uses Unity, which he learned while working on the Augmented Reality SBook for Saddington Baynes. When not building software for other companies, he builds his own business by creating photo manipulation apps such as Zombify Me, games such as Aztec Antics and Amazed, and also works on educational apps and games such as Nursery Rhymes: Volume 1, 2, and 3.
Read more about Gary Riches

Right arrow

Texturing your Prefabs


While the mechanics of the game have been developed, we're still using our initial place holder prefabs. We can add a texture to the prefabs really easily and it should hopefully improve the look of the game immensely.

Import the package texturesAndMaterials.unitypackage from the files for this chapter, you should have the following new files:

  • Materials/crate.mat

  • Materials/moonsurface.mat

  • Materials/rock_seamless_256.mat

  • Scripts/AstroDude.shader

  • Skyboxes/MoonReflection.cubemap

  • Textures/astrod00d_selfillum.tif

  • Textures/flag.png

  • Textures/moonsurface.tif

  • Textures/moonsurface_normals.tif

  • Textures/stars.tif

First things first, we need to update some of the materials and textures to be better suited to our prefabs. Click on Textures/ rock_seamless_256, and in the Inspector panel, change the Max Size to 64 as shown in the following screenshot. Do the same with rocks_normals, moonsurface, and moonsurface_normals:

It's because our materials and textures came from the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Ouya Unity Game Development
Published in: Oct 2013Publisher: PacktISBN-13: 9781783559701

Author (1)

author image
Gary Riches

Gary Riches is a longstanding member of the iOS developer community. He has a keen interest not only in established sections of the industry such as gaming but also in emerging technologies such as Ouya, GameStick, and others. Filled with a passion to program on new systems, he has just become a registered Wii U developer and will also create content for Xbox One and PlayStation 4. To target so many platforms he uses Unity, which he learned while working on the Augmented Reality SBook for Saddington Baynes. When not building software for other companies, he builds his own business by creating photo manipulation apps such as Zombify Me, games such as Aztec Antics and Amazed, and also works on educational apps and games such as Nursery Rhymes: Volume 1, 2, and 3.
Read more about Gary Riches