Yes, I have more problems. We already knew that.
Today's problem: I'm working with textures that are shifted along the x/y axis.
Here's an example of some of it that works:
setshader bumpspecmapworld
setshaderparam "specscale" 4 4 4
texture 0 "philipk/pk01_pan_wall02a1_d.jpg" 1
texture n "philipk/pk01_pan_wall02a_local.jpg" 1
texture s "philipk/pk01_pan_wall02a_s.jpg" 1
texture 0 "philipk/pk01_pan_wall02a1_d.jpg" 1 64
texture n "philipk/pk01_pan_wall02a_local.jpg" 1 64
texture s "philipk/pk01_pan_wall02a_s.jpg" 1 64
Here, the 256x128 texture was flipped to be 128x256, and then shifted 64 pixels on the x-axis.
So in theory, I know what I'm doing. However, I screwed up here, inexplicably:
setshader bumpspecmapparallaxglowworld
setshaderparam "specscale" 4 4 4
texture 0 lunaran/light_fifty1_d.jpg 0 0 64
texture n lunaran/light_fifty1_local.jpg 0 0 64
texture s lunaran/light_fifty1_s.jpg 0 0 64
texture g lunaran/light_fifty1_g.jpg 0 0 64
texture z lunaran/light_fifty1_h.jpg 0 0 64
This is a 64x128 texture that was NOT flipped, and is therefore shifted on the y-axis.
Any thoughts?