O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Model and Shade your Hero/Heroine

In the last two chapters, we have learned how to create a UI by using the OnGUI function, and a 2D platform game that used the 2D sprite texture to create our 2D character, and also got to know a bit of the 3D world in the first chapter. So, in this chapter, we will be using a full 3D character. We will take a close look at how to import the next generation 3D character modeling, and how to apply the material to the model. We will also get an understanding of the shader programming in Unity, and create a custom shader by writing and adapting shader programming. We can then use the Cg/HLSL shader language to write vertex and fragment programming.

Note

"Cg (C for Graphics) is a high-level shader language ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required