Getting ready

To begin this recipe, you will need to create a new shader file (ScrollingUVs) and material (ScrollingUVMat). This will set us up with a nice clean shader that we can use to study the scrolling effect by itself.

Get Unity 2018 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.