vulxin
vulxin
光照贴图的最后一个参考解答链接打开是空白的:[https://learnopengl.com/code_viewer_gh.php?code=src/2.lighting/4.3.lighting_maps_exercise4/lighting_maps_exercise4.cpp](https://learnopengl.com/code_viewer_gh.php?code=src/2.lighting/4.3.lighting_maps_exercise4/lighting_maps_exercise4.cpp) 对应原文[Lighting Maps](https://learnopengl.com/Lighting/Lighting-maps)那节给出的参考解答链接是[https://learnopengl.com/code_viewer_gh.php?code=src/2.lighting/4.4.lighting_maps_exercise4/lighting_maps_exercise4.cpp](https://learnopengl.com/code_viewer_gh.php?code=src/2.lighting/4.4.lighting_maps_exercise4/lighting_maps_exercise4.cpp)
I think there is some problem with this function: ```c++ void GLFramebuffer::DrawBuffers(const unsigned int attachments[]) const { glDrawBuffers(sizeof(attachments) / sizeof(attachments[0]), attachments); } ``` The first parameter value passed to `glDrawBuffers`...
NOTE: Your issue may already be reported! Please search on the [issue tracker](../) before creating one. **Describe the bug** Setting mipmap generation of already created render texture is not supported!...