mirror of
https://github.com/open-goal/jak-project
synced 2026-08-07 10:16:45 -04:00
[jak2] Disable envmap hack if warp effect is enabled (#2511)
This commit is contained in:
@@ -1202,8 +1202,14 @@
|
||||
(set! (-> pp clock) (-> sv-16 clock))
|
||||
|
||||
;; draw!
|
||||
(if (or (= lod-idx (-> dc cur-lod)) (logtest? (-> dc status) (draw-control-status lod-set)))
|
||||
(foreground-draw dc dma-buf dist-w)
|
||||
;; PC port note : we ALWAYS disable the envmap hack when a process-drawable has warp effect enabled
|
||||
(when (or (= lod-idx (-> dc cur-lod)) (logtest? (-> dc status) (draw-control-status lod-set)))
|
||||
(protect ((-> *pc-settings* force-envmap?))
|
||||
(dotimes (eff-i (-> dc mgeo header effect-count))
|
||||
(if (logtest? (effect-bits cross-fade) (-> dc mgeo effect eff-i effect-bits))
|
||||
(false! (-> *pc-settings* force-envmap?))))
|
||||
(foreground-draw dc dma-buf dist-w)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user