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.
- [Jesse] Hello, my name is Jesse Freeman, and in Unity 5 2D: Texture Rendering, we'll learn the basics of how the Texture2D class works. I'll start by teaching you how to create a Texture2D from an external file and display it on the screen. Then, we'll learn how to sample color data, and finally we'll create a simple way to draw and erase pixel data from the texture at runtime. I hope you enjoy this course as much as I did making it. Now let's get started.
- Accessing Texture2D pixel data
- Using raw images
- Reading color data
- Detecting the position of a mouse
- Creating textures
- Drawing and erasing pixels