Stepping/cascading shadows on cylindrical mesh

Hello unreal community.
I’m new to in-engine stuff. My background is character art and it’s been years since I really worked with an engine besides checking textures and normal maps for characters.

I’ve an issue with a simple windmill I’ve modelled.
Do you see these stepped shadows on the side of the windmill?

Is this something unavoidable when not using normal maps? Because the goal with this asset was to test a mid-poly workflow where I don’t need to bake any normalmaps. Or would the simple solution be to increase the roundness?
I never did environmental assets, is it common sense to use a lot of polygons for big pieces like this windmill and then afterwards LOD the ■■■■ out of it?

What would you recommend?

Thank you very much,

I’m pretty sure that’s a bad UV map. Can you show it in the static mesh editor?

UVs are straight and have good textel density, almost 1:1 aspect ratio. These UVs are clean.

Stand corrected, that’s a good map.

It still looks like a distorted texture problem, though.

Is the material complex?

PS: I notice that’s not the engine map. Does it end up ok in the engine ( mesh editor ).

It’s just a standard material provided within the Engine Content. This is also visible with a standard material with no inputs. But it’s more visible on a darker tone so I uploaded it with this wood material.

Ok, then the only other thing I can see is that it’s a bit low poly. Are you talking about the vertical banding?

Then you either need more polys, or ‘shade smooth’, as it would be in Blender.

Maybe really just more goemetry. But that feels wrong. I mean this piece shades smoothly in other real time 3D viewports like Maya, Blender etc.

Vertex normals or “smooth shading” or “smoothing groups” however you wanna call this can’t be the source of the problem look at this:

1 Like

That’s it I’m afraid, all out of ideas :-/

It’s a shadow bias issue. To get rid of the banding, you need to increase the shadow bias on your light. Disabling shadows on the mesh will make the banding go away completely, but then you lose shadows :frowning:.

1 Like

What if you treat it like a bad Reflection and change Use High Precision Tangent Basis on lod 0 ?

Does that cause the shadowing to render any different?

I thought about it a bit more.

Have you tried increasing the roughness?..

@
Did not change the rendering in the slightest, but non the less interesting, what does this do? How did you use this before?

@ midgunner66
You are totally right, I played around with every value I could find in the directional light, I could improve it a bit but I can never get rid of it completely. What did you mean with shadow “bias”? I could not find any bias value or mode.

This seems like a more complex problem than I thought. I guess I have to dig into Lightmap Baking to fully understand whats going on here.
Thanks nonetheless!

@ ClockworkOcean
Thanks for the interest in this topic but after the light tests I did I really dont think its a model or material issue.

It kind of is a model issue - not enough geometry to have the tangent values accurate enough.

The setting I told you to toggle should improve that, but it’s usually for Reflections.

If there is anything at all similar to It for lighting an object/shadow baking, it would have to be at the import level.

Out of curiosity, do you have a texture plugged into the normal map, and are you sure it’s using the correct format?
You can even plug a 0,0,1 into it for testing. Though a proper normal map would be a better idea.
.5,.5,1 could do too in a pinch.

If you don’t have something plugged in, this could be the root cause.
If you have something plugged, then the other option is to derive the tangents from the normal map.
Sort of how you do for character skin…

@
There you go:

But yea again the whole point of this would be that it should work without a normalmap plugged in.
I’m aiming for a heavily stylized world look and a fast workflow to create many assets fast without worrying to build highpolys for everything.

.5,.5,1 seems to look better until the lights gets into it.

Could you have something like rtx on or any other light settings that may need to be softer?
Like disabling cascade or increasing the number of cascades…

It may look better for the cascading effect but its plain wrong and the rest of the object is full of errors and weird shading.

I cant manage to tune this values to something that gets rid of the cascading effect.
image
But anyways we are talking about a dynamic directional light, it does not need be dynamic and if I set it to static or stationary these values do nothing visible in the editor.

I’m currently ready through the “Lighting the Environment” unreal engine documentation.

Isn’t this just a normals problem with the model?
I use blender and I solve this by chaging the shade mode to “Smooth”.
Shade flat:
image

Shade smooth:
image

There’s no extra geometry, the normals are just being interpolated along the faces instead of a fixed normal face.

exactly. I am fully aware of this. “flat shade” means in engine that every edge gets cutted, vertices get duplicated and every vertex gets its own normal facing 90° ‘normal’ away form the face it belongs to.

If you smooth shade then nothing gets cutted, no extra vertices, and all normals get averaged to one angle and to look “smooth”. This windmill model is shading smooth in maya and blender and in the model inspector of unreal. I highly doubt that this is a model issue.

Let me take another shot at this one.
In the fbx export in blender, what have you selected here?
Select “Face”.
image