i want to achieve the roof like the picture A.The code i wrote is below:
roof-->
roofGable(30, 0, 0, false)
setupProjection(0,scope.xy,getTextureSizeU,getTextureSizeV) projectUV(0)
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?
A:[ATTACH=CONFIG]29304[/ATTACH]
B:[ATTACH=CONFIG]29302[/ATTACH]
C:[ATTACH=CONFIG]29303[/ATTACH]