Unity Shader Graph Basics (Part 2 - Textures and UVs)

  Рет қаралды 23,295

Daniel Ilett

Daniel Ilett

Күн бұрын

Textures allow you to add far more detail to objects than you would ever be able to provide with other shader functionality. Learn how textures and UV mapping works in this tutorial.
I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions.
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/dan...
🍃 Get the grass texture: ambientcg.com/...
📰 Read this tutorial in article format instead: danielilett.co...
------------------------------------------------------------------------
📚 Get a copy of my shader book here (affiliate): www.dpbolvw.net...
✨ Grab my Hologram Shaders Pro package here (affiliate): assetstore.uni...
✨ Grab my Snapshot Shaders Pro package here (affiliate): assetstore.uni...
------------------------------------------------------------------------
💬 Join the Discord: / discord
💖 Support me on Patreon: www.patreon.co...
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/dani...
------------------------------------------------------------------------

Пікірлер: 37
@fatgrubman645
@fatgrubman645 2 ай бұрын
This is brilliant. Its hard to find a good teacher that explains why, as well as what to do. Kudos to you and I will carry on the series sir!
@Nevermore101
@Nevermore101 4 ай бұрын
Thank you for explaining the dark arts of shaders to us common folk!
@sethsmucker7093
@sethsmucker7093 7 ай бұрын
If anyone's having trouble with their moving sprites getting "stuck" and not wrapping, make sure that you set the Wrap Mode to Repeat in the sprite's settings.
@maliciouscompliance6489
@maliciouscompliance6489 18 күн бұрын
Legend!
@stelabouras
@stelabouras 9 ай бұрын
Keep up the great work Daniel!
@danielilett
@danielilett 9 ай бұрын
Thanks, I'll try! By the way, I hope your Unity Library is still going strong, it's a really useful resource for practically anyone using Unity!
@stelabouras
@stelabouras 9 ай бұрын
@@danielilett Oops, you've found me! Thank you for your kind words Daniel! It's really good to know that it's a useful resource for more people than just myself! Yes, I am still updating the library and the Shader Graph online editor, but I am thinking of doing a major overhaul to the library as simple categories are no longer suitable for some links. I think a tag-based approach is better, which means I need to revisit and re-tag every single link 😅
@danielilett
@danielilett 9 ай бұрын
I do not envy the amount of work that would go into needing to tag everything differently!
@stelabouras
@stelabouras 9 ай бұрын
Maybe I will try my luck getting the AI to generate the tags for me 😅
@Kaizien
@Kaizien 3 ай бұрын
This series is gold! Thank you!
@LuizMoratelli
@LuizMoratelli 9 ай бұрын
HOLY! So well explained! Thank you A LOT
@C0llinsW0rth.
@C0llinsW0rth. 5 ай бұрын
ended up finding the option "always refresh" in the toggle at the top right of the scenes view window
@SlyKrooper
@SlyKrooper 9 ай бұрын
Keep up the great work!
@rosi_cozy371
@rosi_cozy371 9 ай бұрын
Thank uu! Super helpful
@qasimtariqse
@qasimtariqse 9 ай бұрын
I finished part one yesterday. I see this as an absolute win.
@Noob99-zzzz
@Noob99-zzzz 9 ай бұрын
Textures and UV were something that has always plagued me
@TheNewjanaful
@TheNewjanaful 8 ай бұрын
10x a lot, it is golden!!
@dark_teddy
@dark_teddy 24 күн бұрын
Hello, I want to make a shader that make the texture of a object face the same direction well a rotate the object. does anyone know how to get these results??
@LazPest
@LazPest 6 ай бұрын
How would I add a UV that's been exported from blender
@AshwinSKumar
@AshwinSKumar 2 ай бұрын
Need help UV and texturing on Maya 3D?
@2pingu937
@2pingu937 6 ай бұрын
Yeh no good for me sorry.
@NguyễnDuy-d8f
@NguyễnDuy-d8f 27 күн бұрын
why is my gameobject still receiving the sprite from sprite renderer and not the texture i set up in the shader graph
@C0llinsW0rth.
@C0llinsW0rth. 5 ай бұрын
are you pressing "play" for them to show the scrolling in the scene view? for me, they're staying static, and I need to hit the play button in order to see the actual scrolling. this is a great series! I'm going to go thru all of them, thank you!
@danielilett
@danielilett 5 ай бұрын
As you said in your other comment, it's the Always Refresh option at the top-right of the Scene View. I have that on pretty much all the time so I totally forget it's even an option that's not on by default. Glad you're enjoying the series!
@venkatswaraj3054
@venkatswaraj3054 9 ай бұрын
Thanks for the video daniel
@mikeylodran6042
@mikeylodran6042 23 күн бұрын
a nice tutorial by cute Daniel. thanks
@Idiotischer
@Idiotischer 9 ай бұрын
It would be great if there was another tutorial on the Toon/cel shading Shader!
@danielilett
@danielilett 9 ай бұрын
Do you mean in addition to the cel shading video I made a little while back? I'm not opposed to revisiting the idea - is there anything not covered in that video that you would like to see in a follow-up?
@humanharddrive1
@humanharddrive1 Ай бұрын
life-saving
@maxrose8845
@maxrose8845 8 ай бұрын
Awesome series, very well done. Thanks for putting this together 👍👍
@RafaelSnyder-c2j
@RafaelSnyder-c2j Ай бұрын
amazing
@subirin96
@subirin96 9 ай бұрын
Your tutorial used together with Blender Guru helps beginner dev like me so much. It is difficult to find unity tutorial which holds our hand, explain and guide step by step. My suggestion for future improvement is to increase volume a little bit because only on your channel I need to increase my PC volume from usual 16 to 32. Since your video seems to target absolute beginner, it will be great to showcase a completed demo to convey to student that "you can make this after you finish my tutorial series" just like Blender Guru. Looking forward for more!
@vrtmania
@vrtmania 6 ай бұрын
At 4:40 You multiply the Base Color with the Base Texture, but it doesnt seem to do anything? I was expecting the texture to get a blue filter on top of it, but when you apply the shader to the cube is just the grass texture? You do explain what multiply does, but how does that work exactly. I mean, if you use RGBA the max value for the 3 colors are 255. So, lets say you're multiplying 2 colors together, where color1 has a red value of 78 and color2 has 193. Obviously the new red value is not 78 x 193. So, what exactly does it mean to multiply colors with each other?
@danielilett
@danielilett 6 ай бұрын
You're correct that in Unity the max values for each color channel is 255, but in shaders those values are converted to a 0-1 range. I should have made that clearer - apologies! In your example, color1 would have a red value of 0.305 and color2 would have 0.754, so blending the two together would get you 0.230. In general, that means multiplying any color by white, which has RGB values (1, 1, 1, 1), always gets you back the original color.
@xinjiecao9104
@xinjiecao9104 8 ай бұрын
Hi Daniel, good tutorial, thanks! A quick question, at 5:51 how do you pan move the shader graph's canvas? I didn't manage to do that and am confused about that.🧐
@danielilett
@danielilett 8 ай бұрын
I realize I never explained some common controls! If you hold in the middle mouse button and drag, it'll pan across the canvas.
@elliotthuff5634
@elliotthuff5634 6 ай бұрын
you were made for tutorials :) very easy to understand ty
Unity Shader Graph Basics (Part 3 - Transparency and Alpha)
7:26
Daniel Ilett
Рет қаралды 23 М.
Unity Shader Graph Basics (Part 1 - Your First Shader)
7:40
Daniel Ilett
Рет қаралды 48 М.
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 132 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН
Unlocking The Power Of Unity's Scriptable Render Pipeline
21:05
Game Dev Guide
Рет қаралды 210 М.
The Strange Graphics Of LETHAL COMPANY
15:59
Acerola
Рет қаралды 851 М.
Texture Array как Оптимизация в Unity
8:16
KidCode
Рет қаралды 3,1 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 980 М.
Moebius-style 3D Rendering | Useless Game Dev
8:12
Useless Game Dev
Рет қаралды 835 М.
Unity Shader Graph Basics (Part 8 - Scene Intersections 1)
11:29
Daniel Ilett
Рет қаралды 4,5 М.
UV Maps Explained
8:37
FlippedNormals Marketplace
Рет қаралды 73 М.
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН