Тёмный

Add, Subtract, Multiply & Divide (Shader Math) | 5-Minute Materials [UE4/UE5] 

PrismaticaDev
Подписаться 63 тыс.
Просмотров 34 тыс.
50% 1

In this episode of 5-Minute Materials we look at the basic math operations; Add, Subtract, Ultiply & Divide. These are THE most common shader math nodes you'll be using in the shader graph and are vital to achieving any level of success with your materials. I've tried to keep this as broad as possible to try and offer a basic understanding of what is going on when you're using these node :)
As always if you require any assistance, join our Discord server for 24/7 Unreal Engine support :)
------------------------------
Discord: / discord
RU-vid: / prismaticadev
Twitch: / prismaticadev
Patreon: / prismaticadev
Twitter: / prismaticadev
------------------------------
Computer Specs:
Ryzen 3900x 12-core CPU
MSI Geforce RTX 2080 Super
64GB Corsair RAM
One of those fancy nvme m.2 SSD's
Programs of choice:
Unreal Engine 4 - (Game Dev)
Blender 2.8 - (Animation and Modelling)
OBS - (Video/screen capture)
Davinci Resolve - (Video editing)
Adobe Photoshop - (Graphics and Texturing)
Quixel Mixer - (Texturing)
ProTools 11 - (Compositions and mixing)
OldSchool Runescape - (Chillax time)
Filmed using:
Sony A7s2 body
Sony 24-70mm f/2.8 GM lens
Yonguo YN360 LED's for colour
Yongnuo YN760 chip LED w/ Godox softbox for key
My lovely cats names are Boycat, Girlcat and Ladycat :)

Опубликовано:

 

14 фев 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@hrleinad
@hrleinad 3 года назад
The way I see multiplying a texture is as follows: The whole texture is a whole unit, so = 1; then if I multiply it by 3, it means that that same texture must fit 3 times in the same space, and that's why it seems to get smaller.
@PrismaticaDev
@PrismaticaDev 3 года назад
That's a really nice way of thinking about it! It's definitely about finding our individual ways to help get our heads around these bizarre concepts haha
@notroMcS
@notroMcS 10 месяцев назад
This made everything so much more straightforward - thank you! I have been watching beginner tutorials and watching people multiply .PNG files, with no explanation whatsoever, I was completely dumbfounded.
@thegreendude2086
@thegreendude2086 Год назад
I find it really hard to convert these visual things into math in my head, but this was definitely a step forward Showing it on a graph helped a lot, thanks mate
@PrismaticaDev
@PrismaticaDev Год назад
No worries! It can definitely be a bit of a pain but once it clicks then you can do anything you want with them. Graphs are always my go-to for visualising them :)
@KINGDOMSONSTV
@KINGDOMSONSTV 3 года назад
Been catching up on your streams hoping to catch you Live. You are making a lot of progress. Just started on doing Landscapes & have had headaches for about a week from it. Keep up the great work
@matejkovacik934
@matejkovacik934 3 года назад
Hey Charlie, thanks a lot mate for all these simple little videos, you're a great teacher, this channel shall get way bigger in no time :) Cheers from Prague
@PrismaticaDev
@PrismaticaDev 3 года назад
No worries at all my dude! Hope it helped out :)
@Drakuba
@Drakuba 2 месяца назад
8:55 the way i understand it, you dont multiply the size of texture, but the amount of TEXTURES you want to fit in
@PrismaticaDev
@PrismaticaDev 2 месяца назад
Exactly! That’s the way I like to think of it haha
@dbk4149
@dbk4149 2 года назад
Taking a stab at my...excellent, math skillz XD You my new fav tutlord! Thanks bro, your vids are a pleasure to watch and hyper informative, even for us still in unreal elementary skool ;P
@Tkonpk
@Tkonpk 3 года назад
One of your most useful tutorials. I love these beginner tutorials as they allow us to take advantage of some of your more advance tutorials.
@PrismaticaDev
@PrismaticaDev 3 года назад
I'm glad you think so! The main reason I started this series was to give people the base understanding so that when they follow any other material tutorial they understand what's actually going on with each step.
@Fokkusu
@Fokkusu 3 года назад
double episode yay :D, thanks for covering what may be the most useful at first material nodes ^-^ (I may be wrong but anyway, very useful ♥)
@PrismaticaDev
@PrismaticaDev 3 года назад
Haha thanks Alejandro
@wirrexx
@wirrexx 2 года назад
How have I missed this? You are the hero we all need!
@bransomething
@bransomething 3 года назад
This was such a helpful explanation! Thank you!
@PrismaticaDev
@PrismaticaDev 3 года назад
Awesome to hear! Hope it serves you well mate :)
@bravegamestudio3724
@bravegamestudio3724 2 года назад
Really good stuff, that helps a lot
@andy0x58
@andy0x58 Год назад
Awesome! Thank you!
@clee7408
@clee7408 2 года назад
Excellent information!!
@3xchris
@3xchris 2 года назад
Very helpful, thank you!
@RafaelSatoX
@RafaelSatoX 8 месяцев назад
Thanks man!
@joeanrachelmiller6529
@joeanrachelmiller6529 Год назад
I think that i remember something from physics or calculus that explains this, and the UV instead of XY has to do with mathematics on a univeral scale. It's that 4th dimenstion between the 3d game world and your 2d screen kinda math.
@IPpainting
@IPpainting 2 года назад
As multiplying the UVs is affecting the Tiling, multiplying by 3 for example gives it 3 times as many versions in that axis. When using both axis then its 3x3 ofc
@jufriosdhso
@jufriosdhso Год назад
Another hero!
@mobildisko579
@mobildisko579 9 месяцев назад
I didn't understand what it was until I explained the numbers and in the 2nd example, now I'm better
@secondhandsightsound3823
@secondhandsightsound3823 3 года назад
Very handy!
@nothingspeaks
@nothingspeaks 2 года назад
I think of UV ADDING as adding location (basically shifting it in a direction) where multiple, is multiplying the texture itself (basically tiling it like he mentioned)
@Baleur
@Baleur Год назад
3:00 so in photoshop terms i'd actually say it this way. Add = Brightness Multiply = Exposure
@RiversJ
@RiversJ 2 года назад
Your can have values up to the maximum float value in shaders, they just will not be represented during rendering but you need to know during calculation of previous phases that values can exceed billions if you don't saturate.
@moneynamazi5893
@moneynamazi5893 2 года назад
Great tutorial. Actually the UV naming has a mathematical reason. I suggest searching up UV integration on the internet, Where you stretch a complex plane in a way that becomes easier to integrate by transforming it from XY coordinates to UV coordinates. The same way that you UV unwrap a 3D model so you can avoid stretching in the texture. Math is art :)
@benjaminbond3301
@benjaminbond3301 3 года назад
In ue4 texcoord start 0,0 in the top left and 1,1 in the bottom right. Just a clarification.
@PrismaticaDev
@PrismaticaDev 3 года назад
Very true! I'm so used to worldspace coords... Or maybe my world is the wrong way around :')
@dunkeshon2309
@dunkeshon2309 Год назад
Gold
@Optamizm
@Optamizm 2 года назад
With the explaining UVs an texture scaling, it's simply saying how many times do you want to see the texture over the object. So changing it from 1 to 2 you're saying I want to see it 2 times instead of 1.
@bulletmunchr
@bulletmunchr 3 года назад
Can I finance this channel for these videos? These are well explained. Seeing example recreated materials from games would be great too, as well as thought process around material planning.
@PrismaticaDev
@PrismaticaDev 3 года назад
Hey mate :) if you’d like to support the channel you can join our Patreon (link in the description) I love the idea of recreating cool shaders from games! And I think I will start explaining my thought process for material planning for all my future tutorials as I think it would be really valuable for people to understand what happens before any code is done
@allashama
@allashama Год назад
Great tuto, i suggest an other tutoriel about this complex subject,with more exemples.I liked the exemple. the Paint exemple was a bit hard me for to understand, i prefered the In game exemple. The 0 - 0.5 - 1 graphic was great.
@felixmikolai7375
@felixmikolai7375 3 года назад
Excuse me Charlie but where did you learn all the stuff? I watch tutorials for 3 weeks now and I guess I barely got a vision of how a whole game is made. Just started earning my first badges today in unreal learning forum :‘) Wish u the best, your a nice guy and I’m really impressed how u master everything.. keep on going like that, looks awesome till now :)
@PrismaticaDev
@PrismaticaDev 3 года назад
Congrats! The Unreal learning resources seem really well structured - I learned from a various bunch of RU-vid resources but I think most of my learning actually happens when I'm not at the computer. Things just seem to "click" when I'm away from my desk. I guess I'm just always thinking about making games and stuff haha
@rebelmuffin4878
@rebelmuffin4878 3 года назад
Hey, just seeing your channel and I love your content but I want to ask if you made a tutorial for that grass or planning on making one. In any case, great work, keep it up my mate!
@PrismaticaDev
@PrismaticaDev 3 года назад
Heya muffin! I have a tutorial that covers all of my grass stuff (colouring it using RVT's, adding Wind with a global wind system, and hiding it underneath certain meshes) the only thing I don't cover is making the actual mesh - this is because it's literally just a few little triangles haha. Here's the mesh if you'd like to give it a whirl! www.dropbox.com/s/zf6cuzrjz9hhsyk/PrismaticaGrassLongUpwardNormals.fbx?dl=0
@rebelmuffin4878
@rebelmuffin4878 3 года назад
@@PrismaticaDev Thanks a lot mate, I'm sure this will point me in the right direction!
@Pouk3D
@Pouk3D Год назад
Epic.
@hotsauce7124
@hotsauce7124 Год назад
Question: May I ask how I can use a material MATH node to offset a UV across an Atlas? Ultimately, I would like to use a Control Rig controller (set to integer) that would offset the UV across the atlas one UV tile at a time? When the Controller is moved along the X axis, the controller will be at an integer value of 0, 1, 2, 3,...24. The controller’s integer value would offset the UV one UV tile at a time across the texture atlas coordinates set in the material, the UV would pop across the atlas not slide across the atlas. Linking the UV position in an atlas to a Control Rig controller is on my mind. Thank you for this video, it is brilliant.
@davidreason3919
@davidreason3919 9 дней назад
lol this is actually complex. And I teach this stuff. V well explained
@sinemier737ng
@sinemier737ng 13 дней назад
And that's why you need to listen high school math lessons
@DodgerEcho
@DodgerEcho Год назад
Millions likes👍👍👍
@another7please
@another7please 2 года назад
1:27 How do you get it to update the preview while you're dragging? For me I have to let go and then it takes a second to refresh the material preview to show the updated settings. edit: nvm i see you're using the scene view not the preview
@PrismaticaDev
@PrismaticaDev 2 года назад
Was just about to answer haha. Yeah having it in the scene will update the instance instantly
@Juno006
@Juno006 Год назад
boooost reaaach gooooooooooooo
@user-db1rv4ou4l
@user-db1rv4ou4l 3 месяца назад
thx most people teaching UE skip this step
@Jake-co7rt
@Jake-co7rt 2 года назад
These are awsome! Thanks for doing them. Also: The music is distracting. You don't need it.
@PrismaticaDev
@PrismaticaDev 2 года назад
Thank you! And I will keep the music in the background - otherwise the videos are extremely dull hahaha
@Jake-co7rt
@Jake-co7rt 2 года назад
@@PrismaticaDev Well, I'll probably keep watching anyway, 'cause the content is good. But I disagree. Not boring at all. (c:
@Lavonne1
@Lavonne1 Год назад
Ma 🧠
@miloszgierczak4806
@miloszgierczak4806 2 года назад
BLACKA
@Baleur
@Baleur Год назад
Dude i have to literally FORCE myself not to open Unreal Engine while watching these. Because i cant have every video last 3 hours from me doing stuff in engine after being inspired. I have to.... just.... relax... RELAX, god dammit.. Relax... Lean back, just absorb the knowledge. Just learn. STOP, do NOT click on the project icon. Please just let it go, implement tomorrow, learn today. Just me?
Далее
The Time Node | 5-Minute Materials [UE4]
5:19
Просмотров 22 тыс.
Sine and Cosine Nodes | 5-Minute Materials [UE4]
9:27
Самоприкорм с сестрой 😂
00:19
Просмотров 298 тыс.
🎤Пою РЕТРО Песни ✧˖°
3:04:48
Просмотров 1,7 млн
Marketplace Assets: Who, what, when, where, WHY?
24:32
The Switch Node | 5-Minute Materials [UE5]
13:00
Просмотров 14 тыс.
The Fresnel Node | 5-Minute Materials [UE4]
6:47
Просмотров 40 тыс.
How Big Budget AAA Games Render Clouds
10:45
Просмотров 261 тыс.
The Noise Node | 5-Minute Materials [UE5]
10:44
Просмотров 25 тыс.
How I made the Falling Sand shader [Free UE4 Tutorial]
21:01
Light Functions | 5-Minute Materials [UE5]
14:05
Просмотров 14 тыс.