Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to properly use the displacement shader in the Hypershade?

Message 1 of 3
281 Views, 2 Replies

How to properly use the displacement shader in the Hypershade?

I am still new to rendering, however, so I am not too sure if I am using the displacement shader correctly.


Anyways, whenever I try to add displacement with the scale setting, the whole mesh keeps getting inflated every time to the point where corners are very rounded which I do not want. I add increments of 10, for example 0.030, 0.040 in the scale setting.


So how exactly do you add displacement scratches etc with out affecting the rest of the mesh inflating? I find it very weird that Maya does this when in Zbrush displacement depth can be controlled alone with a layer without affecting the rest of the mesh, but in Maya displacement affects the whole mesh.

Message 2 of 3
in reply to: Samsam2019

You need to use a 32bit float map when doing displacements.

Your whole mesh is being affected, probably because the displacement map has a positive value where there is supposed to be a 0. 


For example:

8bit map: Usually, a 0.5 grey in the texture translates to 0, and 0 translates to -0.5. This is how bump maps work.

32bit map: Displays each pixel as the value that the surface should be pushed. 0 is 0, 10 is 10, -5 is -5. 


The alternate solution is to adjust the Scalar Zero Value. You drew an arrow to it in the image you uploaded. That tells Maya what the 0 value should be. In the case of a bump map, the Scalar Zero Value would be .5.



Message 3 of 3
in reply to: daunish

Thank you,


However, how can I check if a displacement is 8 bit or 32 bit?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums