Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
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
Russian
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
in this tutorial I'm going to show you how
to use displacement textures in Maya with redshift
displacements in Maya uses a texture
either a grayscale height map or a vector image
and then hooked up through a material
it will displace or modify your object
geometry based on those values within the texture
and you can use displacements to very quickly create
detailed geometry
without having to actually model it or sculpt it
so here is how to quickly
set up your material in redshift and begin to render
using displacements
here is an example of a height map displacement
what it looks like
a grayscale texture
that will use black
and white values and ranges in between
to displace your geometry
and here's another one
so just to give you an idea of what they look like
and I got these textures from textures
com so just to give credit where I got them
so we're going to use this one as an example
to begin to display our geometry
and I also have an albedo and a roughness along with it
so I'll hook them up later to complete the material
so what I have here is a simple scene setup
just so you know what I'm using
I have a Dom light
a wretch of Dom light
with an HDR image assigned to it for lighting
if you want more on how I set this up
and how to use one
I have a tutorial
on how to set up HDRI base lighting
and then I have a simple plane
and the only thing
I did to it is I've changed the size
width and height
to 500 units
and I've left subdivision width and height to 10
which is the default
so I've just made this plane larger
and this is going to matter
when we begin to adjust some properties
for displacements
so right now I have nothing else inside the scene
and I have a limbered material applied out to it
so if I go ahead and do a quick render
let me bring it over here and do a quick render
here's what it looks like
so let's go ahead and set up our redshift material
going to go open up half a shade
and we're going to
create a whole new redshift material
go to redshift
redshift material
and let's go ahead and name it really quick
so I know what to apply
redshift RS and displacement
and of course you can name this anything you want
so again the first things I go
through when I set up a redshift material
for metalness workflow
is I change BRDF to GGX
and frontal type to metalness
alright and the first thing for displacement textures
and the only thing you need
is a redshift displacement node
you don't even need to adjust or input any other map
we can just simply start off with that texture
with the displacement texture
so if you take a look at this material
the material shader group
this is where we would plug in our
displacement node right here
into the displacement shader
so there's only one difference that
if you've watched all the tutorials in the series
we had to
use all the textures and plug them in right here
and our displacement node will now go into here
so let's go ahead and insert that node
in this Graph Editor
hit tab and search for displacement
and the one you need is this redshift displacement node
go ahead insert it
and take the output
left click hold and drag
and connect it into this placement shader input
and our node is now connected
if you select this node
we have a property for a texture map to assign
so let's go ahead and assign it now
I already have those
textures inside the Source Images folder on my project
so I'm going to click on this checkerbox
go to file and then under image name
let's go ahead and click on this folder icon
and off screen it's already
put me in the source images folder
I'm just going to sign one of the textures that I have
and it's going to be that height map that I showed you
it's going to be this one right here
everything else will stay default
we don't need to change anything here
let's go back into the RS displacement node
and again
here we're also not going to change anything
other than I'm going to point out a few things
you have map encoding
there are two types of displacement textures
you can use height field
which is the one that we are using
the height map the grayscale
and there's also a vector one
now I haven't used this one before
but I've used the height field one
that's the one I'm gonna stick with
and that's the most common one they usually find
or use so now let's go ahead and
apply this material onto that flat plane
select it
right click hold and let's assign existing material
displacement and let's go ahead and do a render
I'm going to go ahead and enable IPR
and nothing is happening
the material is on there but
it's not displacing the geometry
so what you need to do is
enable a few properties
on the object level for
that plane or for the
object or for the mesh that you are using
to tessellate
and then to displace
so if you select your object
and you go to Attribute Editor
and you go to tessellation tab
and it's actually going to be found right here
under redshift
open that up and then you have two properties two more
tabs to open up tessellation
and displacement
so again this is going to be on an object level for
your mesh inatribute editor
into inside the ratchet tab
and you need to enable tessellation
this will desolate and add
additional geometry onto your object at rendertime
so this would adds the extra g 0
and then the displacement
go ahead enable this as well
and that is the texture that we are using in order to
displace the geometry
and these two work together
so we have to enable them both
one enables the texture use of the height map
and the other one begins to tessellate your
geometry at run the time
and you can see already is beginning to come through
now I'm just going to
quickly rotate this so we can see it better
so I'm going to go ahead E Alt J
rotate snap
so this way the textures just point in the right
direction
just so we can see it better
so it's not as strong as we want it
but it is coming through
so the first property that you need to adjust
in order for it to begin to displace a lot further
is under displacement and is going to be
maximum displacement
and displacement scale
now
usually you don't need to adjust these values as much
if you're using very small size objects
but because I've sized my plane
very high to 500 units
I'm gonna need to increase these values
and I'll show you what it would look like on an actual
plane first so let me actually do that now
if I create a simple plan and I don't size it up
and let me just get it framed in
so here's what it looks like
if I apply my material on to this
default plane
and then select that plane
and again we need to
enable the same properties because it's a different
object now so I'm going to go into the attribute editor
redshift enable testellation
and enable displacement
and you can see it's already working
so these values work
based on the level
of scale that you have for the object
and it's not very intense for our larger plane
because it's a large size scale of the object
so you can see it's already actually working
so for the other object what I need to do
or actually if you were just using the default
sizes you just need to lower these values
so just for example since we're here
I will lower 2.5
and probably just stick with the displacement scale
and you can begin to see it coming through
it's kind of hard to tell because of the lighting
but it is beginning to displace my geometry
based on the texture
now I'm going to go ahead and disable this and
actually just delete it
and come back to my larger scale plane
so for this particular one
I'm going to come back into the attribute editor
and we just need to increase these values
in order to match up
to the scale of our plane
this is the first value
I would adjust as the displacement scale
so let me increase it all the way up to 25
and it's going to begin to displace
now it's not going to be as strong again because
my maximum displacement is back down to 1
so if you need to increase these values
to a higher number
you will just increase them pretty much together
so one will
increase the displacement scale of the texture
and the other one actually pushes out
and sets the maximum displacement
for that texture
so if I go ahead and take a look at the side
you can already see
it's beginning to displace it
so let me go higher let me go 50
and 50
and I'm going to go ahead zoom in a little closer
so here we're using this texture right here
it's using the values of black and white and grayscale
and it's beginning to
displace our geometry on that fly plane
so our flat plane is still low poly
but at render time
it's tessellating and beginning to displace it
so again these two values work pretty much together
if you have to scale your objects to a higher value
higher size in units
so you just increase these two numbers
otherwise if they are just default sizes then you just
work
with the lower values for each of the displacements
you also have enable auto bump mapping
this is usually always on I don't change it
but basically this
enables you to have
that surface detail that you
usually get through in normal map
but for displacements that has just on and off
and it gives you that extra detail
on an object that surface detail
and the other property
that you may want to tweak depending on the object
is the maximum subdivision
and this is what tessellates your geometry
at render time
so this is the amount of quads that it tessellates
when you render
so default of X is good
if you needed to lower for performance reasons
maybe you go down to 4
if you go down too low
you may not have sufficient geometry to tessellate
so 6 is usually good
but sometimes you may need to lower it
depending on how heavy your seam is
and then you have
you do have a few more other options
as well as the minimum
edge length this can often be tweaked
in order to adjust the distance of this minimum edge
length of the objects being pushed out
so this also begins to tessellate
more aggressively when you lower this
but again you don't really need to touch these
most of the time
when you just want to get something
quick to render in displacements and make it look good
you just adjust the maximum displacement
and the displacement scale
alright so let's go ahead and complete
this entire
material and assign the other textures to it
so all we're using right now is the displacement
so let's assign an actual albedo and roughness
and see how it all comes together
so I'm gonna go ahead and select this plane
and switch over to the RS displacement tab
which is a texture
and I'm gonna assign a color
let's assign the file
folder icon and again
off screen I'm just going to choose the albedo
and then I'm also going to assign a roughness
although we don't really need the roughness right now
because how the light is hidden
it's not going to really matter
unless I see it from a different angle
but just to complete this let's go back
and let's assign a roughness
let's go to roughness
checkerbox file image name
and I'm going to assign roughness
and then I'm going
to change my color
space to Rob because it's a roughness texture
just like I've showed you in one of the previous
tutorials
and I quickly need to jump over to the hyper shade
and reconnect
let me regrout this
I need to reconnect the out alpha for the roughness
and instead of out alpha
I need to use it on the channels
and reconnect it back into reflection roughness
let's go ahead and close this
and I do not need to use an oral map
because we already have that surface detail through
the displacement texture
so here's what it looks like
it's displaced in our
geometry and it's looking fantastic
now before we finish off this tutorial
I do want to show you
how to create your own
custom ones just in case you wanted to experiment
of course
you can alter them in a lot of different softwares
but let's say
if you wanted to
experiment with Photoshop and just create your
grayscale textures and have them
actually push and pull your geometry and
teslate it and displace it
here's how to do that very quickly
so here in Photoshop I'm gonna create a texture
I'm gonna go to file new and I'm gonna do a 1k
usually you may want to do a high resolution texture
maybe 24k
but just for this example I'll use the 1K 1024 by 1024
now for height fields or for height maps the splicemen
so you want to actually change the
bit size from 8 to 16
this maintains and has more
color information or more gray scalvalue information
so you do want to change this to 16 bit rather than 8
and then you also want to change RGB color
and you want to deal with grayscal values only
so that's the one thing you do want
to update and change
if you're doing this
for experimentation or just want to create your own
in Photoshop manually
let's go ahead and hit create
so the way the gray scale and the black
and white values work
for height maps or for displacement textures
is black is the negative value
which lowers your geometry
and white is depositor value which
raises your geometry
and gray scale is going to be in between
so you want to start with a gray value
so it gives you a middle
from which you can push and pull to displace
so you would start with somewhere like a gray scale
in the middle
usually like a 127 on across RG and B
you fill that
so that's going to be your middle value
and then you create white
to rays and black values to lower
now I already have a custom one created
so here's what it looks like
so you don't have to see me do this
so I did exactly what I'm telling you
I created a grayscale background
then I have a white
square which will push and raise the geometry
and I have a darker value closer to black which will
push and lower the geometry
so here's what this is going to look like
so back in redshift or back in Maya with redshift
let me go ahead and create a new plane
so we can just have this right next to our plane
and I'm going to go create
a whole new plane
and I'm just going to make it larger
we're going to leave the subdivision width and
high to the same values
so let's do
let's do a little smaller than the one that we had
before 300 by 300
let me go ahead and raise this up
let's rotate it
I'm going to hold J
rotate snap and let's create a whole new material
so that way you get to see it again
a little bit quicker
now let's go to Hypershade
let's clear our graph
let's create a new retrift material
let's rename it Real Quick
Redshift Displacement
PS for Photoshop
and let's hit tab and search for displacement
and here's our retch of displacement
insert that let's connect it to Displacement Shader
select the RS Displacement node
go into the property editor on the texture map
going to hit the checkermark then assign a file
image name folder icon
and
opens me up into source images folder of my project
and I'm just going to assign that PNG
texture that I saved
so I saved my textures my height maps as a PNG file
you can save it as a TIFF or you can save it as a PNG
either one will work
so in my case I have a PNG
and that's the one I saved
that I showed you in Photoshop
so now I'm just going to go ahead and close this
select my plane assign that material onto it
nothing will happen
so but I'll do a quick run right now
because we do need to go into the attribute editor
and turn on those properties
when I enable IPR
select my plane
let's go to the attribute editor and
enable those properties
so again under our shape node
open up redshift tab
enable tessellation
and enable displacement
and it's already coming through but again very lightly
not a strong because of our displacement
scale and maximum scale values and because our
size of this plane of this object is large
so I'm going to go ahead and
increase both of these to let's do 25
for both
and let's begin to this place a geometry based on
a quick custom texture we created in Photoshop
if I go even more to this place even further
let's go even 40
for both
and I'm beginning to have a little bit of
kind of a little of distortion going on here for
as it begins to displace
so for this particular value
you can come into minimum edge length
and you can adjust this value
in order to
kind of push or pull some of this back and kind of fix
the amount of distillation that happens on the minimum
edge length
so this was a good candidate to possibly tweak
the minimum edge length
because the value of 4 kind of creates a bit of
weird artifact and effect
so by lowering this
I can fix it and make it look better
if I go higher
it may actually break even further
so the value of 4 this is what it gives us
value of 2 looks better value of 1
looks even better
so you can have a lot of fun with displacements
you can create quick environments
quick scenes setup
with either your own custom
displacement textures
or the ones you find online
or the ones you author yourself
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.