This is a quick tutorial about making a Black & White Shader in Unity using Shader Graph. This should work in URP and HDRP (unlikely to work in 2D, sadly). I hope you enjoy!
For anyone having trouble, it may be to do with the kind of light you are using as the main source. In the shader graph, simply plug everything from the video into both the base color and the emission input. Then turn off "Cast Shadows" in the mesh renderer of the sphere object. This makes it work regardless of your lighting set up.
@tylergoodman9588
11 ай бұрын
For everyone trying this in URP you have to make sure "Opaque Texture" is enabled in your projects URP Asset
@rockingpossum
Ай бұрын
where is that?
@Kshesho
Жыл бұрын
Yes! Just what I needed. Thank you for making it so quick and to the point. 🙏
@yiitAy
2 ай бұрын
thx for this! great work i understand little bit more unity now
@Jolsiuuw
Жыл бұрын
In urp you don't need the multiply by exposure part, you can skip it. Also make sure that the material the shader is applied to is transparent with blending mode alpha. Also alpha in the shader graph controls how strong the effect is. As in 1 is completly black and white while 0.2 does very little. You should still have a multiply component because multiplying by bigger number, let's say 1.3 gives you "whiter" black and white. While small number like 0.6 gives you blacker effect.
@__random_variable
Жыл бұрын
In the last you said you should still be mutliplying by bigger number by bigger number can you explain?? and by which to multiply it?
@Jolsiuuw
Жыл бұрын
@@__random_variablehe has a node called multiply. You don't need the exposure node in urp, if you don't have it the the A(3) on multiply will be a number instead. Change this number to change to effect. So just copy this video without the exposure node and play around with the values.
@louisonsad772
8 ай бұрын
love you, thx ❤
@nicktender
Жыл бұрын
Awesome!
@K4neK4ne
11 ай бұрын
I got it working witch is grate but how can i have this be a fulscreen thing. When i change it to fullscreen evrything is black. using HDRP if that helps
@gallo123
Жыл бұрын
This doesn't work for URP... I got a gray sphere. Did I miss something?
@tomcruise1387
3 ай бұрын
Through this shader is it possible to see only few elements in color ?
@josepardinaz
Ай бұрын
When i build the proyect the texture is Opaque, but in Unity still transparent. Idk why
@SuikoAkari
Жыл бұрын
is possible to make this for only certain layers?
@Raccoon0710
3 ай бұрын
is it possible to do opposite? everything is black n white and we see colours?
@basbitter7249
4 ай бұрын
does it matter witch version i use?
@colinc6209
5 ай бұрын
Is it possible to achieve the inverse of this effect? Where everything is black and white unless viewed through the sphere
@kusskuss1619
5 ай бұрын
I tried to find an effect like that recently, but without any success. Have you found any solution?
@frinkygarfunkle9999
2 ай бұрын
heat
@GameInOtherWorld
Жыл бұрын
HI, node exposure is missing in URP, how to do it in URP?
@Jolsiuuw
Жыл бұрын
You don't need to multiply by exposure in urp. Just skip the multiply by exposure part. Also make sure that the material the shader is applied to is transparent with blending mode alpha. Also alpha in the shader graph controls how strong the effect is. As in 1 is completly black and white while 0.2 does very little.
@antoinetoussaint483
Жыл бұрын
Hi I am on URP in Unity2D, and this doesn't seem to work : I set my material as unlit and the surface type as transparent, but it renders a gray square. Could you help please ?
@tipicoisaacplayer
Жыл бұрын
me too
@cristianonooficial3954
Жыл бұрын
ME TOO
@user-cp4yl9of6d
10 ай бұрын
Have you fixed this?
@mehmetmucahitdogan1801
10 ай бұрын
mee to
@aa_inc
4 ай бұрын
If you watch a video called "Shockwave in Unity", it tells you how to get the screen in 2d. After that just apply everything here. Hope this helps
@AndreGalrao
9 ай бұрын
It's possible to do the oposite? A sphere that coloring a grayscale world?
@colinc6209
5 ай бұрын
did you ever figure out a way to achieve the opposite?
@WelshGuitarDude
Жыл бұрын
How do you greyscale an area such as a room and all it's child objects, custom shader on every object seems a bit tedious
@carlozzzdev
9 ай бұрын
You can place a plane with the shader in front of the camera
@smabuzzaka1031
12 күн бұрын
Can i ise it in standard pipeline ?
@KialaGameStudio3.8
6 ай бұрын
👊Obrigado, vou colocar no meu Jogo
@JuanAlvarez-he6cv
Жыл бұрын
is there any way to do the oposite of this, bring color to a black and white scene? (I'm using URP btw)
@colinc6209
5 ай бұрын
did you ever figure out a way to achieve the opposite?
Пікірлер: 37