| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 6 months |
| seen | Nov 24 '12 at 17:25 | |
| stats | profile views | 0 |
|
Nov 23 |
awarded | Teacher |
|
Nov 22 |
comment |
HLSL Pixel Shader that does palette swap pastebin.com/TBWvjrqE Ok, I have created a 4x1 png and inserted 4 different coloured pixels. I have changed index from 0 to 3 (or any value for that fact) but it always display the colour of the first pixel. If i change index with the var coords in the tex1D method, and move my sprite, it cycles through the colours when I move, but displays the colour of the first pixel when stationary. Do you have any idea why this is happening? |
|
Nov 22 |
answered | HLSL Pixel Shader that does palette swap |