Тёмный

HOW TO Color Mask in Blender Shader⬅️ No Photoshop Needed! 

Chris P
Подписаться 52 тыс.
Просмотров 12 тыс.
50% 1

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

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@chrisprenn
@chrisprenn 2 года назад
Here's the back story: I was working on a product visualization for a client and they sent me a PDF of the product label with the note "everything displayed in yellow will be printed with a gold foil application". I would have made a quick mask with a photo editor app but I knew the design will change frequently until it is finalized so I wanted to create a chroma key / color mask inside the shader node tree. You would think this is as easy as using one of the many nodes Blender has to offer? Turns out, you have to do a little bit of work . And this video shows what I came up with.
@seanaholic
@seanaholic Месяц назад
For anyone coming here after they've updated to 4.1, the "HSV" node thing at around 1:26 has been modified. It will no longer be titled "Separate HSV". Instead, use the "Separate Color" node, and there will be a stand-in drop down where you can pick HSV as an option. Great Tutorial btw, lucky to have found it here. Good luck to you guys.
@_evildoer
@_evildoer 2 года назад
This can be greatly simplified with the compare function in the math node. The epsilon replaces the add and subtract nodes, and you don't need the less than and greater than nodes either. Its all done in one node. 5 nodes vs 20 altogether
@chrisprenn
@chrisprenn 2 года назад
I was so focused on explaining WHY that I forgot to think about optimizing the node tree... Using the compare node + blurring the mask here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mqaa8eUqJts.html
@mobinvaryan7196
@mobinvaryan7196 Год назад
thank you i looked for this tutorial for weeks and what good comment sections you also have great viewers I'm glad to find this video
@user-zb9cj6mt5n
@user-zb9cj6mt5n 8 месяцев назад
HEY SIR ! IT WAS EXTREMELY NICE , LEARNT A LOT THANK YOU , .
@WiremuTeKani
@WiremuTeKani Год назад
This is exactly what I was looking for - thank you for this great tutorial!
@YvesBonheur
@YvesBonheur 7 месяцев назад
I find your tuts are extremely helpful and useful,whether it's about shader nodes or geo nodes,thank you so much🥰
@chrisprenn
@chrisprenn 7 месяцев назад
Thank you!
@user-bx6tu8pu1w
@user-bx6tu8pu1w 4 месяца назад
nice tutorial, very useful.
@bDwS27
@bDwS27 2 года назад
fantastic! I've been doing this in a much less practical way , great stuff!
@chrisprenn
@chrisprenn 2 года назад
Simplify the node tree: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mqaa8eUqJts.html
@BlenderBob
@BlenderBob Год назад
Thank you so much Chris! Love your tutorials!
@chrisprenn
@chrisprenn 2 года назад
Check out 2 quick extras in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mqaa8eUqJts.html
@TripTilt
@TripTilt 2 года назад
very interesting and useful! Thanks!
@tiagotiagot
@tiagotiagot 2 года назад
It's a bit hard to spell out the whole noodle setup in a RU-vid comment, but for a feathered mask (softer transition between selected and unselected), you use the vector math Distance node to get the distances between colors (if you wanna measure in HSV space, plug a Separate HSV into a Combine XYZ node to "convert"), and you can control the influence of each component by multiplying the vectors of both the image and the selected color by a same vector before they go into the Distance node, and the overall intensity of the curve can be controlled with math or float curve (or gradient, or map range etc) after the Distance node. Oh, and don't forget to cap the value to the 0-1 range before using it as a Mix factor or whatever.
@danialsoozani
@danialsoozani Год назад
thank you this was very useful and innovative
@drippdrapp
@drippdrapp Год назад
hab mich sofort schockverliebt in deinen kanal super erklaert
@chrisprenn
@chrisprenn Год назад
😁 danke!
@bohdandonchyk
@bohdandonchyk Год назад
you are the man Chris! Tnx
@liamsmyth3849
@liamsmyth3849 Год назад
if you want something even easier just dot product an RGB with the color attribute and use "greater than" or contrast adjust to get the color mask; similar colors will return white from the dot
@MrRainbowCalendar
@MrRainbowCalendar Год назад
Thanks, Chris!!!
@PlanetXtreme
@PlanetXtreme Год назад
Hello good sir. Thank you for your intelligent words, now my project is on a roll again. Wishing you the best.
@PlanetXtreme
@PlanetXtreme Год назад
I'll elaborate because I'm bored, I was creating a stoplight texture and realized I wanted to animate an emission property, only emitting the red, green, and yellow hues. Turns out this was the solution to that equation, and by using a mix node on the original image(ColorA), with a multiply setting(node), comboed with your nodes(ColorB), inputted into emission on BSDF, gave me the solution I was looking for. Your solution even gave me a quick mask for the glassy part of the stoplight.
@alekseyabramov9259
@alekseyabramov9259 2 года назад
Good job, Chris!
@Kavukamari
@Kavukamari 2 года назад
I have a node setup which converts the rgb signal to LAB format and it gives really interesting results when I do something similar, but I need to do a different kind of distance function
@GaryParris
@GaryParris 2 года назад
Excellent Chris
@chrisprenn
@chrisprenn 2 года назад
Thanks!
@johntnguyen1976
@johntnguyen1976 2 года назад
Next level...so useful!
@chrisprenn
@chrisprenn 2 года назад
Thank you!
@simoneiorio9703
@simoneiorio9703 2 года назад
And the final group node seems not computational heavy too!
@chrisprenn
@chrisprenn 2 года назад
And can be further simplified: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mqaa8eUqJts.html
@benskope
@benskope Год назад
Thank you for this, really helpful!!!
@stefanguiton
@stefanguiton 2 года назад
Excellent video!
@chrisprenn
@chrisprenn 2 года назад
Thank you!
@nurb2kea
@nurb2kea 2 года назад
In PS add an image and a hue layer in difference mode. all black now. Change the hue in one color with the slider and at the bottom set the range. Now what do you see? Use this in blender an you're done.
@s7tuts448
@s7tuts448 2 года назад
great video sir
@chrisprenn
@chrisprenn 2 года назад
Thank you!
@genkidama7385
@genkidama7385 2 года назад
couldnt you use a color ramp to set the range
@antonios5572
@antonios5572 2 года назад
what about adding a little blur to feather the mask?
@chrisprenn
@chrisprenn 2 года назад
👍🏻I do that with my little blur node (also in the startup file)
@chrisprenn
@chrisprenn 2 года назад
Watch this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mqaa8eUqJts.html
Далее
How to Create 3D Terrain with Google Maps and Blender!
12:17
EVERYTHING About Blender's Motion Tracking System!
21:54
Bacon на громкость
00:47
Просмотров 87 тыс.
How to Apply Labels in Blender 3D
5:33
Просмотров 22 тыс.
The Secrets of Photorealism
24:38
Просмотров 844 тыс.
Realistic Materials In Blender EEVEE are EASY!
16:30
Просмотров 114 тыс.
Better Edge Masks in Blender - Procedural Texturing
5:31
Recreate your Bedroom in Blender
17:41
Просмотров 1 млн
Bottle Product Viz - Blender 3D Tutorial
2:15:51
Просмотров 9 тыс.
3d Masking in Blender: Two effective techniques
10:31
Bacon на громкость
00:47
Просмотров 87 тыс.