; Pixel shader - palette lookup simulation ; Written by Richard (not those funny Brighton people) xps.1.1 def c0, 1.0f, 1.0f, 1.0f, 1.0f tex t0 texreg2gb t1, t0 mul r0.rgb, t1, v0 + mov r0.a, c0