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

Hard edges on terrain where terrain textures appearance changes #1704

Open
ghost opened this issue Jul 27, 2016 · 6 comments
Open

Hard edges on terrain where terrain textures appearance changes #1704

ghost opened this issue Jul 27, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 27, 2016

Additional to the terrain textures being wrong I noticed that on certain tiles in the map, the terrain rendering suddenly is different. There is a straight line without blending and inside that tile the textures look more like they looked originally while around they are like the 3.9 high contrasty wrong textures.
So it is hard to adjust them if there is those tiles where everything is different.
Here are some example screenshots:
http://duion.com/files/temp/screenshot_TG_DesertRuins_day001-00003.png
http://duion.com/files/temp/screenshot_TG_BuildingSite_day001-00004.png
http://duion.com/files/temp/screenshot_TG_BuildingSite_day001-00007.png

I found out that the seam goes away, if I disable the macro texture, so it is related to that likely.

@ghost
Copy link
Author

ghost commented Jul 29, 2016

News on this issue, I found out that this bug only happens for one specific texture layer, this is why it is so hard to find, since all other terrain layers may blend fine, just one of them in one or more tiles blends wrong and it only blends wrong on itself, means it blends well to all other layers, but not to itself in those bugged tiles.
For example you can paint over the hard edge with the blend issue with another layer and everything blends fine again.
Another thing what you can do is, you can change the order of the terrain layers in the list and suddenly another layer has the blending issues. You may also see whole layers changing in intensity based on where they are in the ordered terrain textures list, so some textures may look fine, others ugly.

The thing is on the tiles where the issue occurs the terrains look fine like in the previous version, but all around it looks wrong.

So the question is, which part is the bugged one and which one is how it is supposed to be, only based on that the issue can be fixed, since this edge issue has to be fixed first.

@ghost
Copy link
Author

ghost commented Jul 29, 2016

More infos, it only happens with normal map shader activated and on the high contrast side next to the edge you have those normal map glitch lines.

@ghost
Copy link
Author

ghost commented Jul 29, 2016

False alert, seam is there without macro texture as well, just not visible that much but the issue consists without macro texture.

Azaezel added a commit to Azaezel/Torque3D that referenced this issue Jul 29, 2016
@Bloodknight
Copy link
Contributor

Just to add to this, i was having the same issue when panning forwards and backwards, it appeared only when a macro texture was in use at the time, removing the macro texture removed the issue at least for me.

@ghost
Copy link
Author

ghost commented Jul 31, 2016

Azaezels pull request fixes it, what remains is the normal map artifacts where the edge was, but the diffuse blending has no more issues.

ghost pushed a commit that referenced this issue Aug 6, 2016
adresses #1704: partial reversion to 3.8 specs regarding layer blending.
@RichardsGameStudio
Copy link
Contributor

Just to add to this, i was having the same issue when panning forwards and backwards, it appeared only when a macro texture was in use at the time, removing the macro texture removed the issue at least for me.

Yes, it is an old issue dating back to 3.5 I think.

lukaspj added a commit to lukaspj/Torque3D-Old that referenced this issue Jul 19, 2017
This will seek to solve blending artifacts as explained in GarageGames#1704
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants