Basic Shader with Displacement

 

Hi :) For an upcoming project, I want to use 2D pictures in a 3D scene with tracked cameras. As I do not want to have any lights in my scene, the workflow 3D Body -> Basic Shader -> Render_General works fine. 

But I need to use displacement maps. Is there a way to shade a 3d body (a plane) with a displacement shader and NOT using any lights? 

Again, this works right the way I want it to work:


How to doe the same thing, BUT with displacement in the shader?

Thank you, best, Jan

   chinzillafilms

 
Profile Image
Eifert@Aximmetry
  -  

Hi Jan,

We have displacement shaders at: [Common]:Shaders\Displaced
As you discovered they need light. But in the case of the ones that need a light map (like Disp_Norm_Light.xshad), you can easily fake the lighting by connecting a Solid Color module to the Light Map pin of the shader:

Note, that you don't need to import a plane model. The Flow Editor has basic Bodies modules, you can just use the Rectangle module from them as a plane.

Also, Aximmetry has a shader editor. You can actually open any of the shaders that come with Aximmetry and fit them to your needs. For example, you could remove that the texture's color is multiplied by the light in the shader, this way removing the need for lighting. More on editing shaders here: https://aximmetry.com/learn/tutorials/for-content-creators/creating-new-shaders/

Warmest regards,