knightcrawler25 / GLSL-PathTracer

A toy physically based GPU path tracer (C++/OpenGL/GLSL)
MIT License
1.85k stars 175 forks source link

openGL error when using progressive renderer with glassboy #3

Closed CedricGuillemet closed 5 years ago

CedricGuillemet commented 5 years ago

I get an openGL error reported when trying to render glassboy with a progressive renderer GL Debug (ERROR - HIGH) Error has been generated. GL error GL_INVALID_ENUM in TexStorage3D: (ID: 1669289888) Generic error this corresponds to https://github.com/knightcrawler25/GLSL-PathTracer/blob/master/PathTracer/src/Renderer.cpp#L83

knightcrawler25 commented 5 years ago

Edit: I believe glTexStorage3D isn't needed so just removing those calls should be fine.

knightcrawler25 commented 5 years ago

Let me know if that change worked

knightcrawler25 commented 5 years ago

Closing this issue since its fixed now