Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
- [Zach] In this video, let's have a look
on how to use the cubic worlds shader to color our objects.
So here I opened up the basic scene preset file
and I selected the props collection over here
and let's just drag
and drop the cube bottom from our asset library
into the scene here. Press alt G to recenter this.
I have the rendered viewport shading enabled.
And as you can see
we have this light gradient here on this cube already
because all the objects here in my asset library
are using the cubic worlds shader already
the cubic worlds shader.
If I quickly go over
to the shading workspace is nothing else than a node group
which I set up over here.
That means let's press control space to full screen
the shader editor over here.
And if I select this press tab, you can see
we have a look inside this node group.
This are just a bunch of nodes connected to each other.
And if you know a bit about nodes already
this setup is not even complicated.
By the way, in this chapter here
you will also find an optional bonus video where I go
over on how I set this up in detail.
However, this should not be part of this video here.
I just want to show you a how to use this shader here
with all these settings over here
which is basically all you need to color everything
in the cubic world scene.
I wanted to make the shading process
coloring everything as simple
as creating the cubic worlds assets.
So we don't need any textures.
We don't need anything else.
We just need this one shader here,
which we can use again, and again.
let's quickly remove this material here.
Let's create a new one.
Let's delete the principled shader.
And if you want to add this shader here to any material
simply press shift A go to group and click on CW shader
and then connect for example, that diffuse to the surface
or you can also do it over here
in the properties editor in the material tab under surface
simply go to group here and click on CW, shader diffuse.
So that means we don't have to stay
in the shading workspace over here to change the shader.
We can also do it over here, which we also have access
to in the creating workspace over here.
So whenever we create an asset
we can do some quick changes over here.
So on this very special default cube
let's have a look on what these settings are doing.
Maybe let's go over to the material preview workspace.
Then we can see the effects on the object a bit better.
First of all, we have the base color where
we can change the color of the object.
Then we have the random color here, but this only works
if we increase the random value here
I would recommend two increases to one.
Then we can set up a different color here,
like a green tone
and then each time you duplicate this object
or each time you're using the same material
on different objects,
each of these objects will have a different mix
value of these two colors.
You can see each of them looks a bit different
which is great to quickly randomize the color of objects.
That means if you're creating, for example
a forest full of trees
you can alter the trunk color of each tree a little bit.
Although all of them are using the exact same material.
Let's set the random value to zero, once again.
let's set the random color back to white
then under specular color,
And this, I usually only use for transparent materials, but
if you increase this, we have this
very simple specular effect.
And since in the cubic world scenes
we are using the orthographic view in the end
it will look something like this.
So let's set the color back to black.
Then we can't see the specular anymore.
Then we have the edge gradient for this.
Let's set the bottom gradient
to zero to better see what's going on here.
And with this we can add this edge darkening effect,
which I kind of like
because this adds this extra style
or this used effect to these objects.
So they don't look too boring
by just having one plain color.
So, and of course you can control
how strong this effect should be.
And I would play around with this
depending on what objects we are adding this material on.
For example, if this is a used old object
then we can make this effect a bit stronger.
If this is something new and fresh
then we can lower this effect.
Then lets set this to zero.
Then we also have this bottom gradient
which adds a gradient from the bottom to the top
which I think also is a very nice effect
and supports this cubic world style.
And we can then of course, combine those
to have this kind of style
and all these effects are generated procedurally.
So it will work on any object.
This is how you use this shader for any diffuse material.
And now let's see how we can use transparent
and emission in order to use these effects
I would recommend to switch over to the shading workspace.
And then all we need to do is to
either connect emission or transparent over to the surface.
Let's start with emission and here
everything works the same as before.
The only difference here is
that we need to increase the emission of value down here.
And then we have a kind
of glowing material, which we, by the way
can better see if we are enabling the bloom effect.
If I increase the emission
you can really see how this starts to glow.
Okay. Let's not overdo it, but this
we usually use for any kind
of energy effects or for fire and stuff like this.
So basic color, random gradient
and so on works the same over here.
Then let's connect this to transparent by default
we can't see anything because on the one hand
we have to increase the transparent value.
Maybe let's reset the base color to white
simply hover above this wheel and press backspace.
And in EEVEE here in order to make transparency work
the object needs to be selected, go to material settings.
And down here, let's change the blend mode
to aplha blend and the shadow mode to aplha hashed.
This allows us to have on the one hand transparency
and also to show the transparency in the shadow.
The good thing is,
this you only need to set up for the Eevee render engine.
If we are switching over to cycles, for example
this works by default.
So there we don't need to set
up the transparency in the settings down here, because
as you can see over here, we don't even have these settings.
However, let's switch back to Eevee here because Eevee
we will use most of the time.
And now, by the way, let's reset the emission to zero
we don't need this anymore.
And now you can see the bigger you make this value
the less transparent the object becomes
and the smaller you make this value,
the more transparent it becomes.
And this effect we will use for any kind of glass
or also transparent elements like smoke, for example.
And by the way, if you find it weird that we can look
inside the object, you can also go to the settings here
of the material and enable back face culling.
Then we can see through the object
but we can't see the inside of the object, but yeah
this is of course optional.
And we can also change the color of their transparency.
And in this case, the specular value makes sense.
So let's increase this to one
let's have a look from the orthographic perspective.
And this is then how a glass material for example
would look like. Let's set this back to black.
And this is how this cubic worlds shader works
pretty simple to use and all in all,
you can nearly color everything in this cubic worlds scenes
with this one shader.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.