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

GlfBaseTexture, automatic mipmapping and core OpenGL profile #1171

Closed
ShaderManager opened this issue Apr 20, 2020 · 1 comment
Closed

GlfBaseTexture, automatic mipmapping and core OpenGL profile #1171

ShaderManager opened this issue Apr 20, 2020 · 1 comment

Comments

@ShaderManager
Copy link

Description of Issue

GlfBaseTexture uses old OpenGL1.4 functionality to generate mipmap chain, which is deprecated and removed in core OpenGL 4.5 profile. For example, this leads to broken texture object for default domelight and following inability to calculate IBL tables properly.
https://github.com/PixarAnimationStudios/USD/blob/master/pxr/imaging/glf/baseTexture.cpp#L368
Possible fix is to use glGenerateMipmap instead.

Steps to Reproduce

  1. Create OpenGL 4.5 context with core profile bit
  2. Try to use GlfBaseTexture with automatic mipmap generation.

Package Versions

Tested with 20.05.

@jilliene
Copy link

Filed as internal issue #USD-6009

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

3 participants