# Shader Development from Scratch for Unity with Cg

## Learn to program the graphics pipeline with Unity’s Shaderlab for creating unique visual surfaces for game objects.

This course presents a comprehensive guide to programming with Cg and High Level Shader Language in Unity’s Shaderlab to create your own visual surface effects for colouring and lighting game objects. It covers the mathematics of light and surfaces and steps you through the recreation of some of the most popular shaders. Many computer graphics concepts will be presented to help you understand the graphics pipeline and provide you with an essential toolkit of rendering knowledge that will have you developing your own transparent, animated and texturised shaders in no time.

In this course, Penny teaches all the invaluable skills you will require to program the computer graphics pipeline in Unity from scratch using her internationally acclaimed teaching style and knowledge from over 25 years working with games and graphics.  But hold on tight as you’ll be taken on a journey across the computer graphics realm as it is taught to post-graduate university students. Through detailed descriptions and hands-on workshops examining all you need to know about rendering queues, vector mathematics, graphics buffers, colour theory, 3D meshes, texture mapping, lighting models and much more.

Learn how to program and work with:

• variables and packed arrays,
• meshes, vertices and UVs,
• the mathematics for working with objects in 3D and 2D spaces,
• a variety of lighting models from creating flat shaded objects to highly reflective shiny surfaces,
• bump maps for adding extra depth and dimension to surface textures,
• special effects such as holographic, scrolling textures and surface deformations,
• the variety of graphics buffers used in the rendering pipeline,
• forward and deferred lighting, and
• surface, vertex and fragment shaders written in CG/HLSL.
What Will I Learn?
• Use Unity Shaderlab to create their own shader effects with CG/HLSL.
• Apply their knowledge of simple mathematics to change the visual surface of virtual objects.
• Work with mesh vertices and textures to develop unique rendering effects.
• Demonstrate a knowledge of the graphics pipeline and apply it to problem solving shading issues.

## Info Tutorials/Courses

Includes:
• 6 hours on-demand video
• 21 Articles
• 48 Supplemental Resources