A problem with wrong shadows on a material!

I m trying to make a warp/deform mat with a plane and a material that can be changed dynamically. The problem is that when I have a shadow over the plane it will create some sort of shadows where they hit the impact location of the plane.

Actor


Material

What can i do?

up?

Are you using raytracing? Perhaps you need to turn on “Evaluate World Position Offset in Ray Tracing” on the static mesh that is being deformed.

eva
it doesn t solve anything :frowning:

Not seeing this problem after recreating it in the top down template.
Only thing that looks weird is that the shadow is darker without GI

Could it be a side effect of some post processing?
It could also be a strange artifact from ambient occlusion if you have non-default settings.

1 Like

hmm, weird! I m using a default third-person template. Can you give me the project?

Sure. I’ll pack it and put it on Google drive in a few minutes.

1 Like

or more simply on wetransfer.
Thanks a lot man for your help!

Modified an old dash project with top down (run on shift)

1 Like

So, I tested it and after putting my config settings in your project, I find the same problem.


Here, you had a value of -0.5, while I need to be at least -1.0
so, the deeper the deformation, the more strange shadows are created.

Thank you for trying to help me!!
I really don t know what else to do.

It looks like it might be an ambient occlusion result. Perhaps the mesh is deforming but the AO data is not updating.

Try turning off ambient occlusion temporarily and see if that is the source of the behavior.

From material?

Probably a post process volume effect or screen space AO.

In the end! I found the solution!!

Thank you very much for trying to help me! I remain grateful!
Have a good day!!

1 Like

Congrats on finding the solution!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.