Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity 5 for Android Essentials

You're reading from   Unity 5 for Android Essentials A fast-paced guide to building impressive games and applications for Android devices with Unity 5

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781784399191
Length 200 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Valera Cogut Valera Cogut
Author Profile Icon Valera Cogut
Valera Cogut
Arrow right icon
View More author details
Toc

Summary

In this chapter, you learned a lot about writing shaders and their optimization. We started with a simple shader code and examined the fundamental elements in Unity surface shaders. Next, we wrote our custom diffuse lighting model. Also, we examined global illumination. We explored the various optimization techniques by changing the shader variable types, as well as by writing specific directives. Towards the end of this chapter, we covered the best case practice while developing shaders using CgIncludes files, and learned how to use its code.

The next chapter will cover legacy and Mecanim animation systems in Unity 5. You will also develop a simple custom sprite animation system and explore how to import, set up, and play audio files inside your scripts in Unity 5. At the end of the next chapter, you will explore the physics and particle systems in Unity 5.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image