Quote:

If it is, I assume it is not possible to adapt this shader to ps 1.3 so geforce 4ti users like me could use it?

Anyway, looks nice. I appreciate your contribution very much!




It is possible...

To convert to ps.1.3... The first thing to do is pass the base_map thru the vertexshader with it's own TEXCOORD (for example, TexCoord1).
Then in the pixelshader you will need to sample it using the TexCoord that you output it as from the vertexshader.

The texture reads in ps.1.3 (and below?) need seperate Texcoords.

I was able to make those changes and compile it for 1.3 and get the same effect as compiled for ps 1.4.

Also, I was successful on converting it to ASM, both the vertex and pixelshader, which can help troubleshooting a little.