Skip to content

Add PNG texture support for radiosity.#5

Open
Slipyx wants to merge 1 commit intozzsort:masterfrom
Slipyx:master
Open

Add PNG texture support for radiosity.#5
Slipyx wants to merge 1 commit intozzsort:masterfrom
Slipyx:master

Conversation

@Slipyx
Copy link

@Slipyx Slipyx commented Mar 16, 2021

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.

…oved the RGBA average reflectivity calculation code from TryLoadTGA to its own function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant