🌐 Have you found the videos Helpful and Valuable? ❤️ Support on Patreon www.patreon.com/unitycodemonkey or get the Game Bundle unitycodemonkey.com/gamebundle.php
@PatrickQ4 жыл бұрын
Yes, your videos are very helpful! Thank you for making the time to put them together. Great work!
@sundarakrishnann82424 жыл бұрын
Its actually Teacher's day out here in India...so Happy Teacher's Day to you!
@chuckdude514 Жыл бұрын
I was about to ask for a tutorial on shaders when I found out that you've already covered them. It's quite amazing how much you have covered on game development in general since you started your channel! You single handedly taught/recommended me so many core concepts (design patterns, OOP and C# features, tools, and so on), so I can't help but thank you yet again for all these free and paid tutorials, they've helped me a lot!
@CodeMonkeyUnity Жыл бұрын
I'm glad the videos have helped you! Best of luck in your game dev journey, thanks!
@chris.davidoff4 жыл бұрын
Wow, shift+space just brought things to a new level for me. Thanks for making this!! I've been playing with ShaderGraph and it's one of my most favorite things to do lately
@r0mbag-art4 жыл бұрын
This is such a good intro to shader graph, no details are glossed over - Hopefully you make more!
@Bananenbauer123 Жыл бұрын
Oh god, I was going insane looking for a basic shader tutorial and then I finally found this one. Every other tutorial was skipping the basics. Thanks a lot now I'm finally getting a hang of the concept/process.
@CodeMonkeyUnity Жыл бұрын
I'm glad you found the video helpful! By the way there were some changes with how the Master node works nowadays unitycodemonkey.com/video.php?v=azGMuP9ks8U
@HT-ot3pm4 ай бұрын
for anybody doing this in 2024, the new unity shader system uses fragment and vertex, and seperates RGB and A, so whenever you plug the RGBA to RGB remember to use a split node to split out alpha and individually connect to the A node in fragment
@elneocapo6 күн бұрын
Sabes porque al importar shader graph me da 372 errores? creo que es porque no tengo el universal RP pero nose donde se descarga
@upprrdimensions8923 жыл бұрын
Only you taught me the basics of Shader Graph. Other videos I found were not very useful bcoz they were not teaching the Basics.Now, After this I will see that complex videos.Thanks
@chicao.do.blender3 жыл бұрын
great video, i'm trying to sleep but i got really bothered by not remembering unity shader basics, and am binge watching those it's so simple and now that i'm actually trying for my first games it's so inspiring, thank you
@daichi_devs4 жыл бұрын
loving these really useful tutorials, thanks Code Monkey! and Shift + Space is such a life saver!!!!!!
@Songfugel3 жыл бұрын
"The limit is only your imagination"... me: "oh shit :("
@Oxmond4 жыл бұрын
Looks good. Shader Graph is amazing 🤓👍
@DrinkPetrolForJesus4 жыл бұрын
It always sounds to me like you say “inept tutorials made by a professional indie game dev”, your videos are great and have taught me so much, don’t get yourself down like that ;)
@CodeMonkeyUnity4 жыл бұрын
Heh yeah it's meant to be "in-depth" but it does sound weird, I'll have to re-record that at some point.
@angadbasandrai48143 жыл бұрын
What it's in-depth? I seriously thought it was inept
@Ruptured_AU2 жыл бұрын
I like how you convey basic understanding instead of "how to "
@nikolazagorac86342 жыл бұрын
If you don't have a black and white texture for your image, instead of opening up your image editor you can use the saturation node for a quick setup. Though I don't recommend using this in your final game since the image will constantly be modified and thus produce a slightly greater load on the player's GPU
@joelabraham62873 жыл бұрын
hi, I need help, pbr shader graph is missing. Must be updated version or something idk please help. Am using unity 2020 lts version
@SirMust1085 ай бұрын
hi, i have the same issues you have. If you solve it, can you explain the solution to me pls
@raploky Жыл бұрын
Short, simple, clear and useful! Thanks to you!
@jean-michel.houbre4 жыл бұрын
Hello, I always enjoy watching your videos. This introduces the subject well.
@ScilexGuitar3 жыл бұрын
9:15 For some reason I cant change the Default color, Im trying to double click the "black" but nothing happens. Rightclicking it gives options copy or paste
@andylockhart2574 жыл бұрын
Great intro vid to shader graph. Thx!
@aneesh12834 жыл бұрын
Thanks for such a simple tutorial :)
@FunkyDexter2 жыл бұрын
Do you know about any bugs? I did exactly what you did for a 2d sprite, but the preview remains blank all the time no matter what texture i input. Also in the scene the sprite only changes color, it doesn't take on the material or texture you input. EDIT: the issue of course was that i was using UNLIT graph. Without a lightsource you obviously can't see anything! Just swapped to lit graph.
@arcday42814 жыл бұрын
With each video, the mood rises )
@Hyzoka13 жыл бұрын
Hey, thanks for the content man, but i have a doubt, im using unity 2020.3.12f1 and there is no such thing like a PBR Shader Graph, so I can't see the PBR master node, im really noob at this I know. keep teaching us, thanks!
@CodeMonkeyUnity3 жыл бұрын
There are some minor changes in the latest versions, I actually have a video coming up covering the differences, essentially you just create a Lit Shader and it's the same thing as the previous PBR Shader. All new changes are just minor differences so all the tutorials you find are still relevant.
@ravigovender1488 Жыл бұрын
was literally struggling to find the PBR now also! thanks so much@@CodeMonkeyUnity
@purpl3grape4 жыл бұрын
Yo who else low key thought that the shift-space over mouse pointer to maximize screen tab was clutch?
@jnoelcook3 жыл бұрын
I followed everything up to t=5:00. At that point, no fields appear under the "main tex" section and unfortunately I cannot follow your steps from that point. I am guessing Unity 2020.2 has changed something. Or am I missing something?
@CodeMonkeyUnity3 жыл бұрын
There were some changes made in 2020 but I haven't tried them yet, maybe it's just hidden by default? I know the Master node changed format but all the settings are still there
@jnoelcook3 жыл бұрын
@@CodeMonkeyUnity , okay, I've figured it out...kind of. I am working on it. Not easy to figured this out after things have changed, but I am slowly getting there...I think. Thanks.
@gamerdev10563 жыл бұрын
Mine doesn't have a PBR graph :( :( :(
@blendanimator61234 жыл бұрын
That's Amazing
@xdiatia41973 жыл бұрын
The video started with an ad by you :)
@darkdoom9073 жыл бұрын
Arigato senpai, most of the tutorials started with Render pipelines outdated, that confused me ur video started from URP arigato
@ekokataatheplacetobe9540 Жыл бұрын
Hello, i have a problem. I want to recreate vfx of a singularity bomb from the game Rainworld. In short it displaces all pixels behind this effect and conform them to the perimeter of this sphere. I was trying to go with fresnel sphere to do this, but i cant manage to do it. Can you guide me to the right direction? Thanks.
@mattkaiser8984 Жыл бұрын
My Main Preview is blank and I cannot see any changes there. It's slightly frustrating.
@Monsterbwoi4 жыл бұрын
so question. I need to make a shader where if you step inside the item it is applied to, it will: display an image on the player's screen or add an effect to the screen or display a spritesheet animation on the player's screen. do you have any advice? or maybe a pre existing video? any help would be much appreciated :)
@cgimadesimple11 ай бұрын
really useful :)
@isabear478 Жыл бұрын
Is their a way I can add a color to go under the texture like rheir will be a color and then i can just add a texture ontop
@CodeMonkeyUnity Жыл бұрын
Hmm sure you can Add the Texture on top of a base color. If you multiply you get a tint unitycodemonkey.com/video.php?v=93jnsgD-8Wo If you just Mask and Add you would get your desired result
@sadsadsad50005 ай бұрын
is there a way to extend the working space for a sprite shader? i mean if i add a big outline it gets cropped at the original image size
@CodeMonkeyUnity5 ай бұрын
You can resize the mesh, but you can't add more pixels than the textures resolution. So if you want a big outline you need to leave the image with big enough padding space
@TRUEGAMES1234 жыл бұрын
i couldn't able to change color in shader graph - please help me...
@CodeMonkeyUnity4 жыл бұрын
Why not? Just multiply it by the base texture kzbin.info/www/bejne/b2TNn6adeZJrjdE
@flynnmc97484 жыл бұрын
Your tutorials are so clear and easy to follow, thank you!
@sundarakrishnann82424 жыл бұрын
Hi, over the existing scene A , i loaded a Scene B without destroying scene A, using this code SceneManager.LoadScene("Scene B", LoadSceneMode.Additive"); Now in the scene B i have a quit button and on pressing that i want to destroy Scene B but scene A should still be there.. May I know how to do it?
@Glu10Free_Waifu4 жыл бұрын
Try this... SceneManager.UnloadSceneAsync("Scene B"); Uh...make sure there's no reference from scene A to B...or make a null check...
@erttttt217 ай бұрын
how to add normal map slot in this shader graph thing?
@carolmandi4 жыл бұрын
Thanks man!
@johnnyu32876 ай бұрын
I'm using a custom axis for transparency sort But when I select a render pipeline asset that option is gone :(
@johnnyu32876 ай бұрын
Update: turned out I can also use a custom axis for sorting while a render pipeline asset is selected. I went to assets/settings/renderer2D And changed it in the inspector
@azbubba082 жыл бұрын
did not see a PBR master shader option, help?
@CodeMonkeyUnity2 жыл бұрын
There have been some light name changes in the Shader Graph versions kzbin.info/www/bejne/l6uqfqiGbtCmbrc
@Errors4042 жыл бұрын
@@CodeMonkeyUnity it was not there
@FakuaBlock8 ай бұрын
Sorry to be a pest, but for some reason my Render Queue doesn't appear in the material section. I'm kind of confused as to what I've done that might be preventing it. I've got a bunch of things in my Universal Lit Graph set up but without the Render Queue my transparent object is just very bright.
@CodeMonkeyUnity8 ай бұрын
You shouldn't need to manually modify the render queue, it should be set automatically depending on the shader settings (transparent vs opaque) So that brightness is probably something in your shader, maybe you're doing some Addition somewhere? Or Additive mode? If you add two white colors together you get intensity = 2 which will make it glow (if you have bloom)
@FakuaBlock8 ай бұрын
@@CodeMonkeyUnity Ahhh thank you, I do have bloom and I did have the two white colours. I was just wondering when I clicked onto my material that render queue option wasn't selectable. I was following another persons video. I think I should be able to fix that now though. Thank you.
@levanapakidze16062 жыл бұрын
How would you go about mixing two colors (or textures) using a shader? For example, one color is a circle in the center and the second color would fill the outside. you could then create a float parameter to control the radius of the inner texture/color. Does this require custom UV coordinate texture or is there an easy way to achieve this?
@CodeMonkeyUnity2 жыл бұрын
Either use the Multiple or the Add node. Remember colors are just numbers. You can look at my Outline shader unitycodemonkey.com/video.php?v=FvQFhkS90nI Or the Build Effect shader unitycodemonkey.com/video.php?v=OzyLWXTr3Io
@bryanlucinario9554 Жыл бұрын
Sir can you add tutorial about ligthmaps . I just want to create custom shaders with lightmaps
@MarkMcArthey Жыл бұрын
I'm using Unity 2022.2 and found that my preview window and object in the scene view are pink despite using the Unlit Shader Graph and materials. Has something changed with the newer version or is something missing on my end?
@MarkMcArthey Жыл бұрын
I figured it out and I apologize if this was mentioned, but In Shader Graph and the new Graph Inspector -> (Target Setttings) Active Targets -> Universal. Make sure to add it as mine only had "Built-In" listed. Adding "Universal" fixed the issue immediately.
@CodeMonkeyUnity Жыл бұрын
Yeah a few things have changed since I made this video, like the various output targets and the master stack, I covered some of those changes here unitycodemonkey.com/video.php?v=azGMuP9ks8U
@Crons-v3f3 жыл бұрын
Looks awesome, Great work! I just have a question, not really related to this video but since you're really good you could know the answer. I'm making some special effects for my characters, and I'm creating shaders for it. For example, I created a shader that would dissolve the player and another shader that would make the player almost invisible (cloaking effect). How can I apply these 2 shaders depending on what special effect I want to add? For example, the player is using the normal URP Lit shader and I want to dissolve the player, should I replace the shader by the dissolve one, or should I create 1 complex shader that does dissolve and invisibility?
@CodeMonkeyUnity3 жыл бұрын
One approach is to swap out the material when you want a different effect. Each material with a different shader. Or make your shaders into SubGraphs and make a mega shader with a bunch of boolean logic to choose which subgraph to activate.
@Crons-v3f3 жыл бұрын
@@CodeMonkeyUnity Yeah I guess swapping would be much easier instead of having a complex shader to do everything. Thanks for the tip!
@random_precision_software3 жыл бұрын
Hi, I'm new to shader graph, I've nether used it. But I've got a feeling I need to for a game I want to do. I want the game to be in black and white, and you go round getting the 3 colours, red green blue and as you get more of the colour the game starts to go in colour..what nodes would I use or could you do as video on it please?
@CodeMonkeyUnity3 жыл бұрын
For Black and White all you need is the Saturation node, just lower that to 0 Or you can also add post processing and set Saturation to 0 with that.
@random_precision_software3 жыл бұрын
@@CodeMonkeyUnity Ohh OK thnx
@AnunayMintoo4 жыл бұрын
Does on mouse drag work on mobiles plz tell
@gower19734 жыл бұрын
When you added the saturation node the output colour turned yellow not green, shouldn`t it still be green but at a higher intensity, or I don`t understand how the saturation node works? Also are there other default reference names for the other nodes like _MainTex?
@CodeMonkeyUnity4 жыл бұрын
The Saturation node turns it into black and white when its set to 0 and normal colors when set to 1 If you place it after the color tint node you apply that effect after the tint. If you place it before the color tint node then you are tinting after setting it to black and white
@jakethejeff8671 Жыл бұрын
I am following this tutorial step for step but as soon as I create my blank shader graph I keep getting the error bright pink what am I doing wrong
@CodeMonkeyUnity Жыл бұрын
Pink means you probably are making the shader for a different render pipeline. Maybe you're making a URP shader but your project is set up to use BiRP Either change the project render pipeline to match what you're creating in shader graph or change the type in shader graph
@schizoscope8703 Жыл бұрын
Thanks!
@Itay_Ron4 жыл бұрын
Thank you!
@ashiinsane904 жыл бұрын
So we cant use URP on a normal 3d Scene? how do u integrate it then, or what's the use then, if u cant use it in 3d Scenes??
@CodeMonkeyUnity4 жыл бұрын
URP does work in 3D, just use the normal Renderer instead of the 2D Renderer.
@rjjr70644 жыл бұрын
HELP I don't have a PBR graph as an option! I dont know if this is because it's a new version or what...
@CodeMonkeyUnity4 жыл бұрын
Did you install the Universal Render Pipeline?
@rjjr70644 жыл бұрын
@@CodeMonkeyUnity I did. I've been looking everywhere for a solution but it just doesn't add up. Thanks for replying!
@rubbermullet23074 жыл бұрын
I didn't show up for me using version 2020.2.1f1 but did under 2020.1.7f1 and 2019.4.x
@CodeMonkeyUnity4 жыл бұрын
@@rubbermullet2307 Make sure you install and assign the Universal Render Pipeline
@rubbermullet23074 жыл бұрын
@@CodeMonkeyUnity I did that and even tried using the URP template. It looks like the shader creation menu changed with URP >= 9.0.0-preview.35. Thanks.
@kristianthaler65253 жыл бұрын
I don't see any shader called PBR. I only have the standard ones and then the UniversalRenderPipeline options: lit, unlit, and the two 2D shaders. I tried lit and I see it at least has an albedo slot, so I'll try following along with that shader and see if it works out.
@CodeMonkeyUnity3 жыл бұрын
Lit and Unlit are PBR shaders (PBR means Physically Based Rendering) I covered some changes in the latest version here kzbin.info/www/bejne/l6uqfqiGbtCmbrc
@kristianthaler65253 жыл бұрын
@@CodeMonkeyUnity Thank you, that was faster and more helpful than the answers I got from some of my highschool teachers.
@pawpotsRS6 ай бұрын
I'm using 2021.3.36f1 version but I don't find the PBR Graph is it change to Lit Shader Graph?
@CodeMonkeyUnity6 ай бұрын
Yes in recent versions it has a different name but still works the same kzbin.info/www/bejne/l6uqfqiGbtCmbrc
@JeanWinters73 жыл бұрын
What version rp revised from? And 2020 shgraph is not the same to prev versions I catch.
@CodeMonkeyUnity3 жыл бұрын
The only differences are the separate graph inspector and the master node is now a master stack, but still contains all the same inputs/outputs.
@odiestarr52533 жыл бұрын
I did not start with a fully empty scene, is it normal for all objects to turn purple after assigning the URP in project settings?
@CodeMonkeyUnity3 жыл бұрын
Yes, that means the objects are using the built-in shaders which don't work with URP. You can go to the Edit menu and down in the bottom you see an option for automatically upgrading the materials.
@Madix1024 Жыл бұрын
This is a long shot, but could you point me in the right direction on how to make a shader for a fog-of-war affect on spheres/non-standard geometry? I'm starting a multiplayer turn based project that has small planets and uses gravity like Super Mario Galaxy and I need to implement a fog of war. I can't wrap my head around how to do it outside of a plane =(
@CodeMonkeyUnity Жыл бұрын
You mean the planet is spherical and you want spherical fog of war on top? You can look at how I handled fog of war in a previous video and convert it to 3D kzbin.info/www/bejne/eYTIhoCKlrN5j80 Basically you just need to take the normal of the sphere face under each point and do some math to get the perpendicular vector
@Madix1024 Жыл бұрын
@@CodeMonkeyUnity Appreciate the reply, thank you. Yes, the level on which the players will be on is a sphere (micro planets) and will be a turn based strategy game and need a fog of war effect to conceal the opposing player and their moves until they are within view / have been revealed. I went through your tutorial (and various other ones) and couldn't figure out how to apply it to a sphere. Thank you for providing a hint on what I might need to do, I'll give it a shot. Thank you
@carlabalos38843 жыл бұрын
Why does my game objects with materials suddenly all turned to pink? When changing to urp.
@CodeMonkeyUnity3 жыл бұрын
Shaders are different for each pipeline. Use the automatic updater to update Standard Built-in shaders for URP shaders
@carlabalos38843 жыл бұрын
@@CodeMonkeyUnity Thanks for the hint. I was able to find a video about it and solved my problem.
@nolatron0013 жыл бұрын
Hi! Is there any way to implement the URP when you've already started a project without it? I tried this with something I was already working on and everything turned blue. Thanks!
@CodeMonkeyUnity3 жыл бұрын
Yes you can just install the package and use the built-in tool to automatically convert the standard shaders into URP shaders. If you use custom shaders then you do need to manually convert those
@MrGoldorange4 жыл бұрын
How to use GPU instancing with this type of shaders?
@zekiozdemir4203 жыл бұрын
Thank you
@sathvikl.k83544 жыл бұрын
Is maths use in game dev?? I seaw some video that maths has use in game dev like charecter movement??but i am really very weak in maths
@CodeMonkeyUnity4 жыл бұрын
Game dev is more about logic than math. You just need to know the basics of vectors and thats pretty much it
@nick50754 жыл бұрын
Hey Code, I was wondering, could you make a tutorial on how to make Images (and UI in general) to appear behind game objects in 2D?
@CodeMonkeyUnity4 жыл бұрын
You would have to make a World canvas and then you can set the sorting layer and sorting order
@nick50754 жыл бұрын
@@CodeMonkeyUnity In that case however, how would scaling to Screen Size be possible?
@robosergTV4 жыл бұрын
Using Shader Graph 10.2.2, there is no PBR Graph available under Create->Shader. Its not there. I have a lit shader graph, but it looks different i.imgur.com/UIloqxL.png It's very similar but no alpha or occlusion channels
@CodeMonkeyUnity4 жыл бұрын
They changed how the Master node works but it still has all the same inputs so pretty much everything works the same
@robosergTV4 жыл бұрын
@@CodeMonkeyUnity Maybe I am blind but I dont see any alpha or occlusion channels like in your PBR node
@CodeMonkeyUnity4 жыл бұрын
@@robosergTV Change the type from Opaque to Transparent and you should see the Alpha input or just send the alpha channel into the Color
@robosergTV4 жыл бұрын
@@CodeMonkeyUnity you are awesome, thanks!
@vicious35262 жыл бұрын
I can't get anything to appear in the main preview window?
@CodeMonkeyUnity2 жыл бұрын
Do you have something connected to the final master stack? Maybe swap the preview shape for a cube or a sphere, right click on it
@BioToxin4 жыл бұрын
I remember when shader graphs were first introduced, now I'm feeling my age
@khushalkhan834 жыл бұрын
Old video? or haven't updated unity for dark theme?
@CodeMonkeyUnity4 жыл бұрын
I've always had Unity Pro, I prefer the light theme
@Hemoplaguer4 жыл бұрын
Doesn't let me change my color... whyyy Edit: Oh you have to press spacebar not click it..
@thespacecowboy4202 жыл бұрын
I think this changed a lot in new versions it looks nothing like this now
@CodeMonkeyUnity2 жыл бұрын
I covered various changes in this video kzbin.info/www/bejne/l6uqfqiGbtCmbrc
@Updates_4 жыл бұрын
Can you plz make a video and save a player equipment Manu scene in game scene like buy weapons save player money and unlocked weapons
@TMDS4 жыл бұрын
You can use playerprefs to save info but I don't recommend it. Look up how brackeys did it cuz it's serialized
@arcday42814 жыл бұрын
I would help you, but I haven't studied save system yet )))
@CodeMonkeyUnity4 жыл бұрын
I covered saving and loading here kzbin.info/www/bejne/bKawd3iDYtOUpqc
@driver38998 ай бұрын
How do I create a PBR master now that PBR does not exist?
@CodeMonkeyUnity8 ай бұрын
You just use the Master stack. The only difference is it's no longer a separate node now, it's a stack that you cannot delete.
@driver38998 ай бұрын
@@CodeMonkeyUnity Thank you, I didn't expect you to even read this haha
@Updates_4 жыл бұрын
New vi thanks
@BLACKDREAMIO Жыл бұрын
ha ha ha finally you surrender to dark theme ha ha finally i cant watch this video without getting my eyes burn
@ChlorineaX2 ай бұрын
That ShaderGraph window shows absolutely nothing in unity 6
@CodeMonkeyUnity2 ай бұрын
Basically only the Master Node is different, now it's a Master Stack, I covered some of those changes here kzbin.info/www/bejne/l6uqfqiGbtCmbrc
@Updates_4 жыл бұрын
Plz I am waiting your next toturial
@morenofranco7124 жыл бұрын
5:38
@ZazeLove8 ай бұрын
Although cool, this is not useful for BRP ( built in render pipeline) in unity, for games that use UBP. I instantly give up on this and resort to doing manual or Ai assisted HLSL
@CodeMonkeyUnity8 ай бұрын
Nowadays shader graph supports all render pipelines. So you can use it to make BiRP or URP or HDRP shaders.
@ZazeLove8 ай бұрын
@@CodeMonkeyUnity OHH hell yeah, Google was outdated yet again! thank you.
@kristiyanbalevski4 жыл бұрын
Can you make Game Developer reacts to Red Dead Redemption 2 ?
@CodeMonkeyUnity4 жыл бұрын
I definitely want to make more of those videos!
@its.Naytik4 жыл бұрын
pleade tell how to make fall guys
@paperkid68214 жыл бұрын
*Green cube*
@Chris-zb5nm3 жыл бұрын
Do you know a good online course about Shader Graph? There are some, but they're really bullshit.
@CodeMonkeyUnity4 жыл бұрын
💬 Have you used Shader Graph? What's the most awesome effect you built? What effects would you like to see? 🌐 Check out the complete Playlist: kzbin.info/aero/PLzDRvYVwl53tpvp6CP6e-Mrl6dmxs9uhx
@nellaiiiii2 жыл бұрын
wtf how to open shader graph
@CodeMonkeyUnity2 жыл бұрын
Just create a Empty Shader Graph and double click on it
@nellaiiiii2 жыл бұрын
@@CodeMonkeyUnity I open Visual Studio instead of Shader Graph
@thomasfactoryuntold4 ай бұрын
I gave up on unity because the older version of the software does not have that fucking urp!! I'm done! I'm going back to unreal engine!!
@CodeMonkeyUnity4 ай бұрын
What older version? URP was introduced almost a decade ago, so unless you're using Unity 5 or an even older version then it has URP
@kakoushal4 жыл бұрын
1st
@realtalkwithharris6053 Жыл бұрын
if you dont stop talking, im gonna have to kiss you