You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The eyes on jak are using the wrong textures for drawing the pupil/iris, even after merc texture uploads are enabled.
In renderdoc, it's grabbing this weird rainbow thing instead of the iris texture:
The iris texture tbp is 179, which is also shared by hud-npcring-bar-01.
I printed out the sequence of texture uploads to 179, and eye rendering:
flush uploads for [ 4] tex-lcom-sky-pre
doing eye for [340] tex-lcom-tfrag
pupil background tex: 179, level-default-minimap/hud-npcring-bar-01
eye done
doing eye for [340] tex-lcom-tfrag
pupil background tex: 4578, common/autoeye-iris
eye done
flush uploads for [351] tex-l0-pris
flush uploads for [401] tex-lcom-pris
uploading tex 179: level-default-pris/bam-iris-16x16 bucket
flush uploads for [461] tex-lcom-sky-post
flush uploads for [563] tex-lcom-water
flush uploads for [568] tex-sprite
flush uploads for [575] tex-warp
flush uploads for [578] tex-hud-hud-alpha
uploading tex 179: level-default-minimap/hud-npcring-bar-01 bucket
I think there are two possible issues:
the eye drawing is done in the wrong bucket. Usually, you'd expect to do the eye drawing in the same bucket as the eye texture uploads.
it makes sense to do eye textures and drawing in 401 tex-lcom-pris, but the game does the drawing in tex-lcom-tfrag instead.
the eye drawing is actually done like this, possibly some bug in the original game, and the upload to tbp 179 in bucket 340 shouldn't happen.
there's a few places where the PC port uploads more textures than the original game did. This should be a safe thing to do, unless
there was a bug and they just got lucky.
The text was updated successfully, but these errors were encountered:
Evidence for the first one: setting (set! (-> *target* draw default-texture-page) 1) makes sense (it says that target uses the pris tpage), and makes the eyes work. Maybe defualt-texture-page is not being set correctly.
The eyes on jak are using the wrong textures for drawing the pupil/iris, even after merc texture uploads are enabled.
In renderdoc, it's grabbing this weird rainbow thing instead of the iris texture:
![image](https://private-user-images.githubusercontent.com/48171810/320294358-dadac6a4-d6e3-4397-8534-d1b101bfbee6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNDA0MDIsIm5iZiI6MTcxODA0MDEwMiwicGF0aCI6Ii80ODE3MTgxMC8zMjAyOTQzNTgtZGFkYWM2YTQtZDZlMy00Mzk3LTg1MzQtZDFiMTAxYmZiZWU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE3MjE0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwOWFjNWFlZGM0ZTUzYWMxNTEwMzE0NGZmNzFiNjZmZGRiYjlhMjA0ZDVlZTgxNWRjZjc1MmU0NTZhMGM3NDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ncnjUE7rnRYNYLqM6kh8VQ7LZiiSfvXoBrVifVboJDI)
The iris texture tbp is 179, which is also shared by
hud-npcring-bar-01
.I printed out the sequence of texture uploads to 179, and eye rendering:
I think there are two possible issues:
it makes sense to do eye textures and drawing in
401 tex-lcom-pris
, but the game does the drawing intex-lcom-tfrag
instead.there's a few places where the PC port uploads more textures than the original game did. This should be a safe thing to do, unless
there was a bug and they just got lucky.
The text was updated successfully, but these errors were encountered: