i want to achieve the roof like the picture A.The code i wrote is below:
roofGable(30, 0, 0, false)
set(material.dirtmap,getRoofTexture) setupProjection(2,scope.xy,1,1) projectUV(2)
when i applied the code to the shape,i get the result as the picture B.The lower part picture was misty.I did some experiments.I drew two shapes which the differences between them were the length and width.The picture C represents the result.
how should i modify the code?