Cube Object Undisplaceable Area\Side

Started by WAS, February 18, 2020, 02:04:11 pm

Previous topic - Next topic


February 18, 2020, 02:04:11 pm Last Edit: February 18, 2020, 02:44:16 pm by WAS
here is a cube with nothing but compute terrain, and then some normal and lateral disp. There is a square area where displacement doesn't effect the cube. The area warps with the cube too when I have my landbridge settings enabled.


So it seems more roundness helps this issue, but I'm still confused why this side of the cube is not responding to displacement at all. You'd think the round borders would be having issues if anything, not the faces.


Compute Terrain is designed for use on a planet. You can use it on other objects, but when you do this the sides of the cube are like the sides of a planet. In these regions, the "up" vector is pointing along X and Z, not Y. So "lateral" means a different thing here. On a face that's pointing along the X axis, X displacements are vertical, not lateral, so they will be cancelled out if you use a feature that cancels out non-lateral displacements.

Furthermore, calculation of normals doesn't work well at the "equator" of the planet where the normals have a Y component of 0, and this is true on the sides of your cube. But I don't know if that's the issue here.
Just because milk is white doesn't mean that clouds are made of milk.


February 18, 2020, 04:39:31 pm #3 Last Edit: February 18, 2020, 05:50:36 pm by WAS
Oh that makes sense, and is actually beneficial to some extent in some scenarios, like I just adjusted me scene for. And yeah I see the difference in lateral and normal, but it does work to still achieve the shaders goal, though, because of orientation, the Y stretching is happening along X it seems (as you mentioned).

Thanks for the quick response.