Blender

Blender

Grim Rapper Mar 26, 2020 @ 2:18pm
how do i bake displacment map in version 2.82?
i want to bake displacment from an object. but unlike in a taturial for blender 2.81
i dont see any bake type called "displacment?"
so does anyone know what to do?
< >
Showing 1-3 of 3 comments
Grim Rapper Mar 26, 2020 @ 7:47pm 
Originally posted by The Renderer:
Maybe this helps?

https://www.youtube.com/watch?v=dUEPieo26nk

not really im afraid i need to be able to bake to active object.
so it will feet the UV unrwap
senakujin Mar 28, 2020 @ 2:12am 
I don't think displacement has technically been in blender since 2.79 or lower as it was par tof the blender internal engine that was dropped.



You can get a rough grey-scale displacement by using Ambient Occlusion. In the shader editor, add an Ambient Occlusion node. Check the '[x]inside' option to project rays internally (from the backface normal). As soon as a ray hits a target it will return a color, black will be a ray that basically didn't travel at all, White if it traveled the longest distance you allow it to travel in the material node the surface will return white. You can invert this output with the invert node and use a color ramp if you need to adjust the bias (although usually displacement you want as linear) then run it to an emission shader and bake the emission pass.



Another option might be the 'point density' node, set to "object vertices" mode, world space, targeting the other object. This will create a sphere ray from each vertex of the target object and project it onto the surface w/ the shader node through the 'density' output. This more patchy then the AO version because it will not test surfaces and can be very slow. Like the AO version the output is also inverted from what you want. Its not a very good option, but may meet some use cases.


Hopefully that helps, there is no 3D/Color displacements bake methods that i know of.
Last edited by senakujin; Mar 28, 2020 @ 2:14am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Mar 26, 2020 @ 2:18pm
Posts: 3