nolibgs_hello_worlds/hello_cubetex_stp/README.md

19 lines
801 B
Markdown
Raw Normal View History

2021-07-25 17:37:33 +02:00
![Hello_stp](https://wiki.arthus.net/assets/hello_cubetex_stp.png)
# 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 [here](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.
## 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