1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Sergey Lipskiy
0f99077724 Log SWRS commands 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
e56e45e2da Command 05 - 02 WIP debug 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
02e84b90f2 Command 05 - 02 WIP 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
f0bbfbc84e Add F3DSWRS_SetOtherMode_L_EX command 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
089dd2df0e Fix fog for F3DSWRS 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
a0c2b39a65 Fix texture scale load.
Explanation from olivieryuyu:

1. I do believe that RS ucode has no lighting as I cannot see any code for it! I guess that it was done on the purpose to save power for other matters.

2. G_TEXTURE (command BB) does not set the texture s and t scale. Command BB is composed of two 32 bits words (as for FAST3D) but RS ucode does not use the 2nd 32 bits word. This latter seems to be always nil and should be considered as padding.

3. Movemen (command 0x03) case 82 does not concern light (because there is no light!!!). Actually this case of movemen seems to set the texture s and t scale which is then retrieved by the B4 command and combined with the texture coordinates.
2017-08-11 12:23:39 +07:00
Sergey Lipskiy
a9248c5a26 Port of Lemmy's implementation of SWRS ucode. 2017-08-11 12:23:39 +07:00