zzsort / blarghrad

ArghRad decompiled source
10 stars 3 forks source link

Add PNG texture support for radiosity. #5

Open Slipyx opened 3 years ago

Slipyx commented 3 years ago

Added LoadPNG using cute_png.h for reading the rgba data. The TryLoadPNG was basically a duplicated TryLoadTGA, so I moved the avg reflectivity calculation parts to its own function so it could be shared between the two now.