PCG - Paint Landscape Layer

I give up, I have the same setup, but somehow my terrain’s weight is not fully set when painting that certain layer weight. Thanks for the help anyway!

Sorry to hear man, did you try the pcg stuff I posted in the pdf?

If it doesn’t work without PCG (manually placing it in the world), i don’t see how spawning it via PCG would solve the problem.

Fair - what version of UE are you using?

5.5.1

1 Like

okay, i’m in latest but I don’t think that will be it.

Did you look at the screenshots in the PDF? Maybe there’s a parameter I changed? Did you change blend mode to additive? If you did then I’m out of ideas I’m afraid. Only started using landscape patches 2 days ago.

Yep, tried all combinations. Maybe it’s a terrain setting. How is your shader? Mine is quite simple, just Weight-Blended Target Layers, with a simple shader that does a landscape layer blend.

The landscape has 2 Edit Layers, a Base (Alpha 1.0) and a ‘Patches’ layer.

Edit: I think I might be getting some weird behavior due to hardware issues. I am not sure that it is related to the setup, but to some either ordering weird bug in unreal or to some compute shader GPU bug that might be present only on my device. Because it seems to be working after depleting my GPU memory for some reason, but it is a bit erratic. I do not want to further lengthen the problem on this thread, that might be a local hardware problem.

Many thanks for all the help, and I’m also glad that we’ve found this texture patching solution, I’ll definitely use it for some generation that I require on my map!

my shader came with a landscape pack I purchased

Uses layer samples and has a bunch of features like triplanar and height blending stuff etc.
Got a few edit layers and about 11 paint layers

No problem, hope you manage to figure out the issue at some point.

1 Like

For all future users who read this thread.

If you encounter the issue where the weight layer appears seemingly at half opacity you must:

  • Set the base layer of the landscape (Layer1 in my case) to no weight blend in the layerinfo
  • Set the base layer to LB Weight Blend in the material landscape layer blend node
  • Set the layer that is being applied on top (Layer2 in my case) to LB Alpha Blend

I unfortunately do not know why this is how it has to be, but only that it works.

This should fix your issue. Good luck.

I believe this also fixes the same issue where landscape road splines appear at half opacity/transparent. So I’m adding that here incase it helps anyone search for that fix.

There’s one more workaround to this workaround, I’ve managed to fix it with the half-showing by setting the base layer Alpha (in the Edit Layers window) to 0.01 from 1. That also solved the issue, and it’s a bit easier imo than meddling with the weight/alpha blend.

Hey,

That sounds useful, could you show me a screenshot please of where that option is?

Update on that, I found it here, thanks John!

1 Like