• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

SOLVED Skidmarks in game render problem

Massimo

Member
Hi friends,
Today's question is about skidmarks. I want make them for my track and my problem is simple. To test and make sure everything was ok, I duplicated some faces of the road where I wanted the skidmarks to be, applied an alpha texture and imported into AC. The material of the skidmarks was set using KsPerPixel shader, the Alpha-blend mode and the transparent setting on true, but the result is what you can see in the attached image: there is that very strange transparent effect that is in some areas. I must say that at a close distance the problem does not exist, but walking away with the free camera, it appears. I want to premise that the surface of the road is not perfectly flat, but slightly swollen in the center, however, as mentioned, the skidmarks's mesh is a duplicate of some faces of the road, so perfectly identical. Am I doing something wrong?

Thanks in advance as always guys
 

Attachments

JrC

Active Member
Its likely the Z fighting. The mesh is not slightly raised off the mesh underneath.
If you work in Blender, you can shrink wrap the mesh to be 1mm higher or a bit more and it should get rid of that but not look like its floating if indeed thats what the problem is. Hard to tell with how dark the textures are.

One of the guys on here mentioned the function and its saved me a ton of time.
 

Massimo

Member
Its likely the Z fighting. The mesh is not slightly raised off the mesh underneath.
If you work in Blender, you can shrink wrap the mesh to be 1mm higher or a bit more and it should get rid of that but not look like its floating if indeed thats what the problem is. Hard to tell with how dark the textures are.

One of the guys on here mentioned the function and its saved me a ton of time.
Hi man, thanks for your reply.
I had thought about this too and tried to raise the mesh, but the problem disappears at a too high and visible height. And yet it is strange, the meshes should be identical. Yes, I use blender but I haven't tried the wrap command as you advised me, I just raised the surface. Could there be a difference in this? Anyway I'll try, I'll let you know.

Thank you
 

Massimo

Member
Its likely the Z fighting. The mesh is not slightly raised off the mesh underneath.
If you work in Blender, you can shrink wrap the mesh to be 1mm higher or a bit more and it should get rid of that but not look like its floating if indeed thats what the problem is. Hard to tell with how dark the textures are.

One of the guys on here mentioned the function and its saved me a ton of time.
Hi man,
I tried with your suggestion about Shrink/Wrap command to raise the mesh in Blender, and it works!
Thanks, as always for your help!

Best regards

Massimo
 
Last edited:
  • Like
Reactions: JrC
Top