mirror of
https://github.com/aap/librw.git
synced 2026-01-30 15:02:59 +00:00
Implemented transforming of normals on PS2.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.data
|
||||
.global MyDmaPacket
|
||||
.global vuLightMat
|
||||
.global vuMat
|
||||
.global vuOffset
|
||||
.global vuGIFtag
|
||||
@@ -20,6 +21,11 @@ DMAcall *, 0 ;vuProg
|
||||
|
||||
DMAcnt *
|
||||
UNPACK 4, 4, V4_32, 0x3d0, *
|
||||
vuLightMat:
|
||||
.float 1.0, 0.0, 0.0, 0.0
|
||||
.float 0.0, 1.0, 0.0, 0.0
|
||||
.float 0.0, 0.0, 1.0, 0.0
|
||||
.float 0.0, 0.0, 0.0, 1.0
|
||||
lightDir:
|
||||
.float 0.5, -0.5, -0.70710, 0.0
|
||||
.EndUnpack
|
||||
|
||||
Reference in New Issue
Block a user