Added texture support! Only the first texture contributes to the pixel shader. R8A8 texture support is broken (we think it's R8G8). At least for Link, some materials seem to reference more textures than there are Texture Coordinate attributes.

Signed-off-by: lesterwm <element3260@gmail.com>
Fixed bug that would prevent the PS from using constant buffers

Signed-off-by: lesterwm <element3260@gmail.com>
Fixed WARN macro to use OutputDebugString instead of printf so that we can see output in VS

Signed-off-by: lesterwm <element3260@gmail.com>
Fixed WARN macro to use OutputDebugString instead of printf so that we can see output in VS

Signed-off-by: lesterwm <element3260@gmail.com>
Quick hack to add transparency support. Improved transparency will come with TEV emulation.

Signed-off-by: lesterwm <element3260@gmail.com>
First attempt at TEV unit emulation using dynamically generated HLSL (which is a function of the Material). It looks to be generating valid HLSL, but we don't yet attempt to compile the string.

Signed-off-by: lesterwm <element3260@gmail.com>