Thank you, you're the first that solves my issue with customize skybox. Open up a new door. Thanks
@BTG-ku7vp
3 ай бұрын
thanks for including the tip about the cloud texture having an alpha channel, would have never figured out the issue with my texture had you not said that :)
@hibiscusbear
4 жыл бұрын
this is so cool! wonderful job as always!
@alinalikescozy
2 жыл бұрын
Thank you for helping us make our games more beautiful
@NedMakesGames
2 жыл бұрын
Thank you for watching! 😊 I'm glad to help!
@AntonBryzghalov
Жыл бұрын
Thanks a lot! Never thought a clouds could be implemented so easy!
Жыл бұрын
Great video as always! it would be a nice feature, as a follow up video, how to add more fancy clouds, perhaps even warp them to make them look more "round"-ish, like they are on the sides and not perfectly above you scrolling as if its a plane scrolling in the sky :o
@ryoteer1889
Жыл бұрын
Great tutorial! Helped me lots.
@colecancode
Жыл бұрын
If anyone is having trouble with their clouds not tiling properly and having ugly seams, I found an ok fix. You can create a sample state node, set it to mirror, and plug that into the texture sampler. It looks better but the mirrored clouds are slightly off putting
@NutyRiver
3 жыл бұрын
Thank you!! I could never find how todo this
@Nasoreeno
2 жыл бұрын
Beautiful tutorial. Thank you so much, you made my day :)
@NedMakesGames
2 жыл бұрын
Thank you for watching! I'm glad to hear that.
@SroBlacKRose
2 жыл бұрын
Cool Tutorial ;)
@NedMakesGames
2 жыл бұрын
Thank you, thanks for watching!
@dorachdew
3 жыл бұрын
Very cool indeed
@NedMakesGames
3 жыл бұрын
Thank you for watching!
@altugozhan
Жыл бұрын
Great tutorial and very clear except one point for me. Why do we have to normalize the world position to find the altitude? I tried to the shader by myself but it wasn't working till I watched your video and normalizing the world position was the answer. Why doesn't world position.y give the world position without normalizing??? Thanks again for the great tutorial.
@altugozhan
Жыл бұрын
ok got it, in the video you say the answer. It converts the skybox coordinates into sphere coordinates
@yourfriendlygamedev
Жыл бұрын
My variables don't show in the Material inspector and I can't for the life of me figure out why.
@BCABPP
10 ай бұрын
I built all the nodes as described in an UnLit Shader Graph and everything looks as it looks in the video except I can't get it to work in the skybox. I made the material and have the shader selected in the drop down. In the "Environment" tab I get this ERROR - "Shader of this material does not support SkyBox Rendering"... (Unity v2021.3.17) It shows in front of the camera but looks like a box and all the other sides are blue. 😞
@jalalgurbanov1972
Ай бұрын
change depth write to force disabled
@BCABPP
Ай бұрын
@@jalalgurbanov1972 Hey thanks... I need to double check but I think I did that too from some other comment someplace. I think it was closer and then worked in the editor and in gameplay but sadly didn't work in the Quest VR headset. *edit - I checked... yup... works in editor and play mode but everything turn blue in the headset 😞
@jalalgurbanov1972
Ай бұрын
@@BCABPP don't know anything about VR, good luck, pal
@ConAim
3 жыл бұрын
Woah, look nice. Didn't see this on github thought...
@ryanbuizon58
3 жыл бұрын
does this not work anymore? all that came up was a gray skybox
@ryanbuizon58
3 жыл бұрын
nvm! i wasn't clicking "save asset" i the top right ;-;
@NedMakesGames
3 жыл бұрын
@@ryanbuizon58 Yeah, that can be tricky to learn! Thanks for watching!
@jasonb202020
3 жыл бұрын
hi Ryan, what's the ideal cloud image resolution?
@NedMakesGames
3 жыл бұрын
The one I used was 2048x2048, but you could probably get away with a much smaller texture.
@AbigailKwan
2 жыл бұрын
Im wondering if anyone else has run into this problem: I've applied this material to an inverted sphere and found that there is gradient banding more so in darker colors. Running on Unity 2021.3 for Android.
@NedMakesGames
2 жыл бұрын
Hi! Yeah this is a common problem with gradients. You can try making sure your graph’s precision is “single” (as opposed to half) but that probably won’t affect colors much. There is a dither node that you can use to break up banding. It will take a little experimentation to get it lined up correctly.
@charlestheninja
2 жыл бұрын
Mine stays with a blank spot on the very top of the skybox. Like the clouds are completely transparent.
@NedMakesGames
2 жыл бұрын
Hmm, I would double check the nodes that calculate cloud alpha. You could also switch out the cloud texture, like to a checkerboard, just to make sure nothing strange is going on!
@gamezdude5544
Жыл бұрын
@@NedMakesGames Can confirm, got the same problem. Double checked the nodes, everything is correct. And put a checkerboard texture as the mask it the artefact is still present.
@gamezdude5544
Жыл бұрын
Got it! If anyone has the same issue, the black part of the cloud texture, needs to be Alpha (Transparent), NOT coloured black!
@VinayNegi-co9qp
6 ай бұрын
how can i make sea in this skybox ??
@bennorthrop124
2 жыл бұрын
How come the sky is black and when I move the camera the objects in my scene get distorted and weird.
@NedMakesGames
2 жыл бұрын
That makes me think the shader is not actually drawing to the screen, so data from the previous frame is bleeding through to the current one. If you select your shader, does it say there are any errors? If you route a simple color property to the output base color, does the weirdness still occur?
@stylie473joker5
2 жыл бұрын
I had the same problem i just set the surface to Opaque and change Render face to both
@recriandogames
2 жыл бұрын
How would you make a day and night cycle using this method?\
@NedMakesGames
2 жыл бұрын
Hi! Check out this tutorial: timcoster.com/2019/09/03/unity-shadergraph-skybox-quick-tutorial/ It adds a bunch of extra features including a night sky!
@Amitkrdas17
2 жыл бұрын
Unlit Shader Graph is not available in projects started with urp settings
@Amitkrdas17
2 жыл бұрын
ok found out that URP Unlit shader graph also works
@NedMakesGames
2 жыл бұрын
@@Amitkrdas17 Yes, sorry for the confusion. Unity changed the name in a certain Unity version, I think 2020.2.
@isntityoshi5657
3 жыл бұрын
how could you add a sun and a moon, in the lighting settings it says it’s not a sky shader how do we fix that
@NedMakesGames
3 жыл бұрын
Hi! You can definitely add a sun and moon, but it's not something I can just type out here. This tutorial goes into it: timcoster.com/2019/09/03/unity-shadergraph-skybox-quick-tutorial/ As for that error, you can ignore it. It's just complaining that the shader hasn't been tagged as a background shader, which you can't even do with a shader graph. Any unlit shader graph will work fine for a skybox.
@pedropc5824
2 жыл бұрын
Unity change the name of nodes all the time. This tutorial was made in 2020 but a big number of nodes and properties are with new names now. It's hard to follow a tutorial with names changing so much.
@NedMakesGames
2 жыл бұрын
Yeah it does make it hard to create video tutorials, since you can’t edit them on KZitem! If you have any particular problems I’ll do my best to help.
@pedropc5824
2 жыл бұрын
@@NedMakesGames Well i don't understand how you mix one shader with the other on the end of tutorial. And as i said, the new names on unity let things more complex. Thanks Ned.
@NedMakesGames
2 жыл бұрын
@@pedropc5824 I think you're talking about subgraphs? If you select a bunch of nodes, you can right click and select an option to create a subgraph. Unity will basically save them as a new custom node you can use in any of your graphs. You can also create a subgraph from scratch from the Create -> Shader -> Sub graph option.
@pedropc5824
2 жыл бұрын
@@NedMakesGames thanks man
@draudeky4508
Жыл бұрын
hi, dude how do you add the Material to a SkyBox? If I drug the ShadeGraph to a Material the options doesnt apear, its a simple material. I dont have the CloudColor, CloudScale, CloudDistance settings in my Scene.
@NedMakesGames
Жыл бұрын
Hi! First, in your material, make sure your shader is selected in the dropdown at the top of the material inspector. To set it as your skybox, open the Lighting settings window (under Window -> Rendering -> Lighting). The second tab (I think it's Environment) as a slot to put a custom skybox material!
@dodoro8239
2 жыл бұрын
so cool! but how to add the sun in the skybox ?
@NedMakesGames
2 жыл бұрын
Thank you! I haven't made a tutorial about that yet, but check this out: timcoster.com/2019/09/03/unity-shadergraph-skybox-quick-tutorial/
@dodoro8239
2 жыл бұрын
@@NedMakesGames thanks
@pb8655
2 жыл бұрын
i'm having this issue where the black part of the cloud subgraph changes according to cloud color rather than being transparent and the clouds are just white, I'm thinking its something with my texture file. any advice?
@NedMakesGames
2 жыл бұрын
Hi! That seems like it could be an alpha issue. Sometimes it works if you enable "alpha is transparency" in the texture importer. It could also be that your texture is "premultiplied" and doesn't have an alpha channel. In that case, you could try blending in the cloud texture using its red channel (but this will only work if it's grayscale).
@pb8655
2 жыл бұрын
@@NedMakesGames hey, it was exactly that! I took it into photoshop to fix it and that solved the problem. Thank you!
@DeadpoolMr
3 жыл бұрын
How do you switch from this gradient to the BlendSkyboxColor? I mean, how do you connect those two graphs? I'm a starter and I hardly know how to work with the shader graph..
@NedMakesGames
3 жыл бұрын
No problem! Do you mean the different stages of this tutorial? You can just delete the gradient property, the remap node, and the sample gradient node. Then add the new color properties and all the nodes between the split and unlit master nodes.
@DeadpoolMr
3 жыл бұрын
I managed to solve everything, thank you for your support
@NedMakesGames
3 жыл бұрын
@@DeadpoolMr I’m glad it’s working! More skyboxes are definitely on my to do list!
@SoapOff
2 жыл бұрын
Hey, cool tutorial, but i dont know why my skybox is black at the top when i add the cloudTexture, could you help me ? Unity 2021.2.3f1 URP
@NedMakesGames
2 жыл бұрын
Hi! I haven't tested this in 2021.2, but I don't think that should be happening! Can you post a screenshot of your graph?
@gamezdude5544
Жыл бұрын
Did manage to fix the issue, I got the same problem. It looks to be an issue the the altitude for calculating the opacity for the blend.
@NECjAR
3 жыл бұрын
How about without texture? With Gradient Noise?
@NedMakesGames
3 жыл бұрын
That's possible! Just route the texture UV into a noise node instead.
@NECjAR
3 жыл бұрын
@@NedMakesGames Yes, I did now finally! Thank you for this!
@isntityoshi5657
3 жыл бұрын
i can’t see the clouds :(
@NedMakesGames
3 жыл бұрын
Hi! Do you see the blue sky? Can you post a picture of your graph?
@isntityoshi5657
3 жыл бұрын
@@NedMakesGames yo i fixed it no worries thanks for replying tho!
@moleculedevelopment8909
2 жыл бұрын
why is the skybox getting closer?
@NedMakesGames
2 жыл бұрын
Hi! I’m not sure what you mean? Maybe you’re animating cloud scale instead of position?
@moleculedevelopment8909
2 жыл бұрын
@@NedMakesGames I made a planet texture, it got closer. But I've already fixed it, thank you!
@kacpermocarz1550
2 жыл бұрын
@@moleculedevelopment8909 how did you fixed it?
@moleculedevelopment8909
2 жыл бұрын
@@kacpermocarz1550 You just need change "Space" field to "View" or other, in first Node (Position)
@nickdev
3 жыл бұрын
Can i use something like this on HDRP?
@NedMakesGames
3 жыл бұрын
I’m sure you can, although I don’t know the specifics, since I haven’t looked much into HDRP yet!
@nickdev
3 жыл бұрын
@@NedMakesGames lo, i will try soo... the next version of Unity will brig this, but it´s good to know
Пікірлер: 82