How to use depth/Parallax map with visualShader?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MajorBarnulf

Hi, I’m using godot along with blender,

for my project I had to use depth map to lower the polycount of many of my models,
But I don’t know where to plug them in the visual shader node editor :confused:

I tried using normal mapping instead, but it seems too off

I would also want to know if there’s a way to set properties like “DEPTH” in the visual shader node three through the “expression” node

I am not sure what you want to do and what your current setup is. Could you please clarify? What exactly do you want to achieve? To my understanding, you want to reduce the polycount of a model based on how far said model is from the camera, is that right?

johnygames | 2020-03-19 22:05

well, I’m not trying to make an LOD system,
I have my model and it’s depthmap (or displacement map)

I am trying to find a way to apply it (to get a parallax effect) and I would like to use the visualShader editor to do that.
(I know there’s ways to do it with a scripted shader, but I am not comfortable with the shading language :confused: )

MajorBarnulf | 2020-03-19 23:41