- Home /
Question by
entropy283 · Feb 07, 2020 at 03:29 PM ·
shadershaderstexture2d
How to add a texture to unlit shader graph in inspector?
I have made a unlit shader that maps a texture based on uv coordinates in the world space but in the inspector I cant chose the texture to be used with the shader. is there something I should be changing? Thanks!
screen-shot-2020-02-06-at-111150-pm.png
(229.6 kB)
screen-shot-2020-02-06-at-110845-pm.png
(48.8 kB)
Comment
Answer by entropy283 · Feb 09, 2020 at 02:26 AM
For anyone who is looking for a solution, you need to just bring in a new texture2D node from the panel on the left hand side on the shader graph window and that will allow you to modify that parameter in the inspector.
Your answer
![](https://koobas.hobune.stream/wayback/20220612222918im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Converting c# function to shader. 0 Answers
Combining 2 black-white textures 2 Answers
How to create a shader for a dynamic linear gradient 0 Answers
What's the best way to read a texture in camera space in a vertex shader? 0 Answers
Shader tiling error 0 Answers