I need this one to be disassembled too (really does nothing, typical passthru shader):
0x00000000,0x0020001B,0x0836106C,0x2F100FF8,
0x00000000,0x0020001B,0x0836106C,0x2F100FF8,
0x00000000,0x0420061B,0x083613FC,0x5011F818,
0x00000000,0x002008FF,0x0836106C,0x2070F828,
0x00000000,0x0240081B,0x1436186C,0x2F20F824,
0x00000000,0x0060201B,0x2436106C,0x3070F800,
0x00000000,0x00200200,0x0836106C,0x2070F830,
0x00000000,0x00200E1B,0x0836106C,0x2070F838,
0x00000000,0x0020101B,0x0836106C,0x2070F840,
0x00000000,0x0020121B,0x0836106C,0x2070F848,
0x00000000,0x0020141B,0x0836106C,0x2070F850,
0x00000000,0x0020161B,0x0836106C,0x2070F858,
0x00000000,0x0020181B,0x0836106C,0x2070F861
This other one is optional, like first one :
0x00000000,0x022000AA,0x0836086C,0x201FF828,
0x00000000,0x0020081B,0x0836106C,0x2070F820,
0x00000000,0x0420061B,0x083613FC,0x5011F818,
0x00000000,0x00200E1B,0x0836106C,0x2070F838,
0x00000000,0x0240021B,0x14361800,0x2F20F834,
0x00000000,0x0060201B,0x2436106C,0x3070F800,
0x00000000,0x0020101B,0x0836106C,0x2070F840,
0x00000000,0x0020121B,0x0836106C,0x2070F848,
0x00000000,0x0020141B,0x0836106C,0x2070F850,
0x00000000,0x0020161B,0x0836106C,0x2070F858,
0x00000000,0x0020181B,0x0836106C,0x2070F861
In the order the 3 passthru shaders appear in this thread, beside the passthru role, they involve :
1) Fog and W usage
2) Speculars (I need this one disassembled, I'm testing triangles drawing with it at the moment!)
3) Fog and no W usage
I'm testing second one and focusing on it at the moment.
Since I'm not planning on using speculars (shaped spotlights) for now, I rather like understanding it and shrinking it to the only purpose I need for pbKit (just passthru).
Also I'm almost sure there might be legal issues in just copying/pasting other people shaders code into one's source.
I'm pretty sure it's not so hard to discover how xbox1 shaders are encoded. I can't think about a completely different encoding compared to other NVidia chips... I heard NVidia chips NV2A is a good target.
This post has been edited by openxdkman: Jan 17 2007, 01:43 PM