sorlok/Dubious-Dabblings — Issue #2: Post FX Shader buggy in WinXed
Author: sorlok
Created: 2011-12-29 09:26:21+00:00
State: open

For some reason, my translation of PIR to WinXed didn't go well. Strangely, it only seems to affect the PostFX shader, leading to the error:

Impossible to use texture "framebuffer" for post-effect : all available texture units are used

...and a really awesome image:
https://github.com/sorlok/Dubious-Dabblings/raw/master/screenshots/fun_error.png

The same image occurs if you comment out the line that assigns the framebuffer, so I'm assuming the error image is just the result of updating on non-bound data.

Now that WinXed basically works, I want to refactor my PIR code into actual classes and objects (after I figure out destructors). I'm hesitant to debug this error while we still have globally-scoped items and "magic" assignment (all the DEMO_ methods), since it could be any number of unimportant mistakes or typos (which could easily be caught once we get a more OO approach).

But still marking this for now.