fixed lighting in shader for gpu example
This commit is contained in:
parent
dcd1ccf939
commit
fa41041abf
@ -37,7 +37,7 @@
|
|||||||
; result.color = crappy lighting
|
; result.color = crappy lighting
|
||||||
dp3 r0, c8, v2 (0x4)
|
dp3 r0, c8, v2 (0x4)
|
||||||
max r0, c20, r0 (0x9)
|
max r0, c20, r0 (0x9)
|
||||||
mul r0, c9, r0 (0x8)
|
mul r0, c9, r0 (0x4)
|
||||||
add o1, c9, r0 (0x4)
|
add o1, c9, r0 (0x4)
|
||||||
mov o1, c20 (0x3)
|
mov o1, c20 (0x3)
|
||||||
nop
|
nop
|
||||||
|
Loading…
Reference in New Issue
Block a user