1.0 KiB
STP : Semi-Transparency usage
This example shows the effect of activating Semi-Transparency on a textured primitive.
Use the SELECT
button to switch primitive semi-transparency on and off.
Use the START
button to cycle throught the 4 transparency rates.
It also features a few C struct to facilitate access to the TIM file / pixel data.
See https://github.com/ABelliqueux/nolibgs_hello_worlds/tree/main/hello_poly_stp for more information on how to convert your images to TIM while preserving transparency.
See https://github.com/ABelliqueux/nolibgs_hello_worlds/wiki/TIM#transparency for mor details on transparency.
Documentation
http://psx.arthus.net/sdk/Psy-Q/DOCS/LibOver47.pdf, p.107
http://psx.arthus.net/sdk/Psy-Q/DOCS/FileFormat47.pdf, p.181
http://psx.arthus.net/sdk/Psy-Q/DOCS/LibRef47.pdf, p.306, 345, 365