How to use object scale in shader graph - Unity tutorial
To use the scale of an object in shader graph we need to modify UV values that we pass to the rest of our shader. In this video I will show you how to use Object node and Tiling and Offset node to do just that.
@Jettelly
Learn all there is about shaders in Unity
https://learn.jettelly.com/unity-shader-bible/
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
https://courses.sunnyvalleystudio.com/
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
#unity2d #shader
00:00 Intro
00:29 Water shader
01:54 Problem - We don't scale UVs
03:18 Tiling and Offset node
04:31 Including Object scale
05:58 Testing
Видео How to use object scale in shader graph - Unity tutorial автора Доход с JS Проектов: Как Заработать Больше
Видео How to use object scale in shader graph - Unity tutorial автора Доход с JS Проектов: Как Заработать Больше
Информация
3 декабря 2023 г. 12:49:45
00:07:46
Похожие видео