OpenGL PBR BDRF Issue

Started by
1 comment, last by chaeunwoo 1 year ago

Hello everyone, I have been working on a pbr renderer in opengl, and I have ran into some problems. I have generated the BRDF texture and rendered it once before the main loop. What you are looking at below is a reflection of a cubemap on a cube, and there is a big black square which seems to be the BRDF texture. Can someone give me some ideas on what could potentially be going wrong? Thanks in advance.

Edit: I figured it out, In my case I was not setting the mip map level for the prefilter cubemap.

cubemap reflection on a cube
Advertisement

This topic is closed to new replies.

Advertisement