nolibgs_hello_worlds/hello_cubetex_stp/README.md
2021-10-29 14:57:33 +02:00

21 lines
1.0 KiB
Markdown

![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 [https://github.com/ABelliqueux/nolibgs_hello_worlds/tree/main/hello_poly_stp](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](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