Apparently the PVR has a register which sets the alpha value threshold used for the PT list, but I can't see any mention of that anywhere in KOS.
How do I go about setting that value?
How do I set PT_ALPHA_REF?
-
- Insane DCEmu
- Posts: 145
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Tue May 02, 2017 3:11 pm
- Has thanked: 3 times
- Been thanked: 34 times
- BlueCrab
- The Crabby Overlord
- Posts: 5652
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Re: How do I set PT_ALPHA_REF?
Based on what I see in the reicast source code, that would be register 0x011c in the PVR's register space, so you'd use something like this:
As for what the values mean, my best guess from the reicast source is that the lower 8 bits of it are the value you want to set to whatever you want as the threshold.
Code: Select all
PVR_SET(0x011c, value);