Friday, October 12, 2007

Texture Layering Bug



When using multiple texture layers, like the example above which has a shadow in shader.textureList[2], modifications to the scene can cause the model to flash.

The fix, shown at right, is to avoid texture layer #1. For example, use layers 2 and 3 instead, by starting off by moving texture layer 1 to layer 2.

Don't know why this works, but it does.

No comments: