Author Topic: Displacement issue  (Read 662 times)

2025-04-30, 15:05:06

MattiaPenazziArchitect

  • Active Users
  • **
  • Posts: 66
    • View Profile
    • Portfolio
Hi everyone! I need a hand because I’ve been banging my head on this for a while now.
I noticed a strange effect on objects with displacement applied, and after doing a test on a native C4D cube (so no weird meshes), the issue still shows up and I can’t figure it out.
It looks like the displacement isn’t being applied along the face normal, but rather at an angle or something like that.
I’m attaching some screenshots that I hope will help clarify the issue. In one of them, I applied the same texture used for displacement also in the diffuse channel, just to show that they don’t align.
I'm an Architect with a passion for photography.
Do not hesitate to contact me if you like!
https://mattiapenazziarchitect.com/
https://www.instagram.com/mattia.penazzi.architect/

2025-04-30, 16:39:47
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13625
  • Marcin
    • View Profile
This is expected. Displacement follows the direction which is interpolated between the two faces. If you are using a very low-poly object (like a cube), displacement will be skewed on all of the faces. The "fix" is subdividing the mesh. If we didn't have this, then weird things would happen on geometry edges (a simple scheme attached :) ).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-04-30, 22:33:51
Reply #2

MattiaPenazziArchitect

  • Active Users
  • **
  • Posts: 66
    • View Profile
    • Portfolio
Ah okay! What a newbie question ahah  I was convinced that Corona would subdivide the surface itself even if it wasn’t already subdivided, and that the level of subdivision was controlled by the displacement settings (screen size or world size)
I'm an Architect with a passion for photography.
Do not hesitate to contact me if you like!
https://mattiapenazziarchitect.com/
https://www.instagram.com/mattia.penazzi.architect/

2025-05-01, 16:47:17
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13625
  • Marcin
    • View Profile
Don't worry, this is not a newbie question. :)
Yes, the mesh is subdivided, otherwise it would be impossible to displace it with enough detail. But the direction in which the displacement goes is interpolated based on the original normals.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us