{"id":3546,"date":"2010-07-03T20:59:54","date_gmt":"2010-07-03T20:59:54","guid":{"rendered":"http:\/\/www.mrbluesummers.com\/?p=3546"},"modified":"2012-02-21T17:46:55","modified_gmt":"2012-02-21T17:46:55","slug":"a-brief-description-of-the-3d-displacement-shader","status":"publish","type":"post","link":"http:\/\/www.mrbluesummers.com\/3546\/3d-tutorials\/a-brief-description-of-the-3d-displacement-shader","title":{"rendered":"The 3d Displacement Shader"},"content":{"rendered":"

As I’m working on the new Sub-Surface Scattering tutorial I thought I would break off a small piece and make it an independent post. Below I’ll provide a visual guide to the parameters in the 3d Displacement Shader in 3d Studio Max mental ray. It’s pretty straightforward but there are some interesting things you might not have known you can do with it!<\/p>\n

\"3d<\/a><\/p>\n

The 3d Displacement Shader Controls<\/p>\n<\/div>\n

Object Independent<\/h3>\n

When this is turned on the displacement effect is independent of the size of the object’s bounding box. When it’s off the displacement effect is scaled according to the size of the object. \u00a0Scaling the displacement based on object size is\u00a0the standard behavior for regular 3ds Max displacement mapping <\/em>so if you leave this checkbox checked then the displacement length will behave like a normal material would.<\/p>\n

\"Object<\/a><\/p>\n

Left has Object Independent enabled. Right does not.<\/p>\n<\/div>\n

Displacement Length<\/strong><\/p>\n

This is the\u00a0length of displacement when Object Independent is checked<\/strong>, the extrusion map is at 100 percent (white), and the Extrusion Strength equals 1.0. Lower gray levels in the extrusion map, or other values of Extrusion Strength, scale the amount of displacement. \u00a0Think of this as a way to alter the displacement map’s contrast.<\/p>\n

\"3d<\/a><\/p>\n

0.083 (default), .25, and .35 displacement lengths<\/p>\n<\/div>\n

Extrusion Strength<\/h3>\n

Controls the\u00a0height <\/strong>of the displacement. This value is a multiplier: at the default value of 1.0, the map’s effect is unchanged. Greater values will make the displacement more severe while lower values will make it more subtle.<\/p>\n

\"3d<\/a><\/p>\n

1, .5, and 1.5 extrusion strengths<\/p>\n<\/div>\n

Extrusion Map<\/h3>\n

Click to display the Material\/Map Browser and choose a map to use for the displacement. Displacement maps apply the gray scale of the map to generate the displacement. Lighter colors in the 2D image push outward more strongly than darker colors, resulting in a 3D displacement of the geometry.<\/p>\n

\"\"<\/a><\/p>\n

Checker map, dent map, marble map<\/p>\n<\/div>\n

Direction Strength<\/h3>\n

Controls the strength of the direction shader. \u00a0Adding a direction shader has no real effect unless you have the <\/strong>Direction Strength set above zero<\/strong>.<\/p>\n

\"3d<\/a><\/p>\n

0, 1, and 2 direction strength values<\/p>\n<\/div>\n

Direction Map<\/h3>\n

The direction map is a lot like a normal map. \u00a0The direction of the displacement is changed according to the RGB values of the map you use here. Red values offset in the U axis, Green values offset in V, and Blue values offset in W (using the object-local UVW coordinates).<\/p>\n

\"3d<\/a><\/p>\n

Checker patterns, Red\/Green, Red\/Blue, Green\/Blue<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

As I’m working on the new Sub-Surface Scattering tutorial I thought I would break off a small piece and make it an independent post. Below I’ll provide a visual guide to the parameters in the 3d Displacement Shader in 3d Studio Max mental ray. It’s pretty straightforward but there are some interesting things you might […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,111,23],"tags":[2464,43,2333,2569,74],"_links":{"self":[{"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/posts\/3546"}],"collection":[{"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/comments?post=3546"}],"version-history":[{"count":0,"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/posts\/3546\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/media?parent=3546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/categories?post=3546"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mrbluesummers.com\/wp-json\/wp\/v2\/tags?post=3546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}