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

Artifacts en los mesh con transparencias #125

Open
rejurime opened this issue Apr 11, 2020 · 0 comments
Open

Artifacts en los mesh con transparencias #125

rejurime opened this issue Apr 11, 2020 · 0 comments

Comments

@rejurime
Copy link
Member

Los meshes transparentes, mas que nada los de vegetacion, generalmente muestran estos artifacts en algunos lugares
photo_68@10-04-2020_09-46-27
eso es por como esta hecho el mapping, el png de la imagen es asi:
photo_69@10-04-2020_09-48-05
entonces, como la textura esta puesta en WRAP cuando llega a la parte de arriba interpola usando los datos de la parte de abajo tipico problema cuando se usan atlas . En esos casos el shader deberia estar en CLAMP.

Texture = (texDiffuseMap);
ADDRESSU = CLAMP;
ADDRESSV = CLAMP;

Que quiza deberia ser el valor x defecto para los mesh de tgc, el WRAP es mas para los tiles.

Asi queda con CLAMP:
photo_70@10-04-2020_09-50-37

@rejurime rejurime added the bug label Apr 11, 2020
@rejurime rejurime added this to the Mejora TGCViewer 1C2020 milestone Apr 11, 2020
@rejurime rejurime added enhancement and removed bug labels Apr 17, 2020
@rejurime rejurime removed this from the Mejora TGCViewer 1C2020 milestone Apr 19, 2020
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

1 participant