Runtime texture loader implementation
elect-gombe opened this issue · 1 comments
elect-gombe commented
Part of #4
Implement texture loader.
Considering image file format
- bmp (without alpha channel, transparent color?)
- png (Complessed)
- without alpha channel
- with alpha channel and implement alpha test.
Alpha channel support needs implementation of png or bmp with transparent color, and alpha test for no conflict with other polygons.
Algorithm
- Test z value, whether the pixel is beyond this model?
- Test texture alpha channel whether if it is transparent or not?
- then, write back the z value.
elect-gombe commented
solved. it was bit field problem.