![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
04-14-11, 07:52 AM
|
#29 | ||
|
Pacific Aces Dev Team
![]() |
Quote:
In my widescreen dll I have hooked the DirectX function CreatePixelShader() and then dissassembled the buffer with the actual pixelshader code and dump it in a text file. Now I have every hardcoded pixel shader of SH3 as asm shader source code in separate files. Unbelievable but SH3 uses only 5 pixel shaders 1 = shadow shader 2 = water reflection shader 3 = water shader 4 = terrain shader 5 = ?????? in comparison SH4 approx 200 Quote:
Code:
ps.1.1 tex t0 mov r0, t0 ![]() This is just a proof of concept to change the pixel shaders in SH3 from external files such in SH4/5. It needs allot more work, ...extend to shader version 2.0, make use of more texture registers, storing own textures in the registers and so on... |
||
|
|
| Thread Tools | |
| Display Modes | |
|
|
