Skip to content
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

Visual glitch between the two halves of beds #1952

Closed
Xaleth opened this issue Nov 21, 2017 · 7 comments
Closed

Visual glitch between the two halves of beds #1952

Xaleth opened this issue Nov 21, 2017 · 7 comments

Comments

@Xaleth
Copy link

Xaleth commented Nov 21, 2017

The differences between bed_top and bed_bottom have a minor collision in between. There is a small line dividing the two parts of the bed. Example:

2v1ku9e

The shading is also different between the two. Example:

a9l2s0c

The shading is lighter on the left; whereas, it's darker on the right. You can also see the brown line dividing the two parts of the bed.

@rubenwardy rubenwardy changed the title Beds Visual glitch between the two halves of beds Nov 21, 2017
@rubenwardy rubenwardy added the Bug label Nov 21, 2017
@Fixer-007
Copy link
Contributor

Use basic beds instead, they connect nicely.

@paramat
Copy link
Contributor

paramat commented Nov 22, 2017

The gap may be a UV map issue, you can see the gaps are on every edge of the model.

@paramat
Copy link
Contributor

paramat commented Jan 20, 2018

I can't reproduce these issues. Are you using latest MTG?

@TumeniNodes
Copy link
Contributor

TumeniNodes commented Jan 30, 2018

I can confirm more than just this visual glitch.
Although I am on 0.4.16 stable, not aware if this was fixed in most recent builds
I have some close up shots if anyone wants to look
https://ibb.co/album/cxy10a

I'm going to look into this as best I can, which is only texture related
There are many issues with edges

@NathanSalapat
Copy link
Contributor

The problems you are seeing @TumeniNodes are due to filtering and antialiasing. The pixels are being blurred with the adjoining pixels that aren't visible, and it produces those lines. If you turn off filters you'll see that the problems have gone away. I don't know if there is any easy way to fix this, as the filtering just blurs with adjacent pixels, and if those pixels are a very different color, as they often are with uv maps, you get artifacts. What I usually do to prevent this on my models is provide a pixel or two of 'bled' space, so when a texture blurs it has more of the same color to blur with. I'm not sure if the beds are using UV maps, or if that is a nodebox, but either way it is probably the same cause and effect.

@TumeniNodes
Copy link
Contributor

TumeniNodes commented Jan 30, 2018

You are absolutely correct Nathan

With all filtering off the issues go away, aside from a small line of white dots along the seam of the two halves of the beds...
So, still something to look into over time, as it is still a visual bug which is unwanted when someone is using a feature which is included.

Thank you for point that out, that would have probably been one of the last things I looked at

It is also the same problem using filters with dry grass 1-5

@paramat
Copy link
Contributor

paramat commented Jan 30, 2018

I see you don't get one half of the bed darker than the other.

Just realised the thread author has smooth lighting off, duh, that's why.
If there is any issue here it's an engine issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants