I am behind with the series and have reached day 394. On my machine, the day 394 code does not run. I skipped some episodes ahead and checked resolved github issues to find and fix part of the problem. I stopped using
gl_FragData and use
layout(location = 0) out v4 FragColour;. That works fine.
I still have the problem that the lighting textures are not drawn the same as on Casey's machine. To debug, I set
FakeSeedLighting to fill with red, and commented out the call to
ComputeLightTransport. When drawing it, it does not fill the screen. It is just in the lower left corner.
If I call
ComputeLightTransport, it draws smaller in the lower left, getting smaller for each loop to
I assume there is some OpenGl state that is causing this, but I am new to OpenGl and have been unable to figure it out.
And idea of the problem? Thanks