TakeruGrima Posted May 21, 2024 Posted May 21, 2024 I tried to make an intersection to my road with a rocky road texture but it doesn't looks right. Here we can clearly see the textures cut on the intersection. I don't think there is a way to fix it but may be I missed some settings somewhere or may be there is a way to just make it looks a bit better.
Bryan Posted May 22, 2024 Posted May 22, 2024 You can try to simplify the spline (button found at the top). Otherwise its just moving the nodes around until it looks the way you want it.
MetalDevil25 Posted July 22, 2024 Posted July 22, 2024 I am having the same issue. the intersection stretches out the texture where you can clearly see the seems from the intersection. Not sure if that is a UV issue with the mesh road, or something else with the texture itself. since obviously it wasn't made with "Intersections" in mind. Maybe i may have to import this into Blender and fix it somehow? not sure. But then that may lose its scripts/functionality with GeNa. the default GeNa road only doesn't have this issue because its just a basic asphalt road and doesn't have details like this road does.
MetalDevil25 Posted July 22, 2024 Posted July 22, 2024 4 hours ago, MetalDevil25 said: I am having the same issue. the intersection stretches out the texture where you can clearly see the seems from the intersection. Not sure if that is a UV issue with the mesh road, or something else with the texture itself. since obviously it wasn't made with "Intersections" in mind. Maybe i may have to import this into Blender and fix it somehow? not sure. But then that may lose its scripts/functionality with GeNa. the default GeNa road only doesn't have this issue because its just a basic asphalt road and doesn't have details like this road does. Nevermind, importing to blender is not doable since it doesn't seem like its actually rendering a mesh for some reason. When i use the FBX converter and trying to import into blender, its just blank.
Bryan Posted July 24, 2024 Posted July 24, 2024 Yeah I would assume its due to the detail. You can get the mesh after it spawns, but its not on the spline directly. It would be in the hierarchy under the spline Road Mesh. You could also bake the road which will finalize it and I believe you then would be able to take it and adjust it.
MetalDevil25 Posted July 24, 2024 Posted July 24, 2024 2 hours ago, Bryan said: Yeah I would assume its due to the detail. You can get the mesh after it spawns, but its not on the spline directly. It would be in the hierarchy under the spline Road Mesh. You could also bake the road which will finalize it and I believe you then would be able to take it and adjust it. I see. Maybe that was the issue. I didn't bake it. I will attempt this later and see the outcome, and let you know. 1
MetalDevil25 Posted July 27, 2024 Posted July 27, 2024 On 7/24/2024 at 11:21 PM, Bryan said: Please do I was able to get around to it, and unfortunately it still doesn't render a mesh. So still can't import into Blender to fix the UVs
RickysSoftware Posted July 28, 2024 Posted July 28, 2024 I believe it's due to how the intersections are made. It looks like it does it like this: A center vert with the other vertices going around the center. Think of it like a pizza with the triangular shaped slices. It does look like a uv issue. If it is a uv issue then this script will fix it. Attach the uvfixer script to your intersection, hit updateUvsTrue in the inspector, and that's it. Be sure to post the result so I can see it. uvfixer.cs
MetalDevil25 Posted August 1, 2024 Posted August 1, 2024 On 7/28/2024 at 5:54 AM, RickysSoftware said: I believe it's due to how the intersections are made. It looks like it does it like this: A center vert with the other vertices going around the center. Think of it like a pizza with the triangular shaped slices. It does look like a uv issue. If it is a uv issue then this script will fix it. Attach the uvfixer script to your intersection, hit updateUvsTrue in the inspector, and that's it. Be sure to post the result so I can see it. uvfixer.cs 1.09 kB · 0 downloads I will try this
MetalDevil25 Posted August 1, 2024 Posted August 1, 2024 On 7/28/2024 at 5:54 AM, RickysSoftware said: I believe it's due to how the intersections are made. It looks like it does it like this: A center vert with the other vertices going around the center. Think of it like a pizza with the triangular shaped slices. It does look like a uv issue. If it is a uv issue then this script will fix it. Attach the uvfixer script to your intersection, hit updateUvsTrue in the inspector, and that's it. Be sure to post the result so I can see it. uvfixer.cs 1.09 kB · 0 downloads Well, this is the effect it gave me when i clicked on update true UVs. I feel like we're getting closer to solving this. lol It kinda seems like that copied the looks of the material you see at the bottom right of the screenshot. moving the Tiling doesn't have an effect on it, since it still has the giant hole in the middle there.
MetalDevil25 Posted August 1, 2024 Posted August 1, 2024 the weird part is, it looks like this object has a mesh, but it doesn't render. it at the bottom it says 339 triangles | UV1.
RickysSoftware Posted August 1, 2024 Posted August 1, 2024 8 hours ago, MetalDevil25 said: Well, this is the effect it gave me when i clicked on update true UVs. I feel like we're getting closer to solving this. lol It kinda seems like that copied the looks of the material you see at the bottom right of the screenshot. moving the Tiling doesn't have an effect on it, since it still has the giant hole in the middle there. Did you try creating a road profile and using a material for the render mode rather than PW shader?
MetalDevil25 Posted August 1, 2024 Posted August 1, 2024 9 hours ago, RickysSoftware said: Did you try creating a road profile and using a material for the render mode rather than PW shader? I will try that later. But hopefully it won't lose its ability to edge blend. Or blend with the ground.
MetalDevil25 Posted August 2, 2024 Posted August 2, 2024 16 hours ago, RickysSoftware said: Did you try creating a road profile and using a material for the render mode rather than PW shader? it seems like changing the render mode to material some-what does a better job, but it doesn't let me do negative values in the "Edge Blend power" Which i bet would fix it. but as you can see, that hole is still there. but another problem is that now the edges are stretched/don't look right on the object. I think that hole we are seeing is actually meant for the edges of the object, but it got moved around to the top side of the object as you can see which is why we/re seeing a giant hole in the middle or side of the intersection/object. the second image you are seeing on here is with the HDRP/LIT shader material, which clearly solves the problem. however, we have no functionality with edge blending or blending with the ground, which is what we want from the PW_shader graph for the roads.
RickysSoftware Posted August 2, 2024 Posted August 2, 2024 So it's a shader issue. I'll look further into it and if I can figure it out I'll update you. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now