Complete FFP emulator

Issue #47 resolved
Michael Ludwig
repo owner created an issue

In order to improve performance, it might be required to generate the shaders to avoid the ridiculously high costs of branching. The main bottleneck right now seems to be texture environment.

Comments (2)

  1. Michael Ludwig reporter

    Generation comes with its own issues of how to synchronize state between the multiple shaders. Making a seemingly small state change could trigger a new shader compilation and/or copying the entire state from one program to another.

    For now, everything seems to function as expected. I can have a fogged, multi-light shadow mapped scene running through the emulator and it is slower, but there's not much else I can do to improve things.

  2. Log in to comment