Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Unity 5 2D: Texture Rendering

via LinkedIn Learning


Unity developers use textures all the time. This course explains how textures work under the hood at the pixel level, so you can learn how optimize textures for 2D games.

Get introduced to Texture2D and learn how to work with raw images and manipulate pixel data at run time for 2D games. This course covers how to create texture renderings from scratch. Learn how to access pixel data, read color data, add pixels, and remove pixels. Discover how to further customize Texture2D files for use in a game.


  • Welcome
  • Using the exercise files
  • What you should know
  • Pixel Vision 8
1. Introduction to Texture2D
  • Introducing Texture2D
  • Using raw images
  • Accessing Texture2D pixel data
  • Reading color data
2. Using Pixel Data
  • Detecting mouse position on Texture2D
  • Accessing pixel data under the mouse
  • Creating a color picker
3. Pixel Data in Texture2D
  • Clearing texture
  • Drawing pixels on Texture2D
  • Erasing pixels on Texture2D
  • Saving Texture2D as a PNG
  • Next steps

Taught by

Jesse Freeman

Related Courses


Start your review of Unity 5 2D: Texture Rendering

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free