How to add a texture to shader graph

Let’s take the previous article and learn how to add a texture. Start by adding a 2d texture. In order to use textures, you need to use another node called sample texture 2d.

We can then mult so the texture comes in after the vertex color adjustment.

Now we add this pattern onto our texture channel and because it’s multiplied in, the black transfers and the white turns opaque.

--

--

--

Unity Developer and Software Engineer who loves making games with GameDevHQ

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Scripts: GlideRecord sys_history_set / sys_history_line / sys_audit

Electron-React Boilerplate: Redux-Form, Creating Form Field Components and Form Components With…

Introducing Create-React-App Version 2.0

✨Welcome to @HRCrossing

RESTful APIs (JavaScript)

Using The Ternary Operator And Nullish Coalescing

Using API Gateway Web Socket API with React, Redux and “Serverless” :: Part 02

How To Use React Date Range Picker npm

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Al Heck

Al Heck

Unity Developer and Software Engineer who loves making games with GameDevHQ

More from Medium

Separating game, voice chat, music, etc in OBS Studio (Windows 10+ only)

ABAP Object-Oriented Shorts: Class Visibility

Analyzing a .Net Sample: ziraat_limpi.exe

C++ Tutorial — Linked List