Profile PictureNicholas Hodgson
$6.99

Raycast Displacement Baker (Blender)

1 rating
Add to cart

Raycast Displacement Baker (Blender)

$6.99
1 rating

VIDEO DEMO

Similar to Zbrush, Blender's built in multiresolution baking method uses interpolated subdivision levels to create displacement. This often causes artifacts on sharp edges, overlapping faces, and areas of the mesh where it has been creased/pinched together. Top quality studios use raycast displacement baking in programs such as cyslice and mudbox as it ensures that you are projecting the detail from the high res to low res mesh directly.

Another issue with Blenders vanilla multiresolution displacement is that the baked textures values do not take into account the objects size in world space. When using multiresolution displacement, a strength value of 1 will not match the detail of the object you baked from - forcing you to eyeball/guess the intensity. Using the raycast baker you can ensure that what you bake out will 100% match your object in world space. A multiple of 1 will match 1:1 with your sculpt as it measures the distance each vertex needs to travel in order to match the high res.

Users can visualize exactly what the displacement maps will look like before committing to the bake.
This ensures predictable results but is also is a great way to debug/clean your geometry so it does not contain errors. If you see spikes in the preview you know there are some issues that need fixing (such as self intersections etc). No more painstakingly painting out spikes and artifacts post bake.

Baking raycast displacement is very similar to baking anything from a shader. The only difference is you are baking out the attribute generated from the geometry nodes modifier:

INSTRUCTIONS:

-Create 2 collections, one for your low res geo and one for your high res.
-Append and attach the geometry node to a new object (outside of the collections you just created) and link your hires and low res collections under the geometry node settings.
-Increase the subdivision levels within the geometry node settings so your low res is capturing the detail of the high res.
-Dial in your "open edge" and "raylength" thresholds to remove any spikes (start with very small values and slowly increase until all spikes are resolved)
-Once happy with your projection, assign a material to your geometry nodes object, geometry nodes modifier and your low res geo.
-Enter into the shader editor and create an "attribute" node under than material and call the "disp" attribute. Connect the color of this node in to shader output (surface).
-From here you can bake as you normally would in cycles by creating a 32bit image (single OR udims), and bake out the emission.

NOTE: When baking lots of objects that are crashing/intersecting, it is best to "explode" the objects (move them apart from each other) so the raycast node isn't shooting rays onto the wrong objects.

-There is a bug is blender 4.2 (unrelated to Raycast Displacement Baker) currently where you cant preview baked textures in cycles. To get around this you'll need to save out your bakes to disk before they can be used with cycles. You can however, work with Evee just fine.

Add to cart
Size
1.23 MB
Copy product URL

Ratings

5
(1 rating)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%