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

Cubemap Seams #17

Open
aWilson41 opened this issue Apr 4, 2024 · 1 comment
Open

Cubemap Seams #17

aWilson41 opened this issue Apr 4, 2024 · 1 comment

Comments

@aWilson41
Copy link

Great learning resource! Thanks!

I found when applying similar techniques in OpenGL and testing on a sphere with some amount of roughness that I needed to add:

 glTextureParameteri(id, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
 glTextureParameteri(id, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);

To the cubemap textures to prevent any visible seams on cubemap edges.

image

Might be useful to anyone that finds it.

@cool-cola
Copy link

cool-cola commented Apr 4, 2024 via email

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