wowgetoffyourcellphone Posted June 27, 2021 Report Share Posted June 27, 2021 Trying to make a wooden bridge decal (much more flexible than using terrain textures), but it renders this black square under it. Any ideas? Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted June 27, 2021 Report Share Posted June 27, 2021 What's the material? Could you attach a sample decal? Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted June 27, 2021 Author Report Share Posted June 27, 2021 7 hours ago, vladislavbelov said: What's the material? Could you attach a sample decal? bridge_wood_01.xml bridge_wood_01.zip Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted June 27, 2021 Report Share Posted June 27, 2021 1 hour ago, wowgetoffyourcellphone said: bridge_wood_01.xml 525 B · 2 downloads bridge_wood_01.zip 5 MB · 1 download Decals are supposed to be rendered only in bounds you set in xml. And outside of those bounds shouldn't be rendered. To avoid rendering it uses alpha channel of the texture on its borders (and all current decal textures are transparent on their borders). So to fix the issue you need to add a transparent border to your texture. 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted June 28, 2021 Author Report Share Posted June 28, 2021 3 hours ago, vladislavbelov said: Decals are supposed to be rendered only in bounds you set in xml. And outside of those bounds shouldn't be rendered. To avoid rendering it uses alpha channel of the texture on its borders (and all current decal textures are transparent on their borders). So to fix the issue you need to add a transparent border to your texture. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.