-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Border around all decals #6
Comments
This weird border is caused by aliasing and can't directly be removed. I already implemented a workaround to this which consists in using a texture mask with transparent borders to hide this aliasing. There's a mask available in the src folder of the addon (decalco/src/alpha_mask.png), all you need to do is assign it to the bordel_mask texture field in your material's settings. |
I have that applied, it doesn't seem to make a difference though. Turning off mipmaps in the import settings makes the line go away, but I'm not sure that's a good solution. |
Mipmapping doesn't seem to be related to the issue (just tested on my workstation and it works in both cases). This could be related to you render resolution or an issue with your graphics driver. If disabling mipmapping solves the issue, you can go that way, just keep in mind that the texture will always keep its higher level of details at any distance from the camera. If it's an issue, you may want to implement some sort of culling on the decals. |
I'm not sure what could be causing this, but all decals from this addon have a weird line border around the shape of the image used.
The text was updated successfully, but these errors were encountered: