#Outline on painted landscape material?

1 messages Β· Page 1 of 1 (latest)

white jay
#

How can I get an outline around the edge of a painted landscape material like a road or path?

white jay
#

I mean like a transition material between two materials like on a autolandscape
But instead, on a painted landscape material

cunning fjord
#

For the painted look you need to use textures, you can add them like any grass texture and I think it will look okey.

For the outline there are two options, use a postproces sobel function for outlines or render another Landscape on top to make the outlines with ”Inverted hull” outlines.
Both have pros and cons.
With post proces is more eficient becouse they are created in screenspace but it is dificult to obtain the expected result. With inverted hull its somewhat easy to set up but you are rendering a duplicate of the mesh so it isnt greate at eficiency.

For the last thing you mentioned, tell me if I am wrong but you want to isolate the efect? If it is that with post proces stencils is the go. If you mean that the outlines separete the objects that are placed on the landscape, then also the post proces solution is beter becouse otherwise you would need to render twice the objects.

I tried the post proces efect for a long time for outlines and it is frustating to say the least.

#

I also want to add a painterly efect to my game so looking forward to that.

white jay
#

here is my game, see how there is a material between the cliff and the grass that looks like dirt?

#

I have that setup in the autolandscape material

#

I want that dirt material between my painted road material and the landscape too

cunning fjord
#

How many textures would you want to blend between each other? The texture would be diferent depending on witch textures intercept?

I dont know how the autolandscape works so I cant help with that part

white jay
#

just one

#

@cunning fjord

cunning fjord
#

Then you can just blend textures with the lerp node, 1 is one texture 0 other texture and the lerp function blends them

white jay
#

I dont think you underdtand what im saying maybe haha

cunning fjord
white jay
#

Yeah im not even talking about any plug-in hahah